My site hosting has recently updated PHP engine to the version 4.4.1. From this update i can't use properly the image.module. The module can't create anymore thumbnails/preview. The PHP error is
imagejpeg(): Unable to access files/images/vid.thumbnail.JPG in xxxxxxx/includes/image.inc in line 296.
I'm using Drupal 4.6.3 e image.module 4.6.0
Any issue for solving this problem? Thanks for help.
Comments
Comment #1
psicomante commentedperhaps the problem stay here:
Here the changelog of PHP 4.4.1
http://www.php.net/release_4_4_1.php
In particular:
Comment #2
Bèr Kessels commentedComment #3
alexmc commentedHas anyone got a solution for this? I seem to have a very similar problem.
Comment #4
psicomante commentedThe problem was in the php engine, version 4.4.1.
http://bugs.php.net/bug.php?id=35084
Comment #5
johnmc-1 commentedThe correct bug info is here: http://bugs.php.net/bug.php?id=35246
It is still not corrected in a release. For now, the file needs to be created first by using the touch() function.
Comment #6
neoliminal commentedI edited my image.module as follows:
Now I'm getting Warning: getimagesize(): Read error! in /var/www/html/drupal/includes/image.inc on line 89.
Will figure that out next.