error : No JPEG read support

See all posts Reply

error : No JPEG read support new!
by pfpro, 17 years, 6 months ago
Having trouble with a special server:

Log says:
error : No JPEG read support
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : wintergarten_neu_zeitungsartikel_big.jpg
file_src_name_body : wintergarten_neu_zeitungsartikel_big
file_src_name_ext : jpg
file_src_pathname : /tmp/phpkJ1vcD
file_src_mime : image/jpeg
file_src_size : 67807 (max= 5242880)
file_src_error : 0
process file to /var/www/web25/html/media/news/6/
- file size OK
- file mime OK : image/jpeg
- new file name body : news_thumb
- file name safe format
- destination variables
file_dst_path : /var/www/web25/html/media/news/6/
file_dst_name_body : news_thumb
file_dst_name_ext : jpg
- image operation, change extension for conversion type
- no auto_rename if same filename exists
- destination file details
file_dst_name : news_thumb.jpg
file_dst_pathname : /var/www/web25/html/media/news/6/news_thumb.jpg
- no overwrite checking
- image resizing or conversion wanted


script are running well everywhere else
any idea?Reply
Re: error : No JPEG read support new!
by pfpro, 17 years, 6 months ago
sorry 4 disturbing the peace ;)
found the solution: CHMOD(...)

$new_name_thumb = generate_thumb($file, $ext, $media_dir, $new_name, 105, false, "_thumb", "jpg");

$file_chmod = $media_dir . "/" . $new_name_thumb;
chmod ($file_chmod, 0777);

$new_name_thumb = generate_thumb($file, $ext, $media_dir, $new_name, 593, true, "_thumb_big", "jpg");

$file_chmod = $media_dir . "/" . $new_name_thumb;
chmod ($file_chmod, 0777);
Reply