ZenphotoCMS Forum
first search problem, now archive - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: first search problem, now archive (/thread-2475.html)



first search problem, now archive - qdog - 19-03-2008

Hi there,

i just encountered a problem with the search function in version 1.1.4. Problem was, there were more resultes, but on page 2 and more it says, there aren't. That problem was apparently fixed in 1.1.5.

Now the problem is, that the archive finds something, but when i click a link, there is nothing -> http://www.qdog1.de/qallery/?p=archive

any explanation on that?

edit: i forgot, the archive worked in version 1.1.4




first search problem, now archive - acrylian - 19-03-2008

Please try the nightly build.




first search problem, now archive - qdog - 19-03-2008

width zenphoto-2008-03-18-trunk i get:
Warning: Division by zero in /var/www/sites/qdog1.de/qallery/zp-core/template-functions.php on line 351




first search problem, now archive - sbillard - 19-03-2008

The site seems to be working now. What do you do to get the error above? This could come about if you have set albums_per_page to zero.




first search problem, now archive - qdog - 19-03-2008

mh strange, because the main site doesn't work: http://www.qdog1.de/qallery/




first search problem, now archive - sbillard - 19-03-2008

Somehow your albums_per_page is zero. Check your options.




first search problem, now archive - qdog - 20-03-2008

albums per page ist set to 10, standard i think. Problem must be somewhere else.




first search problem, now archive - qdog - 20-03-2008

wow. it's a little wierd, i updated to the new nightly build from 19-03-08. Problem with "Warning: Division by zero in /var/www/sites/qdog1.de/qallery/zp-core/template-functions.php on line 351" is gone, but now the template won't show the date correct, i only see "js", "F", and "Y" ;-) ..but see for urself: http://www.qdog1.de/qallery/

i can say, it's not a problem with the template function.

and: the archive is corrupt again. it says "Total matches for November 2003: 2" but no pictures are shown. that worked before. ... what did u done? ;-)

to the date: i see, u now use strftime, nice ;-)

but, i think there is a problem with the paging. there are a lot more pages then photos. And is there any blocking for large images, so there is no th generation for that?




first search problem, now archive - acrylian - 20-03-2008

I see the date on your site. Did you fix anything?

Sadly I can now reproduce the archive problem with the current svn 1327, but I don't have any idea why that is so now. Sadly sbillard who is the author of that part is out of town for a week...

No, zenphoto does not block larger images, but your server might. Please check our user guide for that.




first search problem, now archive - qdog - 20-03-2008

yes, i downgraded back to the stable version. now it works, i think. strange. requirements are fulfilled. php has 64mb ram and the problem with big images was only on the new version from 19-03, in stable it works.




first search problem, now archive - acrylian - 20-03-2008

Sadly something serious seems to be broken in the latest svn, i don't get the sized images, too.




first search problem, now archive - qdog - 20-03-2008

ah, another problem, which i fixed temporary with an @:
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /var/www/sites/qdog1.de/qallery/zp-core/exif/makers/gps.php on line 197
that's since version 1.0 i think and is randomly on some images, on reload it's gone.