Forum Moderators: coopster

Message Too Old, No Replies

server error 500

I get errors when uploading SOME images

         

Bonusbana

9:07 am on May 29, 2004 (gmt 0)

10+ Year Member



Hi

I made a php image upload class that scales the uploaded image down to reasonable size, and also creates a custom-sized thumbnail. The class works fine - most of the time.

Some times, it gives me an internal server error 500. And the thing is that I never know when this comes up. It is more likely to occur when I upload jpg images taken with my digital camera, so at first I started to think it was something with the color range. If I upload a small simple jpg it never gives me the error.

I also made sure all images had a simple filename with no spaces or special chars.

But then I read some more and many people suggested it could be a permission issue. But that would be strange, since some images work and some dont...

Also, testing on other machines than my own never gave me any problems either. So maybe it is a caching thing?

Any reply/thoughts/help would be greatly aprechiated.

thanx

coopster

7:14 pm on May 29, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



These are always difficult to nail down. Here is a related thread that may help you get started...

GD Upload and Resize Script [webmasterworld.com]

jatar_k

4:46 pm on May 30, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



another thing to look at is the setting for
[ca2.php.net...]