sorry if this in the wrong place, but best fit that i saw ;)
ok, i downloaded the paged cat-manager, to fix the time out problem u hit after 125 cat's or so, that all works great, but i noticed a small bug where lets say u go to page 2, it only shows 1 new category lol, i ran threw the file, i couldnt make heads or tails of what could be affecting this, and i didnt wish to "toy" with it, and in turn break it, so im curious if anyone knows how to fix this?
ty in advance ;)
That is just a quick hack, I don't really want to end up supporting it :)
Try the catmgr.php from the next version and see if that helps.
http://coppermine.svn.sourceforge.net/viewvc/*checkout*/coppermine/trunk/cpg1.5.x/catmgr.php?revision=3471 (http://coppermine.svn.sourceforge.net/viewvc/*checkout*/coppermine/trunk/cpg1.5.x/catmgr.php?revision=3471)
PS. Why do you need so many categories?
lol, i need so many, as thats only the tip of the iceberg. it's part of a collection of anime, and specific games im collecting for a project, unfortunatly, theirs hundreds of such, so takes many categorys :P
and ill give the next 1 a whirl, ty :)
haha, the new version doesnt work at all seemingly...
There is an error here in the modded catmgr.php
$start = isset($_GET['page']) ? $_GET['page']-1 : 0 * CATS_PER_PAGE;
Change that to
$start = (isset($_GET['page']) ? $_GET['page']-1 : 0) * CATS_PER_PAGE;
Nibbler, catmgr.php from 1.5 work great for me. Thanks!!!
The speed is 10x better from my 1.44 file, and I don't need paging... I have 550+ categories!
www.dancepho.com/webga
Sorry for doble post... Now i see that browsing is very fast....I have more than 100.000 images.
Before I have many problems with hosting... with scripts that works more than 30 sec.. now looks very good :)
Thank you for your feedback.
Quote from: krp on July 25, 2007, 09:00:43 PM
The speed is 10x better from my 1.44 file, and I don't need paging... I have 550+ categories!
You're running cpg1.4.4, while the most recent stable release currently is cpg1.4.12, which means that you're lagging 8 versions behind. It is absolutely mandatory (in terms of security) that you upgrade asap.
Thank you! I will upgrade soon!