Getting 500 Error viewing password protected album on mobile

I just received news from a user that when they tried to view a password protected album on their phone, they received a 500 error and could not enter their password.

http://order.steinphotography.us/2013-02-09-sara/

This gallery works properly in all desktop web browsers I have tried. But, I too, get the error on my phone (Lumia 920). Any idea what could be causing this issue?

/Edit/

If I am logged in as admin on my phone, all the galleries work properly. So it seems like this is something to do with the password entry page. Maybe something with the authentication/cookies?

Thanks in advance for any help.

Comments

  • You can try the 1.4.4.2 release, but be aware that there seems to be a problem with it on some servers. see https://github.com/zenphoto/zenphoto/issues/271
  • elrol Member
    Yes, that seemed to work.. now I am having problems with the i.php rendering images for me in the application and when manually creating cached versions of the galleries.. I get the following error message.

    You are not authorized to access the webpage at http://order.steinphotography.us/zp-core/i.php?a=/lewellen&i=IMG_3246-2.jpg&s=75&cw=&ch=&q=100. You may need to sign in.

    Any idea how to fix this?
  • acrylian Administrator, Developer
    Where do you get that? You cannot access i.php urls that way directly. The security token is missing. If you need to precache use the cache_manager. Did you do that?
    What is in the error logs?
  • elrol Member
    Ok, what I had to do was re-install the app from the ground up. Maybe had something to do with trying to upgrade older version.

    I am having another issue now with the cacheManager plugin. I am trying to cache each gallery but on the page that loads all the cached images, all I see is broken images where the cached images should be. Is this a file/directory permission issue?

    Any help is greatly appreciated.
  • Click on one of the broken images. That will take you to a debug page.
  • elrol Member
    when I run the cache process, it just returns broken images. When I click on the broken image, it takes me to that debug page with the image loaded on it. It seems the cache process is not generating the 'sized' version until I click on the broken image.
  • Sounds more like your browser is not waiting long enough for the images.
  • elrol Member
    I thought that also, but I don't think that is it either. I let it wait and then I even looked at my cache folder via ftp and there are no new files being created.

    I hate to say this, but this upgrade cycle has been incredibly difficult :(

    But I still love ZP :) It is still the best gallery app out there. This cache-ing thing is my last hold up this time around.
  • elrol Member
    Can I private message you my admin creds so you can see what I am talking about ?
  • elrol Member
    or is there a way to chat live? Via IRC or google chat or something.
  • Issues should be filed on GitHub. But there are really only two possibilities:

    Something is faulting on your site, in which case there will be a message in your error logs somewhere

    The browser is not waiting, in which case when you use the refresh button those images will no longer appear.
  • elrol Member
    Understood.. I created a new album with its own new directory and then it seems to work properly.. so that might be a fix for now and then I should not touch the cached files again once created.

    I will continue to monitor it and see if I can notice any inconsistencies.

    As always, thanks for your guidance!
Sign In or Register to comment.