Post by jty » Thu Feb 12, 2009 11:16 pm

tried deleting a category
Checked the tick box beside "Components"
Then clicked Delete Button

Result
Fatal error: Call to undefined method ModelCatalogCategory::delete() in C:\myData\wwwroot\Devel\v1\admin\model\catalog\category.php on line 34

[note: I changed desktops to have Components as its Parent category (if that makes a difference)]

Then i tried to delete laptop and notebooks
Result
Fatal error: Call to undefined method Cache::deleteCategory() in C:\myData\wwwroot\Devel\v1\admin\model\catalog\category.php on line 37

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by bocah » Fri Feb 13, 2009 12:52 am

Hi i found the same error on line 34 and line 37, already fixed it.

go to admin/model/catalog

edit catalog.php

line 34
$this->delete($result['category_id']);
change to
$this->deleteCategory($result['category_id']);

Line 37
$this->cache->deleteCategory('category');
Change To
$this->cache->delete('category');

hopefully help.

Newbie

Posts

Joined
Fri Feb 13, 2009 12:45 am

Post by Daniel » Fri Feb 13, 2009 2:53 am

I released 1.1.5 and it is definitely fixed this time round.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 62 guests