How reinstall Prestashop 1.7 keeping the existing database
Download the latest version of Prestahop 1.7 from the offical versions website > https://prestashop.com/versions/.
Follow the manual installtion steps:
- Download the prestashop package.
- Unzip on the local HDD.
- On the server, move the files in public_html folder to another folder as a backup.
- Upload the prestahop.zip file to the public_html folder.
- Unzip the contents here.
- Now visit your site, www.example.com.
- The installer will start, add basic information.
- On the Database setup page, provide the name of the existing database, username and password.
- It is important to Untick the "Remove exiting tables".
- In the table name prefix field provide a prefix different form the existing one.
- Let the installation proceed as normal, it will create a set of empty tables with the new prefix in the database.
- In the cPanel File Manager, look for the file 'parameters.php' located in the app/config folder.
- Change the value for 'database_prefix' value to the old database prefix.
- Delete the 'install' folder for security reasons.
The fresh Prestashop installtion should now point to the old tables. Optionally, the tables with the new prefix can be deleted.
Comments
Post a Comment