Disk full (/tmp/#sql-temptable-a4af6-6ae1c-11be8b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")<br /><br /><pre>
SELECT m.*, ml.`description`, ml.`short_description`
FROM `prstshp_manufacturer` m INNER JOIN prstshp_manufacturer_shop manufacturer_shop
ON (manufacturer_shop.id_manufacturer = m.id_manufacturer AND manufacturer_shop.id_shop = 1)INNER JOIN `prstshp_manufacturer_lang` ml ON (m.`id_manufacturer` = ml.`id_manufacturer` AND ml.`id_lang` = 2)WHERE 1 AND m.`active` = 1 ORDER BY m.`name` ASC
</pre>
at line 769 in file classes/db/Db.php
764. if ($webservice_call && $errno) {
765. $dbg = debug_backtrace();
766. WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97);
767. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
768. if ($sql) {
769. throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>');
770. }
771.
772. throw new PrestaShopDatabaseException($this->getMsgError());
773. }
774. }
380. $this->result = $this->_query($sql);
381. }
382. }
383.
384. if (_PS_DEBUG_SQL_) {
385. $this->displayError($sql);
386. }
387.
388. return $this->result;
389. }
390.
608. }
609.
610. return $this->execute($sql, $use_cache);
611. }
612.
613. $this->result = $this->query($sql);
614.
615. if (!$this->result) {
616. $result = false;
617. } else {
618. if (!$array) {
202. 'WHERE 1 ' .
203. ($active ? 'AND m.`active` = 1 ' : '') .
204. ($withProduct ? 'AND m.`id_manufacturer` IN (SELECT `id_manufacturer` FROM `' . _DB_PREFIX_ . 'product`) ' : '') .
205. ($group_by ? ' GROUP BY m.`id_manufacturer`' : '') .
206. 'ORDER BY m.`name` ASC
207. ' . ($p ? ' LIMIT ' . (((int) $p - 1) * (int) $n) . ',' . (int) $n : ''));
208. if ($manufacturers === false) {
209. return false;
210. }
211.
212. if ($getNbProducts) {
257. if (!isset($facetAndFiltersLabels[$filterLabel])) {
258. // No need to filter if no information
259. continue 2;
260. }
261.
262. $manufacturers = Manufacturer::getManufacturers(false, $idLang);
263. $searchFilters[$filter['type']] = [];
264. foreach ($manufacturers as $manufacturer) {
265. if (in_array($manufacturer['name'], $facetAndFiltersLabels[$filterLabel])) {
266. $searchFilters[$filter['type']][$manufacturer['name']] = $manufacturer['id_manufacturer'];
267. }
120. ProductSearchContext $context,
121. ProductSearchQuery $query
122. ) {
123. $result = new ProductSearchResult();
124. // extract the filter array from the Search query
125. $facetedSearchFilters = $this->filtersConverter->createFacetedSearchFiltersFromQuery($query);
126.
127. $context = $this->module->getContext();
128. $facetedSearch = $this->searchFactory->build($context);
129. // init the search with the initial population associated with the current filters
130. $facetedSearch->initSearch($facetedSearchFilters);
302.
303. // We're ready to run the actual query!
304.
305. /** @var ProductSearchResult $result */
306. $result = $provider->runQuery(
307. $context,
308. $query
309. );
310.
311. if (Configuration::get('PS_CATALOG_MODE') && !Configuration::get('PS_CATALOG_MODE_WITH_PRICES')) {
312. $this->disablePriceControls($result);
575. header('Content-Type: application/json');
576. $this->ajaxRender(json_encode($this->getAjaxProductSearchVariables()));
577.
578. return;
579. } else {
580. $variables = $this->getProductSearchVariables();
581. $this->context->smarty->assign([
582. 'listing' => $variables,
583. ]);
584. $this->setTemplate($template, $params, $locale);
585. }
132. if ($this->category->checkAccess($this->context->customer->id)) {
133. $this->doProductSearch(
134. 'catalog/listing/category',
135. [
136. 'entity' => 'category',
137. 'id' => $this->category->id,
138. ]
139. );
140. }
141. }
142.
301. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
302. $this->initHeader();
303. }
304.
305. if ($this->viewAccess()) {
306. $this->initContent();
307. } else {
308. $this->errors[] = $this->trans('Access denied.', [], 'Admin.Notifications.Error');
309. }
310.
311. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
513. if (isset($params_hook_action_dispatcher)) {
514. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
515. }
516.
517. // Running controller
518. $controller->run();
519.
520. // Execute hook dispatcher after
521. if (isset($params_hook_action_dispatcher)) {
522. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);
523. }
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();