Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

image/file creation with 4.4.1

0 views
Skip to first unread message

Ulf Schleth

unread,
Nov 1, 2005, 9:05:16 PM11/1/05
to
hi,

since i switched from 4.3.11 to php 4.4.1, i do have problems with scripts
which use the 'resize.php' class (see
http://www.phpclasses.org/browse/file/4571.html ) with following
error-messages:

PHP Warning: imagejpeg(): Unable to access
/www/www.bla.de/dbimages/image/60_kl.jpg in
/www/www.bla.de/admin/resize.php on line 136
[01-Nov-2005 20:35:16] PHP Warning: imagejpeg(): Invalid
filename '/www/www.bla.de/dbimages/image/60_kl.jpg' in
/www/www.bla.de/admin/resize.php on line 136

file-permissons of script and files are correct,
safe_mode ist on, safe_mode_gid also. here is the related row from
resize.php:

imageJPEG($this->img["des"],"$save",$this->img["quality"]);

this doesn't work, when i am trying to create a new image-file,
but it does if i overwrite one. an image which is written directly by the
script which includes resize.php, is written properly.

an idea, anybody?

thanks,
u.

rolir...@yahoo.de

unread,
Nov 7, 2005, 1:35:16 AM11/7/05
to

Ulf Schleth schrieb:

This is a bug in PHP 4.4.1 :
bugs.php.net/bug.php?id=35060

0 new messages