I've upgraded to last release (1.4.0.2) but i still can't access to single albums admin page.
The script load until "time out" and nothing is shown.
This is because the large amount of images in my albums (more than 160000) and i can't use "pre-cache" because it goes to time out.
How can i solve?
Comments
Did you disable the visual thumbs selection for the album thumbs on the backend? How much images have you per album?
I haven't disabled nothing because i can't access to album admin page trought zenphoto script (504 gateway time-out).
The only this that i've modified was the sort_type writing directly a sql query on db
If you have a lot of images that are also quite big dimensions wise so your server can't handle your server is too small for what you want to do. Please see the troubleshooting about that. Also please search the forum on similar issues.
I've already searched in the forum and in the troubleshooting but i haven't find a solution.
Reading here: http://www.zenphoto.org/support/topic.php?id=6408
if i manually put a thumb on each album trought sql i'll be able to use admin backend?
Yes, setting the album thumbs manually might help, as well for the theme side. At least don't use the random setting which naturally might be slow with that much images. Also as already mentioned you should disable the visual thumb selection so that no thumb is shown in the dropdown selection. This also might slow down on big sites.
The "visual thumb selection" is disabled and also all the "EXIF display" information are disabled and i'm using the default theme.
I've also tried to put manually in the db the thumb filename but nothing changed..
As i wrote i can't use it due to server timeout but i can manually wrote query to the db.
What's the query to recache the album /zenphoto-path/albums/NO1/ (and his subalbums)?
If you really mean "re-cache" then you have first to clear the cache of any images you want re-cached.
Your choices are to either use the caching of albums button (which you say is a problem) or to view the images each individually (which you also say is a problem.)
What exactly do you see when you view the image as logged in? Your statement above is not clear. In one sentence you say you see it as logged in in the next you say you do not see it.
I can see the album NO1 in each condition (logged or not). But if i'm logged i can see the new photos i've added, if i'm not logged i can't see it, i only see the older.
And also if i am logged and i manually open the new images they are not cached for anonymous users.
Can you tell me what's file/class/method do the caching? I can manually force an execution.
You should also check that you do not have the static cache plugin enabled while you are building your albums.