Author Topic: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix  (Read 60875 times)

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« on: February 18, 2012, 09:46:40 AM »
WebsiteBaker 2.8.3 UPGRADE Instructions inkl. Hotfix

This file describes the upgrade from all Versions since WB 2.7 directly to WB 2.8.3 including the latest Hotfix

Step 1 is different, depending from the WB-Version you start.

Step 2 - Step 9 are the same, no matter from which WB-Version you upgrade.



*********************************************
Upgrade from WB 2.8.2SP2 to WB 2.8.3
Upgrade from WB 2.8.2SP1 to WB 2.8.3
Upgrade from WB 2.8.2 to WB 2.8.3
*********************************************
Step 1 - Preparing your existing system
- Backup your changed Files in modules and templates folder like .css, .js and .htt
- Backup your Droplets
- Delete Folder "/templates/argos_theme"
- Delete Folder "/templates/wb_theme"


*********************************************
Upgrade from WB 2.8.1 to WB 2.8.3
Upgrade from WB 2.8.0 to WB 2.8.3
*********************************************
Step 1 - Preparing your existing system
- Backup your changed Files in modules and templates folder like .css, .js and .htt
- Backup your Droplets
- Delete File "/admin/preferences/details.php"
- Delete File "/admin/preferences/email.php"
- Delete File "/admin/preferences/password.php"
- Delete Folder "/modules/backup"
- Delete Folder "/modules/droplets/js"
- Delete Folder "/templates/argos_theme"
- Delete Folder "/templates/classic_theme"
- Delete Folder "/templates/wb_theme"


*********************************************
Upgrade from WB 2.7 to WB 2.8.3
*********************************************
Step 1 - Preparing your existing system
- Backup your changed Files in modules and templates folder like .css, .js and .htt
- Backup your Droplets
- Delete File "/account/stylesheet.css"
- Delete Folder "/admin"
- Delete Folder "/include/captcha"
- Delete Folder "/include/codepress"
- Delete Folder "/modules/code"
- Delete Folder "/modules/fckeditor"
- Delete Folder "/modules/reload"
- Delete Folder "/modules/show_menu2"
- Delete Folder "/modules/wrapper"
- Delete Folder "/templates/allcss"
- Delete Folder "/templates/round"
- Delete Folder "/templates/simple"



*********************************************
Upgrade from WB 2.8.2SP2 to WB 2.8.3
Upgrade from WB 2.8.2SP1 to WB 2.8.3
Upgrade from WB 2.8.2 to WB 2.8.3
Upgrade from WB 2.8.1 to WB 2.8.3
Upgrade from WB 2.8.0 to WB 2.8.3
Upgrade from WB 2.7 to WB 2.8.3
*********************************************

Step 2 - Download WebsiteBaker
- Download "WebsiteBaker 2.8.3" from http://wiki.WebsiteBaker.org/doku.php/downloads (see WebsiteBaker    2.8.3    Feb 2012 )
- Download also the latest "Hotfix" from http://www.websitebaker2.org/en/download/latest-version.php (Admin Edit: no longer needed)
- Unzip both packages to your local machine

Step 3 - Preparing the Upgrade-Package
- copy all files from the "Hotfix" over the "WB 2.8.3 package" (Admin Edit: no longer needed)
- Delete File "config.php.new"
- Delete Folder "/install"
- Change favicon to your own

Step 4 - Upgrade the Files
- Upload all files to your Webspace
- Be shure that existing files are overwritten

Step 5 - Upgrade the Database
- if you upgrade from WB 2.8.x:
   Login as superadmin to your backend, upgrade-script starts automatically
- if the script not starts automatically and if you upgrade from WB 2.7:
   Call in your Browser www.yourdomainname. com/upgrade-script.php
- Follow the Upgrade-Instructions 

Step 6 - Cleaning
- Delete File upgrade-script.php (Admin Edit: no longer needed, if you use this instruction only as a step to upgrade to the latest WB-Version WB 2.10.x - this file is now protected by the Core )

Step 7 - Actualize Addons Table (just to be shure)
- Go to "Add-ons" - "Advanced"
- Reload "Modules", "Templates" and "Languages"

Step 8 - Activate changed Droplets
- Go to "Add-ons" - "Modules" - "Advanced"
- Execute "install.php" from Modul "Droplets"

Step 9 - Upgrade all WYSIWYG-sections to new URL-Handling
- Go to "Add-ons" - "Modules" - "Advanced"
- Execute "upgrade.php" from Modul "WYSIWYG"



Known Issues:
WYSIWYG errors after Upgrade (Fixed in Hotfix-package)
Redirection fails (Fixed in Hotfix-package)
Blank pages in settings of Modules
Wrong Design from Form in Frontend
Call to undefined function get_output_filter_s ettings() in ...
Cannot modify header information - headers already sent by ...

Have fun

Matthias


Upgrade to WebsiteBaker 2.10.x from all of the 2.8.3 versions

Important: upgrade is possible from all of the 2.8.3 versions, but not directly from versions before 2.8.3.

Important:  only the SuperAdmin (User-ID == 1) can start this Upgrade to WB 2.10.x
- Check that your webspace meets the requirements described below!
  • PHP             : 5.6 and up, PHP-7 up recommended
  • Database        : mySQL 5.6 and up
  • Webserver       : Apache
  • Diskspace       : 25MB and up

- Download WB-2.10.x from our Wiki - Downloads
- Make sure that you have a mySQL database available and obtain the access data!
- Move all to your webspace using ftp and 'overwrite all' setting.
- Switch the PHP version to 5.6 or 7.x if it's not already done.

- The upgrade-script starts automatically after logon to the Backend or manually with the link in the Backend-Startpage. You can also start it anytime via the Link in the info-window (i-button in top-menu-bar).
- Do not delete the folder "install", the files inside are needed for the upgrade-script-process.
- It's not necessary  to delete the file upgrade-script.php .
- It's recommended  from time to time to have a look into the WB-error-log. Please use the X-Button (blue or red) in your top menu bar. Copy the content into a simple text file and push the DELETE button to have an empty log-file.


(Admin Edit 02.04.2017 : Change Links in Step 2 && remove Step 6) and adding Upgrade Instructions for WB 2.10.x
thx Sky Writer for translation  (Y)
« Last Edit: April 03, 2017, 11:58:41 AM by jacobi22 »

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: WebsiteBaker 2.8.3 Upgrade Instructions
« Reply #1 on: February 18, 2012, 01:01:40 PM »
Guys, but don't forget to save your custom droplets before upgrading.

cheers
Klaus

daydreamer

  • Guest
Re: WebsiteBaker 2.8.3 Upgrade Instructions
« Reply #2 on: February 21, 2012, 12:09:36 AM »
Do most modules work with WB 2.8.3?

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: WebsiteBaker 2.8.3 Upgrade Instructions
« Reply #3 on: February 21, 2012, 08:17:10 AM »
Hello,

good coded modules yes, bad coded modules maybe not.

In most cases all modules wich work in WB 2.8.2 will also work in 2.8.3.

Matthias

Offline dbs

  • Betatester
  • **
  • Posts: 7553
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: WebsiteBaker 2.8.3 Upgrade Instructions
« Reply #4 on: February 21, 2012, 09:01:13 AM »
Good thread, should be sticky instead "update from 2.8.1 to 2.8.2".

Steps 7 - 9 seems to be very heavy for the upgrade-script. (?)
Can't understand this.

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: WebsiteBaker 2.8.3 Upgrade Instructions
« Reply #5 on: February 21, 2012, 11:01:08 AM »
Hello,

Step 7: Is in the upgrade-script but seems not to work properly in some cases when you upgrade from spezial 2.7 versions. For all 2.8.x versions it is not really needed to do but it does not hurt.

Step 8: If it would be in the upgrade all droplets are overwritten and all personally adaptions and own droplets are away. If you didn't have a backup (See Step 1) maybe your page didn't work as before. So this should be made manually.

Step 9: This only replaces the Urls in old WYSIWYG-sections. The main reason why this should be startet manually is to prevent "Header already sent ..." issues when it is called from the upgrade-script.

Matthias

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: WebsiteBaker 2.8.3 Upgrade Instructions
« Reply #6 on: February 21, 2012, 01:52:08 PM »
Stickied ... but left the old one Sticky as well.

cheers

Klaus

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
WYSIWYG errors after Upgrade
« Reply #7 on: February 27, 2012, 03:36:39 PM »
WYSIWYG errors after Upgrade

Effect:
- You cannot add pictures in WYSIWYG sections or your WYSIWYG formats are not shown

Reason:
- magic_guotes_gpc is=on

Solution:
- Replace wb/modules/wysiwyg/save.php with the attached one.

or even better

- Set magic_quotas_gpc to off (from your hoster or with .htaccess)

Have fun

Matthias

Removed Attachement. Please use the Hotfix
« Last Edit: March 18, 2012, 06:46:30 PM by ruebenwurzel »

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Redirection fails
« Reply #8 on: February 27, 2012, 03:45:00 PM »
Redirection fails

Effect:
- If a redirect is used in the path the subfolder is printed twice and redirection fails

Reason:
You have installed WB in a subfolder.The XSS-Exploit-Fix wich is included in WB 2.8.3 cannot handle this.

Solution:
- Replace /wb/framwork/initialize.php with the attached one.

Have fun

Matthias

Removed Attachement. Please use the Hotfix
« Last Edit: March 18, 2012, 06:47:06 PM by ruebenwurzel »

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Blank Pages in settings of modules
« Reply #9 on: February 27, 2012, 03:54:17 PM »
Blank pages in settings of Modules

Effect:
- If you wanna change the options or settings of a modul you got a blank page.

Reason:
- modify.php ( or all other files of the modul with a form) uses a mix of 'POST' and 'GET'. WB 2.8.3 only accepts 'POST'. All infos wich come over 'GET' are not accepted.
 
Solution:
- add the needed infos (e.g. page_id, section_id ...) as hidden fields to your form. f.e.

change:
Code: [Select]
<form ... action="modify.php?page_id={PAGE_ID}" method="post">
to:
Code: [Select]
<form ... action="modify.php" method="post">
   <input type="hidden" name="page_id" value="{PAGE_ID}" />

Have fun

Matthias
« Last Edit: March 12, 2012, 05:26:01 PM by ruebenwurzel »

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Wrong Design from Form in Frontend
« Reply #10 on: February 28, 2012, 12:53:27 PM »
Wrong Design from Form in Frontend

Effect:
- After upgrade your user layout from form in frontend is broken.

Reason:
- all classes in frontend.css of form modul are changed to avoid double-classes with other modules. Basically a "frm-" is added to the classnames
 
Solution:
- incooparate your changes from the backup of your frontend.css File from Form (see Step 1 of the Upgrade instruction) in the new frontend.css

or alternativ:
- change the classes in your backup frontend.css to the new names and use your frontend.css instead of the default frontend.css file.

Have fun

Matthias
« Last Edit: March 12, 2012, 05:16:13 PM by ruebenwurzel »

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Call to undefined function get_output_filter_settings() in ...
« Reply #11 on: March 01, 2012, 07:49:35 PM »
Call to undefined function get_output_filter_s ettings() in ...

Effect:
- Fatal error: Call to undefined function get_output_filter_s ettings() in .........

Reason:
- the OutPutFilter Functions has changed in WB 2.8.3. from "get_output_filter_s ettings" to "getOutputFilterSett ings".
 
Solution:
-change the function_calls in your Modul from:
Code: [Select]
<?php
 
... get_output_filter_settings(); ...
?>

to:
Code: [Select]
<?php
 
... getOutputFilterSettings(); ...
?>

or alternativ but only as a workaround, add the following code on top of your template index.php file.
Code: [Select]
<?php
//fix change function get_output_filter_settings() in WB282/WB283
if (!function_exists("get_output_filter_settings") ) {
function get_output_filter_settings() {
if (function_exists("getOutputFilterSettings")) {
return getOutputFilterSettings();
}
}
}
?>

Also see here: http://www.websitebaker2.org/forum/index.php/topic,23517.0.html

Have fun

Matthias
« Last Edit: March 12, 2012, 06:23:37 PM by ruebenwurzel »

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8364
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Cannot modify header information - headers already sent by
« Reply #12 on: March 12, 2012, 01:03:57 PM »
Cannot modify header information - headers already sent by

Effect:
- Some Modules produces an "headers already send ...." error message

Reason:
It is the same reason as with blank pages of Modules in Backend described here:
http://www.websitebaker2.org/forum/index.php/topic,23412.msg159092.html#msg159092

Have fun

Matthias
« Last Edit: March 12, 2012, 05:14:22 PM by ruebenwurzel »

Offline Sanscorp

  • Posts: 13
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #13 on: May 29, 2012, 11:18:10 PM »
After following the exact instruction, I get an error on all my news pages:


Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/gerdine/public_html/gh/framework/class.database.php on line 100
 
Fatal error: Call to a member function numRows() on a non-object in /home/gerdine/public_html/gh/modules/news/view.php on line 131


If I upload the backup, the news does show on the page, but I can't "read more", when clicking the text the page scrolls up.

all pages are there.

Offline Sanscorp

  • Posts: 13
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #14 on: June 10, 2012, 12:43:11 AM »
can't find a solution, is there anyone that can help me out here?

Offline dbs

  • Betatester
  • **
  • Posts: 7553
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #15 on: June 10, 2012, 08:21:52 AM »
From which version you upgrade?
Is the Hotfix included? (Revision 1638)
Be sure that all files are uploaded.
The requirements for 2.8.3 you have read?
http://www.websitebaker2.org/en/home/about/features.php

Offline Sanscorp

  • Posts: 13
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #16 on: June 10, 2012, 11:20:43 AM »
From which version you upgrade?
Is the Hotfix included? (Revision 1638)
Be sure that all files are uploaded.
The requirements for 2.8.3 you have read?
http://www.websitebaker2.org/en/home/about/features.php

Upgrading from 2.8.0 to the latest version that, by my understanding, allready includes the hotfix, tried both though.
I've followed the "upgrade" instructions on the download page and i've followed the instructions above in this topic.

all files are uploaded, done it 6 times now, getting tired of it.
2.8.0 works flawless now, after restoring a backup.

I did edit the News module, but only the settings, not database fetch lines because I don't understand them.
check www.gerdine-hoeve.nl (not the nicest site but the owner is happy, so so am I :D)

and then NL and then "nieuws" (news) and Aanbod (horses for sale) to see what I did to the layout.

Offline dbs

  • Betatester
  • **
  • Posts: 7553
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #17 on: June 10, 2012, 12:03:52 PM »
I hope some wb-users with better english appear in short time.  :-D

I understand at the moment you use again WB 2.8.0. Right?
There are some heavy errors in your template:
- link for favicon above <head>. must be in head.
- 2 x title in head
- 2 x starting <body>
- after </body> i see a div and than </html>

After upload Backup, you have also imported the old Database? Should be done.

Offline Sanscorp

  • Posts: 13
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #18 on: June 10, 2012, 12:11:28 PM »
I hope some wb-users with better english appear in short time.  :-D

I understand at the moment you use again WB 2.8.0. Right?
There are some heavy errors in your template:
- link for favicon above <head>. must be in head.
- 2 x title in head
- 2 x starting <body>
- after </body> i see a div and than </html>

After upload Backup, you have also imported the old Database? Should be done.

What's wrong with my English? I will from now on, use complete sentences...

I'm not a programmer or professional webdesigner, I did this as a favor once and now I'm stuck to maintaining it :P
I will correct the template, didn't even notice it. Do you mean the intro.php or index.php after clicking on the flag?
I think it is intro.php that is messed up..


Another explaination:
- I am currently using WB version 2.8.0
- I want to upgrade to the current latest version 2.8.3. which is available as download on the WB homepage as version 2.8.3. R1638 SP1.

- The available hotfix on that same download page revises Revision 1611 to 1638 SP1
  This is the same version as the full download so in my opinion I DON'T need the hotfix, right??

After uploading the new version, overwriting all files on the server, and running the upgrade script, everything but the News is working.

on the "news pages" I get the errors:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/gerdine/public_html/gh/framework/class.database.php on line 100
 
Fatal error: Call to a member function numRows() on a non-object in /home/gerdine/public_html/gh/modules/news/view.php on line 131



If I restore view.php from the earlier version (my backup of before the upgrade) the pages show correctly but I can't click on "read more".

This is the only problem but on this site a big one.


Now I've restored the backup (including the database) that I made before the upgrade so everything is working as it should.

correct enough?  :wink:
« Last Edit: June 10, 2012, 12:27:38 PM by Sanscorp »

Offline dbs

  • Betatester
  • **
  • Posts: 7553
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #19 on: June 10, 2012, 12:39:20 PM »
Quote
What's wrong with my English? I will from now on, use complete sentences...
Sorry, i mean MY english, not yours. So that can other wb-users better help.

WB 2.8.3 1638 SP1 is correct.
Have no idea for the news-problem at the moment.

Offline Sanscorp

  • Posts: 13
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #20 on: June 10, 2012, 02:21:00 PM »
ahhh haha okay, misunderstood it then :P sorry.

but can anyone explain the error or does anyone know a sollution?

Offline dbs

  • Betatester
  • **
  • Posts: 7553
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #21 on: June 10, 2012, 03:34:22 PM »
You have reload all modules?
Yes you have, you told that. :-)

Offline Sanscorp

  • Posts: 13
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #22 on: June 10, 2012, 03:36:35 PM »
jup I did, multiple times

Offline joop

  • Posts: 100
  • Gender: Male
  • MachineHead
    • Slopsema Design
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #23 on: June 25, 2012, 09:16:48 PM »
Hi all,

Installed version 2.8.3. SP1 with Hotfix.
Installation went fine, but no images were showing in the wysiwyg.
So, I've did the above suggestion about the .htaccess file with the code "Set magic_quotas_gpc to off".
Now my whole site is gone also the administration site is gone (blank pages).
I'm extremely worried, because the site needs to be up and running.

Anybody can give me a solution so the site can be up and running again??
Many, many thanks in advance!!!!

Greetz,
Joop
There is a fine line between fishing and just standing on the shore like an idiot!

Offline dbs

  • Betatester
  • **
  • Posts: 7553
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: WebsiteBaker 2.8.3 Upgrade Instructions inkl. Hotfix
« Reply #24 on: June 25, 2012, 09:24:47 PM »
hi, can you show us the .htaccess?

 

postern-length