isaiaseg Posted July 31, 2014 Share Posted July 31, 2014 Hola, Quiero instalar un tema en PrestaShop 1.6.0.9 Aqui esta el error que me lanza [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(); AYUDA PORFAVOR!! Link to comment Share on other sites More sharing options...
Lisius Posted July 31, 2014 Share Posted July 31, 2014 is a compatibility issue with the template version of prestashop.must use the version that tells the author of the template. ---------------------------------------------------------------------------------------------------------------------------------- es un problema de compatibilidad de la plantilla con la versión de prestashop.debe usar la versión que le indique el autor de la plantilla. Link to comment Share on other sites More sharing options...
Recommended Posts