Update of ApPHP Restaurant Site
Update of ApPHP Restaurant Site
Update of ApPHP Restaurant Site is a very straight forward process:
Step 1. Backup Old Installation.
Make a full backup of your previously installed site and database before you start updating procedure.
Step 2. Saving Configuration Parameters.
Write down all data from the following files and then delete them from the previous installation:
- protected/config/db.php
- protected/config/main.php
Copy all translation files from the following directory:
- protected/messages/
Step 3. Decompressing Downloaded Archive.
Decompress the ApPHP Restaurant Site script archive. The archive will create a directory called "PHPRS_xxx", where xxx represents a number of current version (for ex.: _201 means version number 2.0.1).
Step 4. Uploading Files.
Upload all files from the new archive into the directory of your current site (this operation will replace your old files).
Step 5. Running Setup Wizard.
Now you can run setup wizard. To do this, open your Internet browser and type in Address Bar following:
http://{www.example.com}/
or
http://{www.example.com}/{restaurant site directory}/
You have to will see the setup wizard starting page. Follow the instructions on the screen. While updating process select Update option, then enter the database connection parameters and database prefix that were written in protected/config/db.php (see step 2), also enter admin username and password, that were used in your previous installation.
REMEMBER!
You must select Installation Type: UPDATE
Step 6. Updating Complete.
After successful updating you will get an appropriate message on the screen.
Step 7. Placing Back Configuration Data.
To make sure your previous accounts are working as extected, open protected/config/main.php file and change there some important configuration data from previous installation (see p.2): all 'installationKey' and 'password' parameters. Also if your previous installation used multiple languages, you have to replace all needed translation files with the saved from previous installation (see p.2).