我正在尝试全新安装prestashop 1.6.1.4,首先我得到了SQL error on query All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
并使用了以下解决方案https://www.prestashop.com/forums/topic/480947-error-presta-on-server-2012-r2-sql-error-on-query-all-parts-of-a-primary-key-must-be-not-null/
但现在,安装完成后,当我转到管理员>目录我得到:
[PrestaShopException]
Root category must be an integer value
at line 212 in file classes/helper/HelperTreeCategories.php
207. }
208.
209. public function setRootCategory($value)
210. {
211. if (!Validate::isInt($value)) {
212. throw new PrestaShopException('Root category must be an integer value');
213. }
214.
215. $this->_root_category = $value;
216. return $this;
217. }
HelperTreeCategoriesCore->setRootCategory - [line 2504 - controllers/admin/AdminProductsController.php] - [1 Arguments]
AdminProductsControllerCore->initContent - [line 189 - classes/controller/Controller.php]
ControllerCore->run - [line 367 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 58 - admin1/index.php]
$ value为空
注意:我正在尝试安装此特定版本,因为我正在调试:
答案 0 :(得分:0)