can't delete category

Before you ask see the Phoca Gallery User Manual
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Mar 2013, 09:00

can't delete category

Post by alienarchive » 21 Mar 2013, 10:25

I have forgotten to delete image and category through component before moving and re-naming the files in FTP.
Now I wanna delete categories in phoca gallery component but it doesn't work, says

"Category(ies): 'XXXX' cannot be removed as it contains (they contain) Items. There may currently be Image(s) within the Category which you must delete first."

even i restore the files with original floders and file names, they are not shown in "images" anymore, but the category is still there...

:x what should I do now in order to delete category ?

User avatar
Phoca Hero
Phoca Hero
Posts: 38837
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: can't delete category

Post by Jan » 22 Mar 2013, 02:19

Hi, first you need to remove all the images from the category - there must be some because while deleting category the test tries to find some - if they are not displayed in your admin, try to load the in e.g. phpmyAdmin and delete them directly in the database :idea:

If you find Phoca extensions useful, please support the project

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest