Generaal Posted June 6, 2013 Share Posted June 6, 2013 (edited) Beste forumers, Ik run v.1.5.4.1 Alles is tot nu toe vrij goed verlopen ivm het cvs importeren van categorieen en producten. Nu wilde ik de foto's en tekst toevoegen aan de categories, met volgende foutmelding als ik de wijziging wil opslaan. Ik heb verder niets in 'n bestand aangepast gehad, behalve in Moduules\ganalytics, header.php Volgens 'n aanwijzing op het Engelstalig forum, ivm het niet kunnen installeren van de module 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] Vriendelijke groet, Generaal Edited June 7, 2013 by Generaal (see edit history) Link to comment Share on other sites More sharing options...
Generaal Posted June 7, 2013 Author Share Posted June 7, 2013 Probleem opgelost!! Antwoord gekregen van vekia, op het engelse forum: 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.prestasho...y-image-upload/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now