PrestaShop Error Declaration of Cart::getPackageShippingCost

On a PrestaShop site, i get error message

To fix this error, edit file /var/www/vhosts/ Find line

Replace with

This is because orderide class have improper function definiation, this may be due to some outdated PrestaShop modules. See PrestaShop […]

Read More…

Nginx upstream sent too big header

Plesk Nginx

When I log in to a PrestaShop website, I get an error on a Plesk server.

On checking error login for the site in folder /var/www/vhosts/, I found the following error message proxy_error_log:2020/11/25 19:41:41 [error] 1809#0: *39664 upstream sent too big header while reading response header from upstream, client:, server:, request: “POST […]

Read More…

Enable SSL in PrestaShop 1.7

To enable SSL in PrestaShop 1.7, go to

On this page, you need to set YES for Enable SSL. After saving, you can enable “Enable SSL on all pages”. Using phpMyAdmin/MySQL You can run following SQL query to enable SSL.

See PrestaShop […]

Read More…

PrestaShop Product Images not showing

PrestaShop SEO URL configuration

After migrating a PrestaShop 1.7 web site to another domain, site did not show product images. To fix this, you need to regenerate .htaccess by disabling and enabling “Friendly URL”. Login to PrestaShop Admin area, go to

On this page, scroll down to “Set up URLs” section. Select NO for “Friendly URL”, then click […]

Read More…

Reset Prestashop 1.6 admin password

To reset admin password for prestashop 1.6 or below, find value of _COOKIE_KEY from file

The line look like

Now you need to update ps_employee table using following SQL command.

Replace “YOUR_NEW_PASSOWRD_HERE” with your new password. ps_employee maybe differnt depending on what table prefix you selected during prestashop installation. id_employee=1, change this […]

Read More…

Reset Prestashop admin password

prestashop reset admin password

On Prestashop 1.7, open file

Find the value of “cookie_key”. Now run following SQL


This set password for admin user [email protected] to “ok123pass”. See Prestashop […]

Read More…