Warwick,
There are different ways of compiling PHP which will determine which elements it can support. The first error you report shows that the particular build of PHP being used hasn't been compiled to create images from JPEGS. The remaining errors flow on from this as no image has been supplied to them. You would need to recompile PHP so that such support is offered - no mean feat from my own experiences. I gave up :-( Michael Egan -----Original Message----- From: Warwick Berg [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 00:08 To: [EMAIL PROTECTED] Subject: [PHP] jpeg thumbnail errors Hi all I know very little about PHP and am enquiring for a mate who's got some problems. Could some kind soul tell me what the errors below might mean? He's using PHP 4.1.2. I can supply the scripts that cause the error if that will help? He says they occur when a jpeg is being uploaded and created into a thumbnail. Thanks in advance. Thanks Warwick When a jpeg is being uploaded and created into a thumbnail: Warning: ImageCreateFromJpeg: No JPEG support in this PHP build in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 167 Warning: Supplied argument is not a valid Image resource in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 168 Warning: Supplied argument is not a valid Image resource in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 169 Warning: Supplied argument is not a valid Image resource in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 171 Warning: ImageJpeg: No JPG support in this PHP build in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 172 Warning: ImageCreateFromJpeg: No JPEG support in this PHP build in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 167 Warning: Supplied argument is not a valid Image resource in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 168 Warning: Supplied argument is not a valid Image resource in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 169 Warning: Supplied argument is not a valid Image resource in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 171 Warning: ImageJpeg: No JPG support in this PHP build in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php on line 172 Warning: Cannot add header information - headers already sent by (output started at /home/hsphere/local/home/nexcen0/datnet.org/classifieds/common.php:167) in /home/hsphere/local/home/nexcen0/datnet.org/classifieds/account.php on line 91 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php