Jump to content

Error installing a Theme (SOLVED)


Recommended Posts

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` ASC

at 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.         // Multishop
    1525.         $is_multishop = Shop::isFeatureActive();
    1526.
    1527.         // Quick access
    1528.         $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.             else
    181.                 $this->errors[] = Tools::displayError('Access denied.');
  • ControllerCore->run - [line 373 - classes/Dispatcher.php]
    367.             // Execute hook dispatcher
    368.             if (isset($params_hook_action_dispatcher))
    369.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
    370.
    371.             // Running controller
    372.             $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 dispatcher
    53. Dispatcher::getInstance()->dispatch();
 

 

Please help!!!!

post-535822-0-07236200-1406800565_thumb.jpg

Edited by isaiaseg (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...