Upgrade

You are here: Basic Docu > Installation > Upgrade

Upgrading from 2.6.7 to 2.7

The upgrade from an existing WB 2.6.7 installation to Website Baker 2.7 is explained in detail on the WB 2.7 overview site.

First of all, you need to

Upgrading from 2.6.x to 2.6.7

First of all, you need to download the full zip folder containing Website Baker 2.6.7. You then need to unzip it to a folder and make sure that you delete the "install/" folder and the "config.php" file.

Before you continue you should first backup your existing Website Baker site. This is best done by downloading your entire Website Baker with your FTP client of choice and then downloading all of the files (for example everything that you know to exist at "http://www.yourdomain.com/yourwbsite") to your local computer.

Next you should upload all of the new files from the folder you created with the new Website Baker installation you downloaded and unzipped previously. Ensure that you have deleted the "config.php" file and the "install/" folder before performing this step!

Here you can find a description of the best way to upload securely and without fuss.

 All old files must be overwritten with the new files for this step to work properly.

Upgrade from 2.5.x to 2.6.y

There is no easy way to upgrade from Website Baker 2.5.2 to 2.6.y. Unfortunatelly the upgrade script upgrade.php included in the installation package of Website Baker is not bulletproof in any case. Instead of executing the upgrade script, one should follow the manual procedure explained below. It is recommended to try the entire upgrade process on a test environment (like XAMPP) to ensure that you have understood all required steps.

  1. backup all WB files (don´t miss config.php) and the entire WB database
  2. set all language settings in the WB options back to "default EN" (remember all pages, user options, templates)
  3. clear browser cache and cookies; then close your browser
  4. change the permission of config.php to 777 (chmod is your friend)
  5. upload all installation files via FTP (except the /install folder and the config.php file) to your old WB installation (replaces old files with latest ones). Ensure that all files were uploaded correct.
  6. copy the upgrad.php script into the folder which contains the config.php file
  7. invoke the upgrade.php script via your browser
  8. delete the upgrade.php via FTP
  9. change the permission of the config.php file (755 should work)
  10. download the latest language file and install it via the WB backend
  11. change the language according your needs

Check if your webside works as expected. If you have installed modules, check if a newer version was released on the Addons Repository. Installt the module via the WB backend: Add-ons -> Modules. The modules are upgradet automatically.

Possible problems:

If you use old language files or you have not deleted the cache and cookies, the upgrade/installation process may fail. In this case, the config.php is not valid any more and the WB database table settings is empty.

If you use the advanced news and/or form module, remember not to overwritte this files with the WB corefiles. If the advanced news/form module have been overwritten accidentally, you need to upload the advanced news/forum module files from the Addons Repository again.

Which upgrade script works?

There is no upgrade scripts, which works in any case. It is recommended to use the following upgrade script and not the ones contained in the WB installation package or published on the forum.

Upgrade from versions prior to 2.5.1 to 2.6.y

First download WB 2.5.2 from the official Website Baker project page and follow the instructions to upgrade your version to 2.5.2. Then follow the steps Upgrade from 2.5.x to 2.6.y.