getimagesize: Unable to open
Posted: Wed 11. Feb 2004, 20:17
I'm getting the following error:
I've changed the file perms to 777 to no avail, so I looked at the code:
...which looks OK compared to my other installations (on the same server).
Funnily enough the site works absolutely fine, this "bug" only just occured... after I uploaded an image to the db and added it as "image/html" content to an article. The image uploads fine and is resized, etc. I've also tried different images and different articles, etc. All to no avail
Any help would be much appriciated since this is a live production site!
MTIA
axelS
Code: Select all
Warning: getimagesize: Unable to open '.../content/images/1_13_s50QgaDo9V-68x70.jpg' for reading. in .../include/inc_front/content.article.inc.php on line 176
Code: Select all
$iinfo = getimagesize(PHPWCMS_ROOT."/".$phpwcms["content_path"].$phpwcms["cimage_path"].$ival[8]); // Check whether image exists
Funnily enough the site works absolutely fine, this "bug" only just occured... after I uploaded an image to the db and added it as "image/html" content to an article. The image uploads fine and is resized, etc. I've also tried different images and different articles, etc. All to no avail
Any help would be much appriciated since this is a live production site!
MTIA
axelS