Jump to content

update prestashop 1.6.0.6 naar 1.6.0.9


tomaszc

Recommended Posts

Hallo

ik wil mijn prestashop update van 1.6.0.6 naar 1.6.0.9.

na de succesvolle update kan ik niet meer in mijn admin inloggen. kan iemand mij helpen aub.

Ik kom altijd op deze pagina terecht.

[PrestaShopException]

Property Carrier->delay is empty
at line 887 in file classes/ObjectModel.php

881.
882.                 $message = $this->validateField($field, $value, $id_lang);
883.                 if ($message !== true)
884.                 {
885.                     if ($die)
886.                         throw new PrestaShopException($message);
887.                     return $error_return ? $message : false;
888.                 }
889.             }
890.         }
891.
  • ObjectModelCore->validateFieldsLang - [line 301 - classes/ObjectModel.php]
    295.     {
    296.         // Retrocompatibility
    297.         if (method_exists($this, 'getTranslationsFieldsChild'))
    298.             return $this->getTranslationsFieldsChild();
    299.
    300.         $this->validateFieldsLang();
    301.         $is_lang_multishop = $this->isLangMultishop();
    302.
    303.         $fields = array();
    304.         if ($this->id_lang === null)
    305.             foreach (Language::getLanguages(false) as $language)
  • ObjectModelCore->getFieldsLang - [line 489 - classes/ObjectModel.php]
    483.             return false;
    484.
    485.         // Database insertion for multilingual fields related to the object
    486.         if (!empty($this->def['multilang']))
    487.         {
    488.             $fields = $this->getFieldsLang();
    489.             if ($fields && is_array($fields))
    490.             {
    491.                 $shops = Shop::getCompleteListOfShopsID();
    492.                 $asso = Shop::getAssoTable($this->def['table'].'_lang');
    493.                 foreach ($fields as $field)
  • ObjectModelCore->add - [line 191 - classes/Carrier.php] - [2 Arguments]
    185.
    186.     public function add($autodate = true, $null_values = false)
    187.     {
    188.         if ($this->position <= 0)
    189.             $this->position = Carrier::getHigherPosition() + 1;
    190.         if (!parent::add($autodate, $null_values) || !Validate::isLoadedObject($this))
    191.             return false;
    192.         if (!$count = Db::getInstance()->getValue('SELECT count(`id_carrier`) FROM `'._DB_PREFIX_.$this->def['table'].'` WHERE `deleted` = 0'))
    193.             return false;
    194.         if ($count == 1)
    195.             Configuration::updateValue('PS_CARRIER_DEFAULT', (int)$this->id);
  • CarrierCore->add - [line 995 - modules/socolissimo/socolissimo.php]
    989.                 $carrier->delay[$language['id_lang']] = $config['delay_seller'][$language['iso_code']];
    990.             if ($language['iso_code'] == 'en')
    991.                 $carrier->delay[$language['id_lang']] = $config['delay_seller'][$language['iso_code']];
    992.         }
    993.
    994.         if ($carrier->add())
    995.         {
    996.             Configuration::updateValue('SOCOLISSIMO_CARRIER_ID_SELLER', (int)$carrier->id);
    997.             $groups = Group::getgroups(true);
    998.
    999.             foreach ($groups as $group)
  • Socolissimo::createSoColissimoCarrierSeller - [line 1538 - modules/socolissimo/socolissimo.php] - [1 Arguments]
    1532.                 }
    1533.             }
    1534.         if (!Configuration::get('SOCOLISSIMO_CARRIER_ID_SELLER'))
    1535.         {
    1536.             //add carrier for seller cost
    1537.             $this->createSoColissimoCarrierSeller($this->config);
    1538.             Configuration::updateValue('SOCOLISSIMO_VERSION', $this->version);
    1539.         }
    1540.         Configuration::updateValue('SOCOLISSIMO_VERSION', $this->version);
    1541.     }
    1542.
  • Socolissimo->runUpgrades - [line 83 - modules/socolissimo/socolissimo.php] - [1 Arguments]
    77.
    78.         /** Backward compatibility */
    79.         require(_PS_MODULE_DIR_.$this->name.'/backward_compatibility/backward.php');
    80.
    81.         if ((Configuration::get('SOCOLISSIMO_VERSION') != $this->version) && Configuration::get('SOCOLISSIMO_VERSION'))
    82.             $this->runUpgrades(true);
    83.         if (self::isInstalled($this->name))
    84.         {
    85.             $warning = array();
    86.             $so_carrier = new Carrier(Configuration::get('SOCOLISSIMO_CARRIER_ID'));
    87.             if (Validate::isLoadedObject($so_carrier))
  • Socolissimo->__construct - [line 1031 - classes/module/Module.php]
    1025.             if (Tools::file_exists_no_cache(_PS_MODULE_DIR_.$module_name.'/'.$module_name.'.php'))
    1026.             {
    1027.                 include_once(_PS_MODULE_DIR_.$module_name.'/'.$module_name.'.php');
    1028.
    1029.                 if (class_exists($module_name, false))
    1030.                     return self::$_INSTANCE[$module_name] = new $module_name;
    1031.             }
    1032.             return false;
    1033.         }
    1034.         return self::$_INSTANCE[$module_name];
    1035.     }
  • ModuleCore::getInstanceByName - [line 463 - classes/Hook.php] - [1 Arguments]
    457.                 continue;
    458.
    459.             if ((bool)$disable_non_native_modules && Hook::$native_module && count(Hook::$native_module) && !in_array($array['module'], self::$native_module))
    460.                 continue;
    461.
    462.             if (!($moduleInstance = Module::getInstanceByName($array['module'])))
    463.                 continue;
    464.
    465.             // Check permissions
    466.             if ($check_exceptions)
    467.             {
  • HookCore::exec - [line 2357 - classes/controller/AdminController.php] - [2 Arguments]
    2351.             'host_mode' => defined('_PS_HOST_MODE_') ? 1 : 0,
    2352.             'stock_management' => (int)Configuration::get('PS_STOCK_MANAGEMENT')
    2353.         ));
    2354.
    2355.         if ($this->display_header)
    2356.             $this->context->smarty->assign('displayBackOfficeHeader', Hook::exec('displayBackOfficeHeader', array()));
    2357.         
    2358.         $this->context->smarty->assign(array(
    2359.             'displayBackOfficeTop' => Hook::exec('displayBackOfficeTop', array()),
    2360.             'submit_form_ajax' => (int)Tools::getValue('submitFormAjax')
    2361.         ));
  • AdminControllerCore->init - [line 114 - controllers/admin/AdminThemesController.php]
    108.     {
    109.         // No cache for auto-refresh uploaded logo
    110.         header('Cache-Control: no-cache, must-revalidate');
    111.         header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
    112.
    113.         parent::init();
    114.         $this->can_display_themes = (!Shop::isFeatureActive() || Shop::getContext() == Shop::CONTEXT_SHOP) ? true : false;
    115.
    116.         libxml_use_internal_errors(true);
    117.
    118.         //get addons themes
  • AdminThemesControllerCore->init - [line 163 - classes/controller/Controller.php]
    157.     /**
    158.      * Start controller process (this method shouldn't be overriden !)
    159.      */
    160.     public function run()
    161.     {
    162.         $this->init();
    163.         if ($this->checkAccess())
    164.         {
    165.             // setMedia MUST be called before postProcess
    166.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
    167.                 $this->setMedia();
  • ControllerCore->run - [line 373 - classes/Dispatcher.php]
    367.             // Execute hook dispatcher
    368.             if (isset($params_hook_action_dispatcher))
    369.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
    370.
    371.             // Running controller
    372.             $controller->run();
    373.         }
    374.         catch (PrestaShopException $e)
    375.         {
    376.             $e->displayMessage();
    377.         }
  • DispatcherCore->dispatch - [line 54 - admin/index.php]
    48.     $_POST['controller'] = strtolower($_POST['tab']);
    49. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))
    50.     $_REQUEST['controller'] = strtolower($_REQUEST['tab']);
    51.
    52. // Prepare and trigger admin dispatcher
    53. Dispatcher::getInstance()->dispatch();
thanks,

Tomasz

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...