Disk got full writing '.(temporary)' (Errcode: 28 "No space left on device")<br /><br /><pre>
SELECT c.*, cl.`id_lang`, cl.`name`, cl.`description`, cl.`additional_description`, cl.`link_rewrite`, cl.`meta_title`, cl.`meta_keywords`, cl.`meta_description`
FROM `re_category` c
INNER JOIN re_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `re_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1 AND cl.id_shop = 1 )
LEFT JOIN `re_category_group` cg ON (cg.`id_category` = c.`id_category`)
WHERE `id_parent` = 125
AND `active` = 1
AND cg.`id_group` =1
GROUP BY c.`id_category`
ORDER BY `level_depth` ASC, category_shop.`position` ASC</pre>
at line 773 in file classes/db/Db.php
768. if ($webservice_call && $errno) {
769. $dbg = debug_backtrace();
770. WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97);
771. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
772. if ($sql) {
773. throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>');
774. }
775.
776. throw new PrestaShopDatabaseException($this->getMsgError());
777. }
778. }
380. $this->connect();
381. $this->result = $this->_query($sql);
382. }
383.
384. if (_PS_DEBUG_SQL_) {
385. $this->displayError($sql);
386. }
387.
388. return $this->result;
389. }
390.
609. || stripos($sql, 'dumpfile') !== false
610. ) {
611. throw new PrestaShopDatabaseException('Db->executeS() must be used only with select, show, explain or describe queries');
612. }
613.
614. $this->result = $this->query($sql);
615.
616. if (!$this->result) {
617. $result = false;
618. } else {
619. if (!$array) {
919. ' . Shop::addSqlAssociation('category', 'c') . '
920. LEFT JOIN `' . _DB_PREFIX_ . 'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = ' . (int) $idLang . ' ' . Shop::addSqlRestrictionOnLang('cl') . ')
921. ' . $sqlGroupsJoin . '
922. WHERE `id_parent` = ' . (int) $this->id . '
923. ' . ($active ? 'AND `active` = 1' : '') . '
924. ' . $sqlGroupsWhere . '
925. GROUP BY c.`id_category`
926. ORDER BY `level_depth` ASC, category_shop.`position` ASC');
927.
928. foreach ($result as &$row) {
929. $row['id_image'] = Tools::file_exists_cache($this->image_dir . $row['id_category'] . '.jpg') ? (int) $row['id_category'] : Language::getIsoById($idLang) . '-default';
225. $category['id_category'],
226. $category['link_rewrite']
227. );
228.
229. return $category;
230. }, $this->category->getSubCategories($this->context->language->id));
231. }
232.
233. protected function getImage($object, $id_image)
234. {
235. $retriever = new ImageRetriever(
113. $categoryVar = $filteredCategory['object'];
114. }
115.
116. $this->context->smarty->assign([
117. 'category' => $categoryVar,
118. 'subcategories' => $this->getTemplateVarSubCategories(),
119. ]);
120. }
121.
122. /**
123. * {@inheritdoc}
295. /**
296. * Starts the controller process (this method should not be overridden!).
297. */
298. public function run()
299. {
300. $this->init();
301. if ($this->checkAccess()) {
302. // setMedia MUST be called before postProcess
303. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
304. $this->setMedia();
305. }
505.
506. // Execute hook dispatcher
507. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
508.
509. // Running controller
510. $controller->run();
511.
512. // Execute hook dispatcher after
513. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);
514. } catch (PrestaShopException $e) {
515. $e->displayMessage();
23. * @copyright Since 2007 PrestaShop SA and Contributors
24. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
25. */
26.
27. require dirname(__FILE__).'/config/config.inc.php';
28. Dispatcher::getInstance()->dispatch();