Jump to content

Error 500


Johan30260

Recommended Posts

Bonjour, comment allez vous ? 

Je viens vers vous, car j'ai un souci avec mon presta, j'ai voulu faire une mise à jour pour passer de la 1.7.6.8 à la dernière version, mais depuis mon FRONT et BO sont en Error 500.

J'ai donc fouiller un peu, est au final il semble que le problème vienne de là :

 throw new PrestaShopDatabaseException($this->getMsgError() . '

 

' . $sql . '

');

Si ça parle à quelqu'un.

Merci

Link to comment
Share on other sites

11 hours ago, Johan30260 said:

Je viens vers vous, car j'ai un souci avec mon presta, j'ai voulu faire une mise à jour pour passer de la 1.7.6.8 à la dernière version, mais depuis mon FRONT et BO sont en Error 500.

J'ai donc fouiller un peu, est au final il semble que le problème vienne de là :

 throw new PrestaShopDatabaseException($this->getMsgError() . '

' . $sql . '

');

First you can try the usual suspects: cleanse the cache (delete var/cache) and check that you are using a PHP version that works with PS 8.1. You can also enable debug mode to see what file causes the error.

If that doesn't fit the most likely cause is that you had an error during the upgrade, you didn't notice that error and now you are stuck with a broken shop. As it is unclear what went wrong the best solution is to go back to a backup of your 1.7.6.8 shop. If you didn't make a backup you can use for example my tool Copy_shopdata to rescue your shop. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...