Deutsche Version English Version
Replacement Tags
Content Parts
Links
Imprint
 


Latest Final Version:

phpwcms 1.3.0
RELEASED: 07.03.2007

more...



the docu chat
the docu chat
ADS

 
 

English > Installation & Upgrade > Update 1.2.x > 1.x.x


Update Version 1.2.x

Before you start with the update make a backup of all your files and of your database.

How to backup a database?

Database Backup

1. Preparations

After you have made a backup of all your files as well as downloaded and unpacked the actual developer version (DEV), please edit first the file conf.inc.php. This file conf.inc.php is from now on in the following folder: config/phpwcms/.
Please edit the file conf.inc.php, so that the settings comply with the settings of the old version.

Furthermore you have to adapt the following files:

1. /config/phpwcms/conf.template_default.inc.php
2. /phpwcms_template/inc_css/frontend.css

These are the files that will be changed very often. If you have made further changes in other files, please adapt these files too.

2. File Upload

Now you have to upload the adapted developer version with an ftp program and overwrite the existing version.

3. Placing of file and folder rights

Place the file and folder rights with the ftp program to assure the correct execution of all phpWCMS functions.

Folder   phpwcms_ftp   777
Folder   phpwcms_filestorage   777
Folder   content   777
Folder   content/images   777
Folder   content/gt   777
Folder   content/form   777
Folder   content/rss   777
Folder   content/tmp   777
Folder   content/pages   777
         
File   phpwcms_template/inc_css/frontend.css   666
File   config/phpwcms/conf.indexpage.inc.php   666
File   phpwcms_template/inc_default/startup.php   666

4. Update of the Database

upgrade_1_2_1_a.png

Now you get to the intrinsic update process. For this you have to call the upgrade.php. This file is in the setup folder of your phpWCMS installation. (http://www.your_domain.com/setup/upgrade.php oder http://www.your_domain.com/subfolder/setup/upgrade.php)

When having called the file upgrade.php, you will see the following overview (see left picture): In the left area above you will see the following fields:

db host: Your database host (mostly localhost)

db name: Your database name 

db user: The database user 

db prepend:

select sql file: Here you choose the SQL file that will actualize phpWCMS.

 


5. Execute SQL-Update

upgrade_1_2_1_aa.png

Please klick the drop down field "select sql file".

You will see the following choices:

00__phpwcms_update_older.sql
01__phpwcms_1.1-RC4_22-04-2004.sql
02__phpwcms_1.1-RC4_31-05-2004.sql
03__phpwcms_1.1-RC4_08-06-2004.sql
04__phpwcms_1.1-RC4_13-08-004.sql
05__phpwcms_1.1-RC4_25-08-004.sql
06__phpwcms_1.1-RC4_15-10-004.sql
07__1.1.5-DEV_to_1.1.9-DEV.sql
07__27-08-2004_to_1.1.9-DEV.sql
08__1.1.9-DEV_to_1.2-DEV.sql 
09__1.2.1-DEV_to_1.2.2-DEV.sql
10__1.2.2-DEV_to_1.2.3-DEV.sql
11__1.2.3-DEV_to_1.2.4-DEV.sql
12__1.2.4-DEV_to_1.2.5-DEV.sql

Please choose from this list the first date after the release that you have installed.


When you have installed a version that is older than the date specification in the SQL files, please begin with the file "phpwcms_update_older.sql".

upgrade_1_2_1_3.png

Now you will see in the textarea what entries will be made in the database. Press the "Upgrade" button to accept the alterations.

upgrade_1_2_1_4.png

After executing the database actualisation, you can see here an overview of all the taken changes.

To execute further actualisations simply click Choose another SQL file. Then you arrive back at the start point of the upgrade function. From there you can import further updates as already described before.

upgrade_1_2_1_5.png
In case of getting this errer message, either you have an actual version that does not need an update or you have chosen a wrong SQL file.

Please click again "Choose another SQL file" to select the next update - if possible.

IMPORTANT!

Please do not forget to delete or rename the setup folder. If you don't do this you have a massive security risk!

Article created: 2005/08/11 Last Changes: 2005/09/06
 
In case you find any mistakes or have enhancments, please use this form .

Have you found this website a helpful resource in understanding the Phpwcms content management system? If so, would you consider making a donation? Please click here: PayPal. We welcome any donation amount. Your contribution helps make this website an even better resource and helps underwrite the associated server expenses of accomodating a growing number of visitors.
This page use the version: