BackendPro User Guide Version 0.6.1


Upgrading from 0.3.1 to 0.4

Before you start the upgrade process please take a full backup of both your website files and also your database. Please also take your site offline by replacing the index.php file with a static one.

Step 1: Update Files

Replace the files in the following folders with the newly downloaded versions.

Note: If you have any custom developed files in these folders please make copies of them first. This may include customer user authentication and custom website preference forms.

Step 2: Update your Database

To get 0.4 working with your current database we need to perform some updates, please perform them in the order listed below.

  1. Update Preference Table

    Note: You only need to do this if you are storing objects e.g arrays etc, in the preference class. Do not peform this action upon all preference values.

    Open the preference table in phpmyadmin (or similar) and view all the rows. You need to manualy edit any row which contains a value storing a serialized object and preppend BeP::Object:: to the value. A serialized object will look something like the following:

    a:2:{i:0;s:1:"1";i:1;s:3654:"asdasd3hj23432gyhdsady87ayda";}

    Should be turned into:

    BeP::Object::a:2:{i:0;s:1:"1";i:1;s:3654:"1a1dc91c907325c69271ddf0c944bc72";}

Step 3: File System Changes

In this upgrade there are several files which are now redundant, this is either becasue their location has changed or they have been replaced. If you have made changes in either of these files you will need to transfer them over to the new ones, files which have moved or been replace are listed below:

Step 4: Update your user guide

Please replace your local copy of the user guide with the new version, including the image files.