Child pages
  • Updating PrestaShop

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let’s say your store is at the following URL: http://www.myshopmyprestashop.com.

  1. To test the update, you first downloaded the latest version of PrestaShop.
  2. You unzipped this version, which contained a folder called “prestashop”.
  3. You copied your customized files from your backup to this new “prestashop” folder.
  4. You modified the file config/settings.inc.php on line “PS_BASE_URI” so that it has the name of the folder on your server (should be “prestashop”).
    For instance:
    Code Block
    html
    html
    
    define('__PS_BASE_URI__', '/');
    
    ...was replaced by...
    Code Block
    html
    html
    
    define('__PS_BASE_URI__', '/prestashop/');
    
  5. You uploaded your “prestashop” folder to your FTP server, and it can be accessed at: http://www.myshopmyprestashop.com/prestashop
Tip
titleDid you follow these 5 steps?
  1. Downloaded and extracted PrestaShop
  2. Unzipping the downloaded .zip file
  3. Manual copy of the folder of step 2.B
  4. Transfer the whole directory “prestashop” onto your FTP
  5. The line PS_BASE_URI of the files config/settings.inc.php should show the name of the transferred folder FTP (should be “prestashop”)

If you answered yes to all the questions above, then proceed to step 3.

Step 3 – Starting the Update

Launching the update script

Visit your shop's URL, for instance: http://www.myprestashop.com/prestashop/install (Replace “myprestashop.com” with the actual URL of your store, and “prestashop” with the name of the folder that you have just transferred to your FTP).

That URL should show:

Image Added

  1. Select “Update“ instead of "Installation".
  2. Read the license agreement, then select the option “I agree to the above terms and conditions”.
  3. Click on the “Next” button.

If you did follow the first step of this guide concerning back-ups, you can click “I certify that I backed up my database and application files. I assume all responsibility for any data loss or damage related to this upgrade.” If you did not do the required back-ups or if you did not have a chance to verify the data’s integrity and that these backups are functional and recent, please go back to step 1 of this guide.

Image Added

Verification of all parameters before the update

The parameters of your hosting provider should show on the screen, as well as more details about the operation about to be launched.

  • max_execution_time shows the maximum time in seconds authorized by your hosting provider for the update to take place. If this number is smaller than the estimated time of installation, we recommend that you notify your hosting provider so that he can increase this limit.
  • memory_limit is the maximum memory that you’re hosting provider will set aside for you to complete the upgrade. If this value is smaller than “32M”, you should contact your hosting company to request an increase of this value.

If any of these two parameters does not meet the requirements, you are taking the risk of receiving an error message or a blank page after clicking the “Next”.

Otherwise, click the “Next” button at the bottom of the page.

If sufficient rights are assigned to your files and folders, the following page will show:

Image Added

If not, make sure that the folders are properly configured: change their permissions of the folders in red on your FTP server (CHMOD 777 or 775, depending on your hosting provider) then click the “Refresh these settings” button.
In order to perform a CHMOD, using your FTP client, find the folders that have the wrong permission settings, right-click on each of them in order to display their properties (or even better, their access rights), and tick the boxes that are not yet ticked, until a refresh of the “System and Permissions” page gives you only green folder.

Once you’re done, click “Next” at the bottom of the page, the update will start and probably last a few minutes.

Warning
Caution
Caution

You can check if the update has started in the upper right part of the screen, thanks to the progress bar. Do not leave the page; wait for the update to be completed.

Finishing the update

Once the update is finished, you should see the following screen:

Image Added

On your FTP server, inside the “prestashop” folder, you should delete:

  • The “install” folder (this subfolder contains the update tools).
  • The README files (contain information about the installation).
  • The CHANGELOG file (contains information about the latest changes in PrestaShop).

You can now access your store’s front-office at http://www.myprestashop.com/prestashop (change the URL accordingly).

Tip
titleDid you follow these 3 steps?
  1. Launched the Update tool
  2. Verified the parameters and started the update
  3. Finished the installation and removing the unneeded folders and files.

If you answered yes to all the questions above, then proceed to step 4.