2016-11-28 27 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

相關問題