RE: [PHP] jpeg thumbnail errors
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
RE: [PHP] jpeg thumbnail errors
tir, 2002-09-17 kl. 09:53 skrev Michael Egan: You would need to recompile PHP so that such support is offered - no mean feat from my own experiences. I gave up :-( What's your exact problem, Michael? I'm so new to PHP4 (done nothing at all with PHP for the last 3-4 years, now I need to), that I'm reading, practicing reading etc. I don't even have any questions, yet, I'm so green. But I *do* know that I have compiled in jpg and png support to PHP 4.2.3 (phpinfo). On Red Hat 7.2 +++, './configure --with-gd' - and other things, of course. Best, Tony -- Tony Earnshaw Tha can allway tell a Yorkshireman, but tha canna tell 'im much. e-post: [EMAIL PROTECTED] www:http://www.billy.demon.nl gpg public key: http://www.billy.demon.nl/tonni.armor Telefoon: (+31) (0)172 530428 Mobiel: (+31) (0)6 51153356 GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981 3BE7B981 signature.asc Description: Dette er en digitalt signert meldingsdel
RE: [PHP] jpeg thumbnail errors
Tony, When I first began dabbling with PHP a year or more ago I did try to reconfigure PHP to gain support for PDF files. I was using SUSE 7.0 at the time. I was determined to get to grips with configuring packages such as PHP, Apache and MySQL but I seemed to run into one problem after another. I'm determined to have another go at this. With this in mind I've set one computer up with an older Linux distribution and intend to have a go at LFS over the next few weeks. Hopefully I will eventually overcome my fears of configuring software on a Linux system. Thanks for the help. Michael Egan -Original Message- From: Tony Earnshaw [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 11:44 To: Michael Egan Cc: [EMAIL PROTECTED] Subject: RE: [PHP] jpeg thumbnail errors tir, 2002-09-17 kl. 09:53 skrev Michael Egan: You would need to recompile PHP so that such support is offered - no mean feat from my own experiences. I gave up :-( What's your exact problem, Michael? I'm so new to PHP4 (done nothing at all with PHP for the last 3-4 years, now I need to), that I'm reading, practicing reading etc. I don't even have any questions, yet, I'm so green. But I *do* know that I have compiled in jpg and png support to PHP 4.2.3 (phpinfo). On Red Hat 7.2 +++, './configure --with-gd' - and other things, of course. Best, Tony -- Tony Earnshaw Tha can allway tell a Yorkshireman, but tha canna tell 'im much. e-post: [EMAIL PROTECTED] www:http://www.billy.demon.nl gpg public key: http://www.billy.demon.nl/tonni.armor Telefoon: (+31) (0)172 530428 Mobiel: (+31) (0)6 51153356 GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981 3BE7B981 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php