Cannot access to album admin page

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

  • acrylian Administrator, Developer
    If you have read on our troubleshooting you would know that pre-cache is not necessary at all.

    Did you disable the visual thumbs selection for the album thumbs on the backend? How much images have you per album?
  • Each album has got from 3 to 60 subalbums and each subalbum has got from 60 to 200 images. Total 842 album and 166294.
    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
  • acrylian Administrator, Developer
    I haven't disabled nothing because i can't access to album admin page trought zenphoto script (504 gateway time-out).

    You spoke of the album admin page and not the admin backend in general. You will have to look at your server error log to find out what exaclty caused the issue.

    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'm spoking about album admin backend pages.
    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?
  • acrylian Administrator, Developer
    Please try to be specific, otherwise you will get more questions instead of answers. The album edit page is only one of the backend pages.

    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.
  • In the admin backend all the albums pages are unusable (all pages under the "albums tab" are unusable).
    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..
  • acrylian Administrator, Developer
    Again, check that your images are not bigger than your server can handle. Also consider that your server might not be up to the task you want it to do.
  • How can i force manually an album re-cache without using admin backend panel?
    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)?
  • The caching is not done in the database, so no query. Just view the album images and they will be cached.

    If you really mean "re-cache" then you have first to clear the cache of any images you want re-cached.
  • I've added some images in one album but they do not appear. I can see it only logged as admin (no cache), but other users can't view it. I need to re-cache the entire album. How can i do it? If i view the album (as admin or not) nothing appear.
  • Well, I doubt that the cache is involved at all in your problem. If you can see the images logged on then they will have been put into the cache. But since you say you can see them but other users cannot I would expect that your images or album are not published.

    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.
  • My albums are all published and i've added some images in one album (name NO1).
    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.
  • acrylian Administrator, Developer
    Make sure that the images itself are also published.
  • The images are published.
    Can you tell me what's file/class/method do the caching? I can manually force an execution.
  • acrylian Administrator, Developer
    The image processor itself is i.php. But if you visit your site pages that does the same. Any errors in the server log?
  • Again, the symptoms you describe exactly match having unpublished albums/images. Check again. This is not a caching issue. If it were you would not see the images in any case.

    You should also check that you do not have the static cache plugin enabled while you are building your albums.
Sign In or Register to comment.