Your file /srv/data/web/vhosts/www.dpi-import.com/htdocs/cache/class_index.php is corrupted. Please remove this file, a new one will be regenerated automatically
at line 154 in file classes/Autoload.php
148. while (!$integrity_is_ok);
149.
150. if (!$integrity_is_ok)
151. {
152. file_put_contents($filename, '<?php return array(); ?>');
153. throw new PrestaShopException('Your file '.$filename.' is corrupted. Please remove this file, a new one will be regenerated automatically');
154. }
155. }
156.
157. $this->index = $classes;
158. }
81.
82. // regenerate the class index if the requested class is not found in the index or if the requested file doesn't exists
83. if (!isset($this->index[$classname])
84. || ($this->index[$classname] && !is_file($this->root_dir.$this->index[$classname]))
85. || (isset($this->index[$classname.'Core']) && $this->index[$classname.'Core'] && !is_file($this->root_dir.$this->index[$classname.'Core'])))
86. $this->generateIndex();
87.
88. // If $classname has not core suffix (E.g. Shop, Product)
89. if (substr($classname, -4) != 'Core')
90. {
91. // If requested class does not exist, load associated core class
Argument [0] ShopPrestaModule
Argument [0] ShopPrestaModule
0. <?php
1. if(_PS_VERSION_ >= 1.5 && !class_exists ("ShopPrestaModule")) {
2. class ShopPrestaModule extends ShopCore {
3. // Abilty to add module shop asso table
4. public static function PrestaModule_setAssoTable($table, $type = 'shop') {
5. Shop::$asso_tables[$table] = array('type' => $type);
6. }
Argument [0] ShopPrestaModule
13. * *************************************
14. * +
15. * +Languages: EN, FR
16. * +PS version: 1.5, 1.4, 1.3, 1.2, 1.1
17. **/
18. include_once (_PS_ROOT_DIR_ . '/modules/pm_advancedtopmenu/ShopOverrided.php');
19. include_once (_PS_ROOT_DIR_ . '/modules/pm_advancedtopmenu/AdvancedTopMenuClass.php');
20. include_once (_PS_ROOT_DIR_ . '/modules/pm_advancedtopmenu/AdvancedTopMenuColumnWrapClass.php');
21. include_once (_PS_ROOT_DIR_ . '/modules/pm_advancedtopmenu/AdvancedTopMenuColumnClass.php');
22. include_once (_PS_ROOT_DIR_ . '/modules/pm_advancedtopmenu/AdvancedTopMenuElementsClass.php');
23. class PM_AdvancedTopMenu extends Module {
Argument [0] /srv/data/web/vhosts/www.dpi-import.com/htdocs/modules/pm_advancedtopmenu/ShopOverrided.php
857. die(Tools::displayError());
858. if (!isset(self::$_INSTANCE[$module_name]))
859. {
860. if (Tools::file_exists_cache(_PS_MODULE_DIR_.$module_name.'/'.$module_name.'.php'))
861. {
862. include_once(_PS_MODULE_DIR_.$module_name.'/'.$module_name.'.php');
863.
864. if (class_exists($module_name, false))
865. return self::$_INSTANCE[$module_name] = new $module_name;
866. }
867. return false;
Argument [0] /srv/data/web/vhosts/www.dpi-import.com/htdocs/modules/pm_advancedtopmenu/pm_advancedtopmenu.php
389. foreach ($module_list as $array)
390. {
391. // Check errors
392. if ($id_module && $id_module != $array['id_module'])
393. continue;
394. if (!($moduleInstance = Module::getInstanceByName($array['module'])))
395. continue;
396.
397. // Check permissions
398. if ($check_exceptions)
399. {
Argument [0] pm_advancedtopmenu
435. // These hooks aren't used for the mobile theme.
436. // Needed hooks are called in the tpl files.
437. if (!isset($this->context->cart))
438. $this->context->cart = new Cart();
439. $this->context->smarty->assign(array(
440. 'HOOK_HEADER' => Hook::exec('displayHeader'),
441. 'HOOK_TOP' => Hook::exec('displayTop'),
442. 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
443. 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
444. ));
445. }
Argument [0] displayHeader
169. * Assign template vars related to page content
170. * @see FrontController::initContent()
171. */
172. public function initContent()
173. {
174. parent::initContent();
175.
176. if (!$this->errors)
177. {
178. // Assign to the template the id of the virtual product. "0" if the product is not downloadable.
179. $this->context->smarty->assign('virtual', ProductDownload::getIdFromIdProduct((int)$this->product->id));
161.
162. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
163. $this->initHeader();
164.
165. if ($this->viewAccess())
166. $this->initContent();
167. else
168. $this->errors[] = Tools::displayError('Access denied.');
169.
170. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className)))
171. $this->initFooter();
342. // Execute hook dispatcher
343. if (isset($params_hook_action_dispatcher))
344. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
345.
346. // Running controller
347. $controller->run();
348. }
349. catch (PrestaShopException $e)
350. {
351. $e->displayMessage();
352. }
22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23. * International Registered Trademark & Property of PrestaShop SA
24. */
25.
26. require(dirname(__FILE__).'/config/config.inc.php');
27. Dispatcher::getInstance()->dispatch();