Content Management System
MDPro Open Source Australia
Aug 20, 2008



CMpro Module Installation
ATTENTION, PLEASE!
- Automatic upgrade from Subjects module is possible only from release 2.02 (present in distribution 1.07 of MDPro).
- That upgrade does preserve categories and reviews in their respective database tables, but they are no longer taken into consideration by the new module.
- Automatic upgrade has not been tested with Oracle databases.
- Please read upgrade procedure carefully.
First installation
- Unzip compressed file in the main directory of your site. All the files will be stored into modules directory, with exception of includes/search/cmpro.php.
- Enter "Administration - Modules" and click on "Regenerate".
- Locate CMpro and click on "Initialize” and then "Activate".
- In UNIX (and other 'Nix systems), verify that directory /upload/cmp (or other directory used to store static files) has write and execute permission by the user that runs the web server (or set all permission to everybody with chmod -R 777). If MDPro has already been installed everything is probably correctly set.
Upgrade from CMpro 1.0 or 1.1
- Backup your database and directory modules/CMpro.
- Unzip compressed file in the main directory of your site. All the files will be stored into modules directory, with exception of includes/search/cmpro.php, overwriting their previus versions.
- In "Administration - Modules" click on "Regenerate".
- Find CMpro and click on "Update" and then "Activate".
- ATTENTION: check your previous permissions, because they are completely changed (and improved).
Upgrade from Subjects 2.02
- Backup your database and directory modules/Subjects.
- Enter "Administration - Blocks" and delete all Subjects' blocks previously created.
- Unzip compressed file in the main directory of your site. All the files will be stored into modules directory, with exception of includes/search/cmpro.php
- In modules/CMpro rename file pninit.php as pninit_old.php and then rename file pninit_upgrade_subjects.php as pninit.php.
- In "Administration - Modules" click on "Regenerate".
- Find CMpro and click on "Initialize" and then "Activate".
- In modules/CMpro rename file pninit.php as pninit_upgrade_subjects.php and pninit_old.php as pninit.php.
- If you use extended admin, in "Administration - Edit admin" assign CMpro to the section you prefer (usually "Contents").
- In "Administration - Blocks" you can now create your CMpro's blocks in substitution of the previously deleted Subjects' blocks.
- In "Administration - Modules" find Subjects and click on "Deactivate"
- Delete directory modules/Subjects, but BE SHURE it doesn't contain important files; if that is the case, store them in the right new location (for example upload/cmp or upload/sub).
- In "Administration - Modules" find Subjects and click on"Remove".
- In UNIX, verify that directory upload/cmp (or other directory used to store static files as upload/sub) has write and execute permission by the user that runs the web server (or set all permission to everybody with chmod -R 777).
- In "Administration - CMpro - Module configuration" verify that "Path relative to webserver-root" is correctly set.
- Database tables containing the old Categories and Reviews (yipically md_subcategories e md_subreviews) are still present, but they will not be used anymore. You can manually delee them in the database, but BE SHURE they don't contain important informations.
