isaiaseg Posted July 31, 2014 Share Posted July 31, 2014 (edited) Hello, I'm trying to install a theme on PrestaShop 1.6.0.8 Here is the error I'm getting: [PrestaShopDatabaseException] MySQL server has gone away SELECT * 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` ASCat line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);630. }631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))632. {633. if ($sql)634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');635. throw new PrestaShopDatabaseException($this->getMsgError());636. }637. }638.639. /** DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments]319. if ($sql instanceof DbQuery)320. $sql = $sql->build();321.322. $this->result = $this->_query($sql);323. if (_PS_DEBUG_SQL_)324. $this->displayError($sql);325. return $this->result;326. }327.328. /**329. * Execute an INSERT query DbCore->query - [line 501 - classes/db/Db.php] - [1 Arguments] Argument [0] SELECT * 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 DbCore->executeS - [line 65 - classes/QuickAccess.php] - [1 Arguments] Argument [0] SELECT * 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 QuickAccessCore::getQuickAccesses - [line 1529 - classes/controller/AdminController.php] - [1 Arguments]1523. {1524. // Multishop1525. $is_multishop = Shop::isFeatureActive();1526.1527. // Quick access1528. $quick_access = QuickAccess::getQuickAccesses($this->context->language->id);1529. foreach ($quick_access as $index => $quick)1530. {1531. if ($quick['link'] == '../' && Shop::getContext() == Shop::CONTEXT_SHOP)1532. {1533. $url = $this->context->shop->getBaseURL(); AdminControllerCore->initHeader - [line 177 - classes/controller/Controller.php]171.172. if (!empty($this->redirect_after))173. $this->redirect();174.175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))176. $this->initHeader();177.178. if ($this->viewAccess())179. $this->initContent();180. else181. $this->errors[] = Tools::displayError('Access denied.'); ControllerCore->run - [line 373 - classes/Dispatcher.php]367. // Execute hook dispatcher368. if (isset($params_hook_action_dispatcher))369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);370.371. // Running controller372. $controller->run();373. }374. catch (PrestaShopException $e)375. {376. $e->displayMessage();377. } DispatcherCore->dispatch - [line 54 - admin/index.php]48. $_POST['controller'] = strtolower($_POST['tab']);49. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))50. $_REQUEST['controller'] = strtolower($_REQUEST['tab']);51.52. // Prepare and trigger admin dispatcher53. Dispatcher::getInstance()->dispatch(); Please help!!!! Edited July 31, 2014 by isaiaseg (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted July 31, 2014 Share Posted July 31, 2014 what theme are you trying to install? can you provide link from where you found the theme? Link to comment Share on other sites More sharing options...
isaiaseg Posted July 31, 2014 Author Share Posted July 31, 2014 This is the theme: http://themeforest.net/item/warehouse-responsive-prestashop-16-theme/3178575 I didn't solve the error, instead I make the istallation in other server and them I moved the entire site with his data base to the right server... I hope the error doesn't show again =/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts