Jump to content

[PrestaShop Database Exception] MySQL server has gone away - Back office error

Recommended Posts

I have been having issues with my back office for the past few days. Any time I try to complete a request I am met with a 500 error and timeout. I cannot make changes to products or add/change categories. I've been trying to assign multiple categories to a product and have been getting this error page:


MySQL server has gone away


        FROM `ps_quick_access` qa
        LEFT JOIN `ps_quick_access_lang` qal ON (qa.`id_quick_access` = qal.`id_quick_access` AND qal.`id_lang` = 1)
        ORDER BY `name` ASC

at line 613 in file classes/db/Db.php


607.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
608.         }
609.         else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
610.         {
611.             if ($sql)
612.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
613.             throw new PrestaShopDatabaseException($this->getMsgError());
614.         }
615.     }
617.     /**
I have attached the error log as well. I had problems with the sitemap conjuring errors from a wrong date format, so I deleted the sitemap and disabled the module for now. I also cannot uninstall modules or reset modules without a 500 error. I have not made any major changes and these errors are beyond my scope. Any insight would be greatly appreciated!
Prestashop version 1.5.5
Let me know if you need anymore information!!!


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...