473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

image/file creation with 4.4.1

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.
Nov 2 '05 #1
1 1699

Ulf Schleth schrieb:
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.


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

Nov 7 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ywg | last post by:
I'm generating an image using several PHP image routines: imagecreatefromjpeg, imagejpeg, etc. The PHP file containing these routines is meant to be included on web pages just like regular...
7
by: Nathan Sokalski | last post by:
I have been trying to find a way to prevent the images on my site from being cached on the user's machine. I want to avoid this because the images used in an Image control often change, yet have...
5
by: Tompa | last post by:
Hi, I would like to create images on the fly as a response to an http request. I can do this with PIL like this (file create_gif.py): from PIL import Image, ImageDraw print 'Status: 200 OK'...
7
by: MVM | last post by:
I am using SQL server and ASP to create a webpage and display images directly from the database. My code is working fine, the issue I am having is when a photo is not in the database. For...
6
by: Roger | last post by:
I have a report with a image displaying our company logo if I create an snapshot of this report, it appears to create an 'snp' file, but nothing is stored in the folder I tried both linked and...
8
by: Lars Netzel | last post by:
Hey! I wrote a message yersterday and got some good answers and have now managed to generate a nice image. The problem is that it's all generated in an Images.Aspx file and I don't really want...
8
by: Alexander Fischer | last post by:
Hello, I am writing a gallery script and use imagecreatefromjpeg and fpassthru to output images without any change to them (i.e., no thumbnail creation etc. - just deliver the image via the php...
7
by: Ben | last post by:
Hi We are looking for a component that offers that offers the below for Tiff files: Image clean-up (deskew, despeckle) Printing capabilities from VB The ability to add text to image, e.g....
7
by: dino d. | last post by:
Hi- I want to create a dynamic image with areas so that when the user clicks different areas, the user jumps to those pages. The problem is, I can't seem to figure out how to do this efficiently....
1
by: neovantage | last post by:
Hey all, I am using a PHP script which creates headings at run time in a sense at page execution. I am stuck a with a very little problem which i am sure i will have the solution from experts. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.