bside2234 Posted October 10, 2012 Share Posted October 10, 2012 This error pops up when I try to add a picture while creating a category. 2 errors Object cannot be loaded (not found) Object cannot be loaded (not found) The category creates but no image. I have to go back and click the edit to add an image and then all is good. The extra steps kind of suck when adding a lot of categories. It does it in subcategories also. What I'm doing is creating the category without an image and going back via edit and add the picture. I don't get the error this way so I'm pretty sure it's an image upload issue just with the initial category creation. Link to comment Share on other sites More sharing options...
kelemvor Posted October 14, 2012 Share Posted October 14, 2012 Exact same problem here. Any luck yet? Adding the exact same image the second time around works just fine. Link to comment Share on other sites More sharing options...
bside2234 Posted October 20, 2012 Author Share Posted October 20, 2012 Nope. Haven't figured it out yet. It's just more time consuming going back to do it. Link to comment Share on other sites More sharing options...
bside2234 Posted October 20, 2012 Author Share Posted October 20, 2012 (edited) I think I got it: Edit the file AdminController.php (located in the directory /classes/controller): Lines 1045 to 1049. replace four instances of: $this->object to $this->_object So the corrected code would look like this: if (!$this->_object) $this->_object = new $this->className($id); if (Validate::isLoadedObject($this->_object)) return $this->_object; I added a few categories after doing this and it seemed to work. Edited October 20, 2012 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts