Location: PHPKode > projects > Esvon Personals > esvon-personals/upgrades/readme.txt
LIMITED LIABILITY

WE WILL NOT BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY LOST 
PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES 
ARISING FROM THE USE OR THE INABILITY TO USE ESVON CLASSIFIEDS OR 
FOR ANY CLAIM BY ANY OTHER PARTY INCLUDING NEGLIGENCE.

 The upgrade process for software of this level is not always smooth.
If you perform the upgrade yourself you do it on your own risk,
so please do it only if you understand completely what you are doing.

 You can contact us at hide@address.com and request upgrade work quote
if your prefer the upgrade to be done in the most professional way.

 If you have customized your previous version, you may need to 
re-implement these customizations from scratch.

-------------------------------------------------------------------

 If you perform a major upgrade, for example from version 3.x to 4.x,
here are the recommended upgrade steps to avoid having a long downtime :

1. Upload new version of Esvon Classifieds into a separate directory on 
the same server as the existing install (in BINARY mode).

2. This step is required ONLY if your current version doesn't have 
"Manage Fieldsets" menu item in Admin Area (implemented since 3.0.792).
Copy the following files from the older to the newer install :

tpl/fields.txt
tpl/config_sel.txt
tpl/ufields.txt

In tpl/db_fields/ (older install) you may have several dirs under which 
you will find fields.txt and sometimes config_sel.txt files.

You have to copy these *.txt files as well into the new install creating
absent dirs in tpl/db_fields/ if necessary.

3. Follow file system permissions setup instructions
(see docs/readme.txt, step 3 of "Installation Instructions").

At this point you are ready to create new version install for testing 
purposes. It will allow you to customize templates and other things before 
final data import/conversion.

4. Duplicate your current database (used by the older version) to keep 
your existing website working as it should.

5. Update inc/application.php file of the new install to use duplicated DB,
i.e. specify database connection parameters and tables prefix.

6. Run DB upgrade scripts to the duplicated database ( see /upgrades/ dir ).
Note: these scripts have incorrect reference to inc/application.php file 
on purpose. This is done to protect your website database from potential 
upgrade script executors in case you will leave /upgrades/ folder at the server.
To run upgradeXXX-XXX.php script, copy it into website's main directory, 
run it from your browser and delete it.

7. Re-customize your new install (templates, custom programming, etc), 
this can take some time.
You can proceed further if you're sure everything works as expected and 
you're ready for the final data import.

8. Disable live website temporary (older version) to avoid DB updates 
and new files uploading.

9. Delete duplicated DB and repeat steps 2 and 4-6, then go to 10.

10. Copy /files/ directory from old install to the new install.
    If tpl/data/ directory exists, copy it to the new install as well.
11. Make sure new install is working without problems and behaves as expected,
it would be good idea to verify all Admin Area settings at this step 
(at least "Application Setup" section).
12. Replace old website version with the upgraded version
(by directories renaming or files moving).
13. Delete old database after you'll be sure the new version runs ok.

-------------------------------------------------------------------

 If you perform a minor upgrade within 4.x version, for example from version 
4.0.1 to 4.0.5, it is much simpler :

1. Go to /upgrades/v4_to_v4_xx dir, where v4_xx corresponds to the latest 
software version.

*.txt files in this dir contain list of updated files which should be replaced 
and *.php files are database upgrade scripts.

2. Run the necessary DB upgrade scripts.
To run upgradeXXX-XXX.php script, copy it into website's main directory, 
run it from your browser and delete it.

3. Replace the files present in updated files list(s) with the ones from 
the newer version.

Return current item: Esvon Personals