Internal Server Error

I'm having trouble installing v1.3.1.2 of ZenPhoto. I have a installation of 1.2.9 working happily on the same server but I'm getting a 500 Internal Server Error when I try load setup.php in my browser. The installation has been extracted fresh from the zip on the server and all the permissions are correct as far as I can tell.

Comments

  • acrylian Administrator, Developer
    This is mostly related to a wrong or missing .htaccess file but the option for modrewrite links enabled. Setup provides an option to generate that file. Otherwise you can copy the template from /zp-core manually as well (please do a forum search as well we had this quite often)

    I have removed your link. Better not to expose that on a forum to long..;-)
  • I copied the .htaccess file from zp-core, still no joy :(
  • Just copied? That is highly unlikely to work. Why not let setup create it properly? Just remove any .htaccess you have in the root and run setup. It will offer to make one for you.

    Just fyi, the file in zp-core is "htaccess" (without a period) and probably has the wrong rewrite base. The file in the root musst be ".htaccess" and have a correct rewrite base.
  • The setup is not loading at all, when I try either loading the root or /zp-core/setup.php, just a 500 Internal Server Error
  • You will need then to discuss this with your service provider. If Zenphoto is unable to load there is not much it can do.

    500 errors are often permissions errors, but they could also be caused by other things mis-configured on the server.

    Does the 1.2.9 version still run? Have you tried upgrading to 1.3.0?
  • nmec Member
    Sorry to bring this back up but it's still not working and I'd like to fix it.

    1.2.9 still works but anything more recent than that throws up a 500 Server Error.

    What should the permissions be? I'm on a VPS with root access so can tinker about with the Apache configuration if need be.

    Thanks for your help.
  • Unfortunately, there is no way we can answer your question. Ideally you would set "strict" permissions and all would be fine. But, depending on the mis-configurations of a particular server this may not work.

    You can try with "loose" permissions and see if that will work. If so, tighten them up until it no longer works. Beyond that you will have to work with your provider to understand what is the root cause of the 500 error.
Sign In or Register to comment.