mwegier Posted March 7, 2013 Share Posted March 7, 2013 Hello, I have problem with category position and displayed on/off after upgrade from 1.4.4 to 1.5.3. When I want to change displayed on/off categories, on screen I`ve got this : [PrestaShopException] Property Category->link_rewrite is empty at line 872 in file classes/ObjectModel.php 866. 867. $message = $this->validateField($field, $value, $id_lang); 868. if ($message !== true) 869. { 870. if ($die) 871. throw new PrestaShopException($message); 872. return $error_return ? $message : false; 873. } 874. } 875. } 876. ObjectModelCore->validateFieldsLang - [line 305 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFieldsLang - [line 637 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->update - [line 209 - classes/Category.php] - [1 Arguments] CategoryCore->update - [line 763 - classes/ObjectModel.php] - [1 Arguments] ObjectModelCore->toggleStatus - [line 224 - classes/Category.php] - [0 Argument] CategoryCore->toggleStatus - [line 796 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->processStatus - [line 541 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->postProcess - [line 521 - controllers/admin/AdminCategoriesController.php] - [0 Argument] AdminCategoriesControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - admin76/index.php] - [0 Argument] And i can`t change category positions Anyone know what could be wrong? Thanks Michal Link to comment Share on other sites More sharing options...
NemoPS Posted March 9, 2013 Share Posted March 9, 2013 As the error says, the category you're trying to update has the link rewrite field empty, try reaching that category's config pag in the back office, and see it there is a link rewrite (friendly url). if you can't access there either, write down the category ID, go to your PHPmyadmin, then ps_category_lang table. Locate the category with that ID, and add something in the link_rewrite column Link to comment Share on other sites More sharing options...
mwegier Posted March 12, 2013 Author Share Posted March 12, 2013 Thank You Nemo1, Your suggestion has helped, there was any Friendly url in Categories. But one problem still remains. There is no possibility of categories positioning. In attachment are print screens, maybe it would help resolve problem. Regards Michal Link to comment Share on other sites More sharing options...
Recommended Posts