Unable to delete category in gallery 4.1.1

Phoca Gallery - image gallery extension
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Unable to delete category in gallery 4.1.1

Post by hmayer1980 »

Hi Jan,

I use gallery 4.1.1 on Joomla 3.3.1.
Last time I created a unnecessary category. (I only work in the joomla admin page - no user uploads or...)

I then tried to delete the category, but the delete button does not do anything. The category stays - no massage whatsoever.

Maybe you can have a look into it.
Its not a functionality I need every day anyway.

Finally I deleted the record from the database table manually..

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unable to delete category in gallery 4.1.1

Post by Jan »

Hi, hmm, did you try to test with with enabled e.g. firebug - to test if there is no javascript error when clicking on delete button - this seems like some javascript error prevents from running delete function :idea:
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan
If you find Phoca extensions useful, please support the project
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Unable to delete category in gallery 4.1.1

Post by hmayer1980 »

Hi,

I solved the mystery?
If I delete the category while I am in paging mode (20 Categories out of 1250) the deletion works, but when I turn off paging (show all entries in one page) the deletion does not work.... to many rows?

Just to verify I enabled to Google Crome Javascript Console..

The Only Message that appread in the round Trip after hitting delete was

"

Code: Select all

Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)
"

Dont know why it does not work while showing 1250 categories, it works while showing only 20 categories...

Thanks anyway
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unable to delete category in gallery 4.1.1

Post by Jan »

Hi, the error in console - it is some style warning, this is not related to this problem.

Pagination - yes, this is why there is a pagination - not sure if javascript can have a problem with so many rows, but I think, the server (php, apache) will have problems to load all the items - so I think, you should test it with e.g. pagination 100 ( all items should be loaded correctly, javascript will not have any problem and the it is Ok for managing - e.g. deleting 1000 items means 10x clicking on delete button, which is better then to not have any chance to delete :idea: )

Jan
If you find Phoca extensions useful, please support the project
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Unable to delete category in gallery 4.1.1

Post by hmayer1980 »

It works with pagination 100 too.

OK, thats fine then - must be a size issue somewhere...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unable to delete category in gallery 4.1.1

Post by Jan »

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