Page 1 of 1

Internal server error

Posted: Tue May 01, 2007 11:19 am
by grebogreen
Im totaly new to this gd2 thingy and only aware of it because of a script I'm trying.
I'm using 68classifieds php script and when I try to upload an image through the script I get the following error.
Don't know who to turn to for help or even know what the problem is.

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

Please contact the server administrator, hosting-support@pipex.net 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.


--------------------------------------------------------------------------------

webfusion.co.uk/httpd Server at http://www.horsemania.co.uk Port 80

Posted: Tue May 01, 2007 11:23 am
by John Cartwright
With the little information you've provided us, I doubt anyone will have an answer for you. The more the better.

Posted: Tue May 08, 2007 2:32 am
by grebogreen
As I said, don't realy know what the problem is, would't know what info would be useful.
All I can realy say is that I'm using this classifieds PHP script that a user in the process of using it has to upload images.
It should, upload the image to a temp directory, then create an image 400px wide in Photo dir and a 150px in the thumbs dir.
If the upload image is very small around 200k it seems to work. If it's larger I get the internal server error. The original uploaded image is in the photo dir at original file size and nothing in thumbs.
I'm on a shared server so dont have access to php.ini and don't know where temp dir is.
I have tried creating my own php.ini file in my root dir and it does seem to do something. The line upload_max_filesize = 4096 stops the internal server error and gives an error from the script saying something about "empty file, try again". But no images will upload like this, even the small ones.
http://www.horsemania.co.uk/phpinfo.php