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: 
  1. Download the prestashop package. 
  2. Unzip on the local HDD. 
  3. On the server, move the files in public_html folder to another folder as a backup. 
  4. Upload the prestahop.zip file to the public_html folder. 
  5. Unzip the contents here. 
  6. Now visit your site, www.example.com. 
  7. The installer will start, add basic information. 
  8. On the Database setup page, provide the name of the existing database, username and password. 
  9. It is important to Untick the "Remove exiting tables". 
  10. In the table name prefix field provide a prefix different form the existing one. 
  11. Let the installation proceed as normal, it will create a set of empty tables with the new prefix in the database. 
  12. In the cPanel File Manager, look for the file 'parameters.php' located in the app/config folder. 
  13. Change the value for 'database_prefix' value to the old database prefix. 
  14. 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

Popular posts from this blog

How to Convert an ImageIcon to a Base64 encoded String in Java

How to install a network Star TSP700II installed on Windows XP in Windows 10

Problems when generating and uploading JSON from CSV for GSTR1