OSI-Certified logo

Installation of the
Content Management module for Phprojekt.

Upgrading in Phprojekt 3.3.

Upgrading the CMS module (Phprojekt 3.3).

If you are using Phprojekt 3.3 and want to upgrade the CMS module, these directions are for you:

0) Phprojekt working.
You must have Phprojekt 3.3 installed, configured and working.

1) Get the files.
Get the files from http://www.mariovaldez.net/software/cm_4p/ (There are zip and tar.gz files available).

2) Backup your files and your database.
As a safety measure, backup your cm directory and backup the data in your database (the exact steps to backup your database depend on the brand, check the administration manual of your software).

3) Take note of any customization you have made.
If you changed the code of the CMS module, check what are your changes and apply them again in the new code. This includes changes to display.php for the syndicated newsfeeds. If your customizations are more complex, don't fall to the temptation to leave old scripts mixed with the new ones. You should review your changes and integrate your code again.

4) Delete previous CM code (preserve the CM root dir!).
You can overwrite the old files if you wish, but better is to delete the old files and directories. Be careful and don't delete the CM root directory (usually is the directory named cm/root/).

5) Unpack.
Extract the files in the phprojekt directory. That will store the files in the "cm" directory.

6) Change ownership.
If needed, change the ownership of those files to the user used by your web server (usually "nobody" in Unix/Linux).
To change the ownership in Linux/Unix, you execute in a shell terminal in the server the command chown:

chown -h -R nobody:nobody cm/

In Windows environments, using the Windows Explorer, check the Security tab of the Properties dialog of the directory, and set the permissions so that the user IUSR_servername has permissions to read and write on the CM directory.

7) Run setup.
Point your browser to to whateverphprojekturl/cm/setup.php and login. Change what you want, if unsure, leave the defaults. (Check the Configuration page for details). Then press the "Create config file" button.
NOTE: This is a required step even if you are only upgrading. Some new options are only enabled if you run the setup. Also, don't leave any field empty.

8) Update database tables.
Choose the option "Create database tables". This will create any new database table. If some tables already exist, there will be some error messages. That's ok. Check for any error in the new tables or in any UPGRADE message.

9) Test.
To test that everything is ok, point your browser to whateverphprojekturl/cm/ (or choose "Go to the Content Management module homepage") and see if the page is displayed.
If you get an empty page, read the FAQ question "All I get is a blank/empty page".

10) Test again.
To test, point your browser to the phprojekt URL.

11) You are done.
Check the new features. For a list of new features, read the version.txt file included with the CMS module.

NA fum/lmd: 2006.09.25
Copyright ©1994-2018 by Mario A. Valdez-Ramírez.
no siga este enlace / do not follow this link