Generaal Posted June 7, 2013 Share Posted June 7, 2013 (edited) Hello, I have the follow prob, when I tray to save any field in the categorie. I use V&.5.4.1 and almost everything are default, the thene and have only installed the modules, provide from PS. The only thing I have chance are the line for the ability to installing the Analytics for ecommerce. [PrestaShopException] Property Category->date_add is not valid at line 837 in file classes/ObjectModel.php 831. 832. $message = $this->validateField($field, $this->$field); 833. if ($message !== true) 834. { 835. if ($die) 836. throw new PrestaShopException($message); 837. return $error_return ? $message : false; 838. } 839. } 840. 841. return true; ObjectModelCore->validateFields - [line 265 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFields - [line 599 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->update - [line 209 - classes/Category.php] - [1 Arguments] 203. }204. foreach ($assos as $shop)205. $this->addPosition(Category::getLastPosition((int)$this->id_parent, $shop['id_shop']), $shop['id_shop']);206. }207. $this->cleanPositions((int)$this->id_parent);208. $ret = parent::update($null_values);209. if (!isset($this->doNotRegenerateNTree) || !$this->doNotRegenerateNTree)210. {211. Category::regenerateEntireNtree();212. $this->recalculateLevelDepth($this->id);213. } CategoryCore->update - [line 754 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->processUpdate - [line 661 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->processSave - [line 539 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->postProcess - [line 531 - controllers/admin/AdminCategoriesController.php] - [0 Argument] AdminCategoriesControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - RM/index.php] - [0 Argument] Have enyone a suggestion? Best Regards, Generaal Edited June 7, 2013 by Generaal (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 7, 2013 Share Posted June 7, 2013 you've got fresh install or maybe you updated store (to 1.5.4.1) ? Link to comment Share on other sites More sharing options...
vekia Posted June 7, 2013 Share Posted June 7, 2013 + check this: http://www.prestashop.com/forums/topic/215759-problema-meta-keywords-solucionado/ Link to comment Share on other sites More sharing options...
Generaal Posted June 7, 2013 Author Share Posted June 7, 2013 Hello vekia, I have started from a fresh clean installation, but I work with them, more dan serveral weeks, and have no probs encounterd. I have see, today, that I can sometimes add some info in the category fields, but not everytime a won't it..The errorpage popups and I can't see, what's going wrong. I go to read your tread and inform you back. Thnx so for for your help. Generaal Link to comment Share on other sites More sharing options...
Generaal Posted June 7, 2013 Author Share Posted June 7, 2013 Sorry, but I do understand the spanish lang...Coul't you explain it in english? Thnx. Link to comment Share on other sites More sharing options...
vekia Posted June 7, 2013 Share Posted June 7, 2013 sure no problem, try to run this query: UPDATE ps_category SET date_add = sysdate() WHERE id_category > 2; (hope you've got an access to the phpmyadmin) similar issue (with the same solution) http://www.prestashop.com/forums/topic/216559-category-image-upload/ 2 Link to comment Share on other sites More sharing options...
Generaal Posted June 7, 2013 Author Share Posted June 7, 2013 Thanks a lot for your help, vekia!! The prob are solved!! Best Regards, Generaal Link to comment Share on other sites More sharing options...
vekia Posted June 7, 2013 Share Posted June 7, 2013 awesome you're welcome im going to mark this thread as [solved] regards! Link to comment Share on other sites More sharing options...
Denny.Louis Posted June 24, 2013 Share Posted June 24, 2013 This Query solved my headache, thank you very much @ Vekia Link to comment Share on other sites More sharing options...
Recommended Posts