Can't create/write to file '/tmp/#sql-temptable-3e3-52794-3491.MAI' (Errcode: 28 "No space left on device")SELECT s.*, sl.`description`
FROM `ps_supplier` s
LEFT JOIN `ps_supplier_lang` `sl` ON s.`id_supplier` = sl.`id_supplier` AND sl.`id_lang` = 1
INNER JOIN ps_supplier_shop supplier_shop
ON (supplier_shop.id_supplier = s.id_supplier AND supplier_shop.id_shop = 4)
WHERE (s.`active` = 1) AND (s.id_supplier IN (2,335,336,337,338,339,341,342,343,344,345,346,348,351,352,353,354,357,358,360,361,363,364,365,366,367,370,371,372,374,375,376,377,378,381,382,383,384,385,386,388,389,390,391,392,393,395,396,397,399,400,401,402,404,405,406,408,410,411,413,414,416,417,418,419,420,422,423,424,425,426,427,428,429,430,432,433,434,435,437,439,440,441,442,443,444,448,450,451,452,453,456,457,458,459,460,462,463,464,465,466,467,470,473,475,476,478,481,482,484,486,488,491,492,493,495,497,498,499,502,503,504,505,507,508,509,510,516,518,520,521,522,523,524,527,615,617,618,619,620,623,624,626,627,628,630,631,633,636,638,640,641,653,655,664,667,668,670,671,673,675,684,687,690,691,701,702,703,707,709,711,716,717,718,719,720,723,725,731,733,753,756,760,772,798,804))
GROUP BY s.id_supplier
ORDER BY s.`name` ASC
at line 791 in file classes/db/Db.php
786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
790. if ($sql) {
791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
792. }
793.
794. throw new PrestaShopDatabaseException($this->getMsgError());
795. }
796. }
420. $this->result = $this->_query($sql);
421. }
422. }
423.
424. if (_PS_DEBUG_SQL_) {
425. $this->displayError($sql);
426. }
427.
428. return $this->result;
429. }
430.
Argument [0] SELECT s.*, sl.`description` FROM `ps_supplier` s LEFT JOIN `ps_supplier_lang` `sl` ON s.`id_supplier` = sl.`id_supplier` AND sl.`id_lang` = 1 INNER JOIN ps_supplier_shop supplier_shop ON (supplier_shop.id_supplier = s.id_supplier AND supplier_shop.id_shop = 4) WHERE (s.`active` = 1) AND (s.id_supplier IN (2,335,336,337,338,339,341,342,343,344,345,346,348,351,352,353,354,357,358,360,361,363,364,365,366,367,370,371,372,374,375,376,377,378,381,382,383,384,385,386,388,389,390,391,392,393,395,396,397,399,400,401,402,404,405,406,408,410,411,413,414,416,417,418,419,420,422,423,424,425,426,427,428,429,430,432,433,434,435,437,439,440,441,442,443,444,448,450,451,452,453,456,457,458,459,460,462,463,464,465,466,467,470,473,475,476,478,481,482,484,486,488,491,492,493,495,497,498,499,502,503,504,505,507,508,509,510,516,518,520,521,522,523,524,527,615,617,618,619,620,623,624,626,627,628,630,631,633,636,638,640,641,653,655,664,667,668,670,671,673,675,684,687,690,691,701,702,703,707,709,711,716,717,718,719,720,723,725,731,733,753,756,760,772,798,804)) GROUP BY s.id_supplier ORDER BY s.`name` ASC
638. throw new PrestaShopDatabaseException('Db->executeS() must be used only with select, show, explain or describe queries');
639. }
640. return $this->execute($sql, $use_cache);
641. }
642.
643. $this->result = $this->query($sql);
644.
645. if (!$this->result) {
646. $result = false;
647. } else {
648. if (!$array) {
Argument [0] SELECT s.*, sl.`description` FROM `ps_supplier` s LEFT JOIN `ps_supplier_lang` `sl` ON s.`id_supplier` = sl.`id_supplier` AND sl.`id_lang` = 1 INNER JOIN ps_supplier_shop supplier_shop ON (supplier_shop.id_supplier = s.id_supplier AND supplier_shop.id_shop = 4) WHERE (s.`active` = 1) AND (s.id_supplier IN (2,335,336,337,338,339,341,342,343,344,345,346,348,351,352,353,354,357,358,360,361,363,364,365,366,367,370,371,372,374,375,376,377,378,381,382,383,384,385,386,388,389,390,391,392,393,395,396,397,399,400,401,402,404,405,406,408,410,411,413,414,416,417,418,419,420,422,423,424,425,426,427,428,429,430,432,433,434,435,437,439,440,441,442,443,444,448,450,451,452,453,456,457,458,459,460,462,463,464,465,466,467,470,473,475,476,478,481,482,484,486,488,491,492,493,495,497,498,499,502,503,504,505,507,508,509,510,516,518,520,521,522,523,524,527,615,617,618,619,620,623,624,626,627,628,630,631,633,636,638,640,641,653,655,664,667,668,670,671,673,675,684,687,690,691,701,702,703,707,709,711,716,717,718,719,720,723,725,731,733,753,756,760,772,798,804)) GROUP BY s.id_supplier ORDER BY s.`name` ASC
24. }
25. $query->where('s.id_supplier IN (' . implode(',', $shown_suppliers) . ')');
26. $query->orderBy(' s.`name` ASC');
27. $query->limit($n, ($p - 1) * $n);
28. $query->groupBy('s.id_supplier');
29. $suppliers = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
30. if ($suppliers === false) {
31. return false;
32. }
33. if ($get_nb_products) {
34. $sql_groups = '';
Argument [0] SELECT s.*, sl.`description` FROM `ps_supplier` s LEFT JOIN `ps_supplier_lang` `sl` ON s.`id_supplier` = sl.`id_supplier` AND sl.`id_lang` = 1 INNER JOIN ps_supplier_shop supplier_shop ON (supplier_shop.id_supplier = s.id_supplier AND supplier_shop.id_shop = 4) WHERE (s.`active` = 1) AND (s.id_supplier IN (2,335,336,337,338,339,341,342,343,344,345,346,348,351,352,353,354,357,358,360,361,363,364,365,366,367,370,371,372,374,375,376,377,378,381,382,383,384,385,386,388,389,390,391,392,393,395,396,397,399,400,401,402,404,405,406,408,410,411,413,414,416,417,418,419,420,422,423,424,425,426,427,428,429,430,432,433,434,435,437,439,440,441,442,443,444,448,450,451,452,453,456,457,458,459,460,462,463,464,465,466,467,470,473,475,476,478,481,482,484,486,488,491,492,493,495,497,498,499,502,503,504,505,507,508,509,510,516,518,520,521,522,523,524,527,615,617,618,619,620,623,624,626,627,628,630,631,633,636,638,640,641,653,655,664,667,668,670,671,673,675,684,687,690,691,701,702,703,707,709,711,716,717,718,719,720,723,725,731,733,753,756,760,772,798,804)) GROUP BY s.id_supplier ORDER BY s.`name` ASC
183. break;
184. // Case to handle the option to show all Suppliers
185. case 'ALLSUP':
186. $link = new Link;
187. $this->_menu .= '<li><a href="'.$link->getPageLink('supplier').'" title="'.$this->l('All suppliers').'">'.$this->l('All suppliers').'</a><ul class="mCustomScrollbar supplier" data-mcs-theme="dark">'.PHP_EOL;
188. $suppliers = Supplier::getSuppliers();
189. foreach ($suppliers as $key => $supplier) {
190. $this->_menu .= '<li><a href="'.$link->getSupplierLink((int)$supplier['id_supplier'], $supplier['link_rewrite']).'" title="'.Tools::safeOutput($supplier['name']).'">'.Tools::safeOutput($supplier['name']).'</a></li>'.PHP_EOL;
191. }
192. $this->_menu .= '</ul>';
193. break;
725. $this->user_groups = ($this->context->customer->isLogged() ?
726. $this->context->customer->getGroups() : array(Configuration::get('PS_UNIDENTIFIED_GROUP')));
727. $this->page_name = Dispatcher::getInstance()->getController();
728. if (!$this->isCached('blocktopmenu.tpl', $this->getCacheId())) {
729. if (Tools::isEmpty($this->_menu)) {
730. $this->makeMenu();
731. }
732.
733. $shop_id = (int)$this->context->shop->id;
734. $shop_group_id = Shop::getGroupFromShop($shop_id);
735.
586. }
587. }
588.
589. // Immediately return the result if we do not log performances
590. if (!Module::$_log_modules_perfs) {
591. return $module->{$method}($params);
592. }
593.
594. // Store time and memory before and after hook call and save the result in the database
595. $time_start = microtime(true);
596. $memory_start = memory_get_usage(true);
Argument [0]
541. Tools::waitUntilFileIsModified($moduleInstance->push_filename, $moduleInstance->push_time_limit);
542. }
543.
544. // Call hook method
545. if ($hook_callable) {
546. $display = Hook::coreCallHook($moduleInstance, 'hook'.$hook_name, $hook_args);
547. } elseif ($hook_retro_callable) {
548. $display = Hook::coreCallHook($moduleInstance, 'hook'.$retro_hook_name, $hook_args);
549. }
550.
551. // Live edit
Argument [0] Argument [1] hookdisplayTop Argument [2]
575. if (!$this->useMobileTheme()) {
576. // These hooks aren't used for the mobile theme.
577. // Needed hooks are called in the tpl files.
578. $this->context->smarty->assign(array(
579. 'HOOK_HEADER' => Hook::exec('displayHeader'),
580. 'HOOK_TOP' => Hook::exec('displayTop'),
581. 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
582. 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
583. ));
584. } else {
585. $this->context->smarty->assign('HOOK_MOBILE_HEADER', Hook::exec('displayMobileHeader'));
Argument [0] displayTop
20.
21. parent::init();
22. }
23.
24. public function initContent(){
25. parent::initContent();
26. $this->context->smarty->assign(array(
27. 'HOOK_SEARCHOS' => Hook::exec('HookSearchos'),
28. 'HOOK_BOTTOMCAT' => Hook::exec('HookBottomCat')
29. ));
30.
96. } elseif (in_array(Tools::strtolower(substr($_SERVER['REQUEST_URI'], -3)), array('.js', 'css'))) {
97. $this->context->cookie->disallowWriting();
98. exit;
99. }
100.
101. parent::initContent();
102.
103. $this->setTemplate(_PS_THEME_DIR_.'404.tpl');
104. }
105.
106. protected function canonicalRedirection($canonical_url = '')
184. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
185. $this->initHeader();
186. }
187.
188. if ($this->viewAccess()) {
189. $this->initContent();
190. } else {
191. $this->errors[] = Tools::displayError('Access denied.');
192. }
193.
194. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
362. if (isset($params_hook_action_dispatcher)) {
363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
364. }
365.
366. // Running controller
367. $controller->run();
368. } catch (PrestaShopException $e) {
369. $e->displayMessage();
370. }
371. }
372.
23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
24. * International Registered Trademark & Property of PrestaShop SA
25. */
26.
27. require(dirname(__FILE__).'/config/config.inc.php');
28. Dispatcher::getInstance()->dispatch();