Disk full (/tmp/#sql_4e08_3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
SELECT c.*, cl.id_lang, cl.name, cl.description, cl.link_rewrite, cl.meta_title, cl.meta_keywords, cl.meta_description
FROM `ps_category` c
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1 AND cl.id_shop = 1 )
LEFT JOIN `ps_category_group` cg ON (cg.`id_category` = c.`id_category`)
WHERE `id_parent` = 24
AND `active` = 1
AND cg.`id_group` IN (2)
GROUP BY c.`id_category`
ORDER BY `level_depth` ASC, category_shop.`position` 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 c.*, cl.id_lang, cl.name, cl.description, cl.link_rewrite, cl.meta_title, cl.meta_keywords, cl.meta_description FROM `ps_category` c INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1 AND cl.id_shop = 1 ) LEFT JOIN `ps_category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = 24 AND `active` = 1 AND cg.`id_group` IN (2) GROUP BY c.`id_category` ORDER BY `level_depth` ASC, category_shop.`position` 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 c.*, cl.id_lang, cl.name, cl.description, cl.link_rewrite, cl.meta_title, cl.meta_keywords, cl.meta_description FROM `ps_category` c INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1 AND cl.id_shop = 1 ) LEFT JOIN `ps_category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = 24 AND `active` = 1 AND cg.`id_group` IN (2) GROUP BY c.`id_category` ORDER BY `level_depth` ASC, category_shop.`position` ASC
653. '.$sql_groups_join.'
654. WHERE `id_parent` = '.(int)$this->id.'
655. '.($active ? 'AND `active` = 1' : '').'
656. '.$sql_groups_where.'
657. GROUP BY c.`id_category`
658. ORDER BY `level_depth` ASC, category_shop.`position` ASC');
659.
660. $formated_medium = ImageType::getFormatedName('medium');
661.
662. foreach ($result as &$row) {
663. $row['id_image'] = (Tools::file_exists_cache(_PS_CAT_IMG_DIR_.(int)$row['id_category'].'.jpg') || Tools::file_exists_cache(_PS_CAT_IMG_DIR_.(int)$row['id_category'].'_thumb.jpg')) ? (int)$row['id_category'] : Language::getIsoById($id_lang).'-default';
Argument [0] SELECT c.*, cl.id_lang, cl.name, cl.description, cl.link_rewrite, cl.meta_title, cl.meta_keywords, cl.meta_description FROM `ps_category` c INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1 AND cl.id_shop = 1 ) LEFT JOIN `ps_category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = 24 AND `active` = 1 AND cg.`id_group` IN (2) GROUP BY c.`id_category` ORDER BY `level_depth` ASC, category_shop.`position` ASC
600. $path = Tools::getPath((int)$this->context->shop->id_category, $this->product->name);
601. }
602.
603. $sub_categories = array();
604. if (Validate::isLoadedObject($this->category)) {
605. $sub_categories = $this->category->getSubCategories($this->context->language->id, true);
606.
607. // various assignements before Hook::exec
608. $this->context->smarty->assign(array(
609. 'path' => $path,
610. 'category' => $this->category,
Argument [0] 1 Argument [1] 1
225. }
226. }
227. }
228.
229. // Assign template vars related to the category + execute hooks related to the category
230. $this->assignCategory();
231. // Assign template vars related to the price and tax
232. $this->assignPriceAndTax();
233.
234. // Assign template vars related to the images
235. $this->assignImages();
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))) {
385. $controller = Controller::getController($controller_class);
386.
387. if (isset($params_hook_action_dispatcher))
388. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
389.
390. $controller->run();
391.
392. if ($this->_isPageCacheActive())
393. {
394. PageCache::displayStats(false, $pre_display_html);
395. }
119. * date: 2017-02-07 23:04:58
120. * version: 3.17
121. */
122. public function dispatch() {
123. if (Tools::version_compare(_PS_VERSION_,'1.6','>')) {
124. $this->dispatch_16();
125. } else {
126. $this->dispatch_15();
127. }
128. }
129.
28. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29. * International Registered Trademark & Property of PrestaShop SA
30. */
31.
32. require(dirname(__FILE__).'/config/config.inc.php');
33. Dispatcher::getInstance()->dispatch();
34. ini_set('display_errors', 1);