I get this error when i enter setup/index.php :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
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.
I don't think i did anything wrong....
Posts: 487
Something is misconfigured. Did you run the configure script ?
Or if using ftp, set the permissions properly?
If you can access the page to bring up the error, then check the
webserver error log, it should give you detailed information on what
went wrong.
Posts: 4
Run the configure script? config.php? In my browser or? :???:
Where is the server error log?
Posts: 487
there are two configure files. configure.sh and configure.bat
If you are on unix, run configure.sh, if windows, run configure.bat
If you only have ftp access, then you'll have to follow the ftp instructions
listed elsewhere on the site. Try the FAQ and the User Guide.
Please read through all the installation instructions :wink:
I'm guessing that if you don't know where the error log is, you won't have
access. However, if your host is *nix based, try /var/log/httpd or /var/log/apache
or some such as those are common locations for it.
Posts: 7994
This is FAQ C, 4.10 or 4.11.
-Bharat
Posts: 4
I tried removing the .htaccess file like the FAQ said. Now i can enter setup but with TONS of errors.
Allow the Gallery .htaccess file to set application specific configuration options for the Gallery application. This is controlled by the webserver owner so it's not always possible for you to change it. The main drawbacks to not having this are that you may not be able to upload files > 2MB (eg, big ZIP files) and you may not be able to use mod_rewrite (see below). Warning!
Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory /data/members/free/tripod/uk/p/a/x/paxmayne/htdocs/phpNuke/html/gallery>
AllowOverride Options FileInfo
</Directory>
--------------------------------------------------------------------------------
Check to see if magic quotes are enabled on your PHP server. If they're on, you may notice strange behaviour if you put ' (single-quote), " (double quote) or (backslash) characters in titles or captions in the gallery. Warning!
Magic quotes are on. Your webserver owner can turn them off by putting:
magic_quotes_gpc = Off
in your php.ini file
--------------------------------------------------------------------------------
Check to see if your webserver is compiled with mod_rewrite. Mod_rewrite allows the Gallery to use shorter URLs that are easier to read and look nicer when you mail them to your web-challenged relatives. It's not an essential feature. Warning!
Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on I'd suggest that you make sure that your .htaccess file works and then if it still doesn't work you may need to reconfigure and rebuild Apache with this flag:
--enable-module=rewrite
--------------------------------------------------------------------------------
Check to see if NetPBM is installed so that Gallery can manipulate images (rotate, resize, make thumbnails, etc).
Warning: stat failed for /jpegtopnm (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /giftopnm (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /pngtopnm (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /ppmtojpeg (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /ppmtogif (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /pnmtopng (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /pnmscale (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /pnmfile (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /ppmquant (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /pnmcut (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /pnmrotate (errno=2 - No such file or directory) in functions.inc on line 279
Warning: stat failed for /pnmflip (errno=2 - No such file or directory) in functions.inc on line 279
Warning!
I can't find NetPBM. If it's installed and not in the path of the webserver user that's OK -- you can specify the path to NetPBM by hand on the following page. If it's not installed, you have two choices. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from Gallery on SourceForge or, you can compile and install the entire NetPBM package from NetPBM on SourceForge. Note: You can install the binaries from the Gallery site even if you don't have root access on your box!
--------------------------------------------------------------------------------
Check to see if jhead is installed so that Gallery can examine EXIF headers embedded in images created with most digital cameras. Warning!
I can't find jhead. If it's installed and not in the path of the webserver user that's OK -- you can specify the path to jhead by hand on the following page. If it's not installed, you can install it yourself. jhead is a public domain EXIF parser. Source, linux binaries, and windows binaries can be found at the jhead homepage.
:sad:
Posts: 1
what to do if i got only the permission for my htdocs folder ón my webserver?
Posts: 7994
Cartman, ok all those warnings come with directions. Follow the directions and let us know where you encounter a problem.
Posts: 4
Will do. :smile: