2016-11-28 28 views
0

我想要的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/的Prestashop 1.6.1.4 - 根类别必须是

但现在,安装后,当我转到管理>目录,我得到:

[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] 

$值为空

注:我想是因为我调试安装此特定版本:

Cannot save or edit product data in Prestashop 1.6.1.4

+0

你如何安装这个新的店?使用标准的Prestashop安装方法?据我所知,这个版本没有安装问题。祝你好运。 – PixelWeb

回答

0

你提到的错误,如果家庭类是无论如何删除出现。尝试添加一个家庭类别,使其成为根类别。

欲了解更多详情,您可以访问:

http://forge.prestashop.com/browse/NM-606

相关问题