got it up and configured, but now gallery won't show; internal server error

still can't get it to work. below is the error message I'm receiving. I tried ftping the folder and also manually uploading each file through the Zen interface, still get this. ???

http://haute.cc/hauteblog/zenphoto

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Comments

  • try turning modrewrite off in the zp-config.php
  • 1) sorry; can you tell me exactly what code to insert into my .htaccess to correct the path information? I don't think it's correct (it's not going all the way to /album)

    // MAKE SURE TO EDIT THE .htaccess FILE with your path information.

    2) is this the line that needs to be changed to turn Apache mod-rewrite off? I don't really want to turn it off, I'm picky about cruft-free URLs and I like the idea of my blog running voodoo Apache, but I want to try it to see if it will make zenphoto work. can you replace this with the correct code to turn it off?

    $conf['mod_rewrite'] = true;
  • This is NOT resolved. I am having this same persistent issue. After reading everything over on these forums the issue is not resolved and am getting exact same error no matter what is changed. When going to "View Gallery" I get the same error message as above:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    I have tried to turn mod-rewrite off, to no avail, same error. My database is set up correctly and the pop-up in Wordpress loads my zenPhoto albums and images. I am able to add my zenPhoto images into posts easily.

    The problems arise when in the zenPhoto admin panel and going to "View Gallery" It never loads and always gives the same 500 Internal Server Error.

    My zenphoto directory is setup outside of my wordpress directory. This is using the most current builds of all programs involved. I have tried everything talked about in these forums, manually, and by running setup.php, and upgrade.php. It seems that it just can't find the right path, but in htacces and zp-config.php it is setup with the correct path. http://www.MY_DOMAIN.com/zenphoto/

    After getting the internal server error, if I type in to the URL manually, /zenphoto/albums/MY_PHOTO.jpg

    It loads the directory and image but the Gallery never loads. I have tried using multiple gallery templates with same results.

    Any help would be appreciated!

    devin
    dada1one@mac.com
  • Most of these kinds of errors that I have seen are caused by problems in the .htaccess file. If you have mod_rewrite turned off, try removeing the .htaccess file.

    The url /zenphoto/albums/MY_PHOTO.jpg is direct to the image, so it won't load any zp PHP files.
  • Thanks,

    when I remove the .htaccess file

    I get this error under setup.php

    .htaccess file [wrong version]

    You need to upload the copy of the .htaccess file that was included with the zenphoto distribution.
  • Still the same error message after removing the .htaccess file. Everything else works, just can't view the gallery.
  • Ignore the error and try visiting your gallery.
  • I did ignore the error. I have mod_rewrite turned off, and the .htaccess file removed. When going to visit the gallery I get the same Internal Server Error and cannot get the gallery to load.
  • okay, I figured something out. I was installing in a sub-domain of my main domain so the .htaccess file for that entire directory/domain name had a Redirect Rule ON and Redirect rules for the sub-domain name to show up in the browser URL as it's own.

    My new install in the main domain allows everything to work easy/breezy.

    Seems like a of of these problems are coming from conflicting .htaccess files and which directory the zenphoto install is in. Anyone have an idea of what syntax to add to the sub-domain .htaccess file that will redirect the Gallery to were it sits in the sub-domain?
  • trisweb Administrator
    "Internal Server Error" almost always means exactly what it says -- the server configuration has an error. You have to be careful with .htaccess because it allows you to override the server configuration for individual directories, and it can screw up other directories under it.

    As a general rule, you should never try to rewrite on two directory levels separately. Unpredictable things can happen.

    To answer your question, you can always do a redirect in a mod_rewrite block using something like this:

    `RewriteRule /zenphoto http://www.mydomain.com/photos [R,L]`

    `[R,L]` tells apache to redirect to the 2nd URL. The URL is not rewritten (as in, it will show http://www.mydomain.com/photos in the address bar), but redirecting usually works better when going across domains/subdomains.
Sign In or Register to comment.