can't delete category

Phoca Gallery - image gallery extension
alienarchive
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Mar 2013, 09:00

can't delete category

Post by alienarchive »

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
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: can't delete category

Post by Jan »

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:

Jan
If you find Phoca extensions useful, please support the project
Post Reply