Re: getimagesize???
by "Data Driven Design" <datadriv(at)datadrivendesign.com>
|
Date: |
Tue, 15 Oct 2002 07:58:37 -0400 |
To: |
"Keith Sellars" <Keith(at)webgraffix.com>, <hwg-languages(at)hwg.org> |
References: |
S0026260871 |
|
todo: View
Thread,
Original
|
|
Warning: getimagesize: Unable to open '' for reading. in
/usr/www/users/chchpd/webadmin/modPage.php on line 32
Is the filename missing from the error message, or did you remove it for
posting here?
If the former, the error is caused because getimagesize() didn't find the
image. Got a snippet of code to look at?
Regards,
Jeff Rossi
Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117
http://www.datadrivendesign.com
----- Original Message -----
From: Keith Sellars <Keith(at)webgraffix.com>
To: <hwg-languages(at)hwg.org>
Sent: Monday, October 14, 2002 9:58 PM
Subject: getimagesize???
> OK, one day after I stated on another list that I hadn't had any problems
> with the conversion to php 4 on our servers, here comes this one. (I'm
not
> sure if it's related to a new version of php or not...)
>
> Suddenly out of the blue I'm getting an error relating to the getImageSize
> function on one of my sites. The error states:
> Warning: getimagesize: Unable to open '' for reading. in
> /usr/www/users/chchpd/webadmin/modPage.php on line 32
>
> The really weird thing is that I haven't touched this script in MONTHS.
I'm
> pulling my hair out (what little bit is left) trying to figure this out.
> Does anyone have any idea what may have caused this script to suddenly
stop
> working? The getimagesize function is still a valid function according to
> the mysql manual, it just doesn't support gif images anymore. Almost ALL
of
> my images are jpg though so that's not the issue. It looks as if it's
> trying to open a file but can't, but even in cases where there is no image
> for it to try to open it does this. (We have "if" statements that check
for
> the existence of an image). As I said, the scripts haven't been touched
in
> months and suddenly stopped working.
>
> ANY help or ideas would be appreciated...
>
> Thanks,
> Keith D Sellars
> WebGraffix
> www.webgraffix.com
>
> "Making database sites seem easy"
>
>
>
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA