This section provides information for upgrading an existing WebsiteBaker 2.7 installation.
Before upgrading to WebsiteBaker 2.8.1, it is highly recommended to create a backup of the /pages and /templates folder (including all sub-folders and files) by the use of FTP. Apart from that you should create a backup of the entire WebsiteBaker database (e.g. via the WebsiteBaker-Backup module, phpMyAdmin, or MySQLDumper).
Note: It is not recommended to upgrade without a backup in place. The backup allows to restore your previous WebsiteBaker installation in the case something goes wrong during the upgrade process.
- Please make a backup of the frontend.css in modules/news and modules/form dir.
- As the settings of the news modul are changed to use language variables now, the news modul settings in the database gets overwritten by the upgrade script. Only if you have made changes in these settings you also should make a backup (f.e. storing settings in a text file) of your news modul settings.
Note: Please do the following steps before you upload the WB 2.8.1 files
As codepress gets replaced with editarea the whole codepress code isn't needed anymore. So please delete the whole include/codepress folder.
The place for reloading addons is moved from admin-tools to add-ons page. So the admin-tool Reload isn't needed anymore. Please delete the whole folder /modules/reload.
We changed in all folders and subfolders of FCKEditor the files which prevents directory spoofing from index.html to index.php. All index.html files (50) should be deleted. The easiest way is to delete the whole /modules/fckeditor/fckeditor folder with all subfolders.
Note: Please don't delete ../fckeditor/wb_config/wb_fckeditorarea.css and ../fckeditor/wb_config/wb_fckstyles.xml if you have made personally adaptions in these files.
One of the major changes of WebsiteBaker 2.8 is introducing skinable admin interfaces.This means the whole admin dir is rewritten. So best is to delete the whole /admin folder.
We introduce new better to read captchas. To get rid of the old ones please delete:
- bg_01a.png from /include/captcha/backgrounds
- bg_02a.png from /include/captcha/backgrounds
- bg_03a.png from /include/captcha/backgrounds
- bg_04a.png from /include/captcha/backgrounds
Unpack the WebsiteBaker 2.8.1 installation package on your local computer. Please make sure you have followed all the steps listed in the section Prerequisites above (including backups).
The following Files/folders should always be deleted from the package:
The following files from the package should be renamed if you have made personally adaptions on these files:
Note: If your are using one of the four default WebsiteBaker templates, you should remove this also from the package, otherwise your changes get's overwritten.
Copy now all files via FTP to your server (simply overwrite the files of your existing WebsiteBaker installation).
Then delete the browser cache and cookies. Once you cleared cache and cookies, call the upgrade script from your browser via: http://www.domain.com/upgrade-script.php and follow the steps mentioned in the script.
Delete the upgrade-script.php via FTP from your server.
- Check if news and form modul looks well formed in the frontend. If not incoporate the new classes from frontend_org.css to your frontend.css and style them to your needs.
- Also habe a look at the settings of the news modul. Incorporate your changes from your backup-file to the settings of the news modul.
If any of your modules uses images from admin/images dir (mostly move_up and move_down arrows or edit_files icons) you have to change the path to use now the images from your backend theme. Basically you have to change:
<?php echo ADMIN_URL; ?>/images/... to <?php echo THEME_URL; ?>/images/... btw. ADMIN_URL.'/images/... to THEME_URL.'/images/..
Once you have adapted all your modules the /admin/images folder can be deleted.
A direct update from 2.6.x to 2.8.1 is not possible. Please download first the necessary older versions from the archive (2.6.x > 2.6.7 > 2.7 > 2.8.1) and make an update like written there. After that update as described here.