Aktualny motyw jest niedostępny "kafel". Sprawdź nazwę katalogu motywu i uprawnienia.
at line 259 in file classes/controller/FrontController.php
254. Tools::redirect('index.php?controller=authentication'.($this->authRedirection ? '&back='.$this->authRedirection : ''));
255. }
256.
257. /* Theme is missing */
258. if (!is_dir(_PS_THEME_DIR_)) {
259. throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\')))));
260. }
261.
262. if (Configuration::get('PS_GEOLOCATION_ENABLED')) {
263. if (($new_default = $this->geolocationManagement($this->context->country)) && Validate::isLoadedObject($new_default)) {
264. $this->context->country = $new_default;
77. * Initialize product controller
78. * @see FrontController::init()
79. */
80. public function init()
81. {
82. parent::init();
83.
84. if ($id_product = (int)Tools::getValue('id_product')) {
85. $this->product = new Product($id_product, true, $this->context->language->id, $this->context->shop->id);
86. }
87.
165. /**
166. * Starts the controller process (this method should not be overridden!)
167. */
168. public function run()
169. {
170. $this->init();
171. if ($this->checkAccess()) {
172. // setMedia MUST be called before postProcess
173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
174. $this->setMedia();
175. }
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();