Votre thème n'est pas disponible : "default". Veuillez vérifier le nom du répertoire du thème et ses permissions.
at line 166 in file classes/controller/FrontController.php
161. if ($this->auth && !$this->context->customer->isLogged($this->guestAllowed))
162. Tools::redirect('index.php?controller=authentication'.($this->authRedirection ? '&back='.$this->authRedirection : ''));
163.
164. /* Theme is missing */
165. if (!is_dir(_PS_THEME_DIR_))
166. throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\')))));
167.
168. if (Configuration::get('PS_GEOLOCATION_ENABLED'))
169. {
170. if (($newDefault = $this->geolocationManagement($this->context->country)) && Validate::isLoadedObject($newDefault))
171. $this->context->country = $newDefault;
88. $this->errors[] = Tools::displayError('Missing category ID');
89.
90. // Instantiate category
91. $this->category = new Category($id_category, $this->context->language->id);
92.
93. parent::init();
94. //check if the category is active and return 404 error if is disable.
95. if (!$this->category->active)
96. {
97. header('HTTP/1.1 404 Not Found');
98. header('Status: 404 Not Found');
158. /**
159. * Start controller process (this method shouldn't be overriden !)
160. */
161. public function run()
162. {
163. $this->init();
164. if ($this->checkAccess())
165. {
166. // setMedia MUST be called before postProcess
167. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
168. $this->setMedia();
368. // Execute hook dispatcher
369. if (isset($params_hook_action_dispatcher))
370. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
371.
372. // Running controller
373. $controller->run();
374. }
375. catch (PrestaShopException $e)
376. {
377. $e->displayMessage();
378. }
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();