PDA

View Full Version : Error on rethumbnail...


bytenik
29th of January 2005 (Sat), 20:09
Hi-

I'm currently having some problems setting up Exhibit Engine. I installed mysql, imagemagick and php4 on my web server and then proceeded to install EE. Uploading a picture appears to work fine, however, the thumbnails actually appear as the full size images. They're not the correct size. I enabled ImageMagick in the configuration, and the ImageMagick test works fine. I even tried uploading the source.jpg (the sample image used in the test) to an exhibition and even that does not get thumbnailed.

I attempted to rethumbnail and got the following error:
imagemagick: IMAGEMAGICK COMMAND | convert -size 110x110 temp/61e_source.jpg -resize 110x110! -unsharp 0.4x0.5+2+0.1 -quality 80 UPLOAD/ee_temp_upload/61e_source.jpg
IMAGEMAGICK ERROR:

POSSIBLE REASONS:
SAFE MODE ON? EE can not use ImageMagick when is it located outside PHP safe mode exec dir.
IMAGE IS EMPTY? Perhaps source image was zero size.
IMAGEMAGICK PATH CHANGED? Maybe your server admin has moved IM to another location.
FOLDER PERMISSIONS WRONG? check that UPLOAD folder and all folders inside it are chmod 0777 (full permissions)

However, none of those things are set incorrectly. I checked on this forum and disabled profile deletion as suggested, but nothing was fixed. In apache's error_log, the following shows up:

convert: pixel cache is not open `temp/61e_source.jpg'.

61e_source.jpg is the file I'm trying to rethumbnail.

And suggestions? Thanks!!

Aqua2102
30th of January 2005 (Sun), 08:26
Hi all,

I'm new to the forum. Like EE very much. Thanks a lot Pekka.

However, I have the same problem with thumbnails.

Any suggestions what that might be?

BR

bytenik
30th of January 2005 (Sun), 09:56
Hi all,

I'm new to the forum. Like EE very much. Thanks a lot Pekka.

However, I have the same problem with thumbnails.

Any suggestions what that might be?

BR

What system setup do you have? I'm running Gentoo with the latest stable versions of PHP4 and Apache. I'm also on the latest Imagemagick.

-David

Pekka
30th of January 2005 (Sun), 14:39
One possibility is that temp folders have wrong permissions

following folders need to be set chmod 777:

GALLERY/temp
GALLERY/export
GALLERY/input/temp
GALLERY/input/UPLOAD
GALLERY/input/UPLOAD/test
GALLERY/input/UPLOAD/ee_temp_upload
GALLERY/input/backup/ee_backup_files

If that is not the solution, then check

a) that ftp works and passes both tests fully. Use a standard ftp program to doublecheck your ftp path to EE.
b) do the imagemagick test.
c) do the resize method test (use the dropdown on top to change for thumbs and microthumbs).
d) make sure that the thumb and microthumb paths you want to rethumbnail are set up properly with correct resize method, ftp path and ftp server.

Aqua2102
31st of January 2005 (Mon), 12:27
Hi,

about the server system setup I'm not so sure. I'm not very much into that stuff.
EE says:
Apache/1.3.26
PHP version: 4.3.10
MySQL: 4.0.18-standard

Anyhow,

1) I'm running EE for quite a while in the current configuration (installed the last RC as soon as it was released). Has always worked flawless. Error on thumbnail generation only occured recently.

2) I did all the tests Pekka suggests (before I decided to bother you and post on the forum and now once again). All tests turn out to run OK.

May the errors be due to changes done to the server even if the tests run ok ?

Pekka:
One more question besides the problems I have currently. Since I'm using your software for quite a while I decided to donate. But than you said something about releasing a commercial version. So I decided to wait and buy that one instead. Is the commercial one still planned?

BR

Aqua2102
1st of February 2005 (Tue), 11:14
Hi,

meanwhile I contacted the support of my website host. I showed them that testing works but resize and upload thumbnail generation doesn't. They fixed it by turning safe mode off (whatever that exactly means). I'm a little bit surprised since everything worked fine for a long time and also because the betanote said safe mode is off before they fixed it....

Hope this info helps.

BR

Pekka
1st of February 2005 (Tue), 11:49
Hi,

meanwhile I contacted the support of my website host. I showed them that testing works but resize and upload thumbnail generation doesn't. They fixed it by turning safe mode off (whatever that exactly means). I'm a little bit surprised since everything worked fine for a long time and also because the betanote said safe mode is off before they fixed it....

Hope this info helps.

BR

:)

Safe mode has separate settings - Local Value (virtual server) and Master Value (whole server). Perhaps they updated PHP and forgot to change php.ini for virtual servers.

Pekka:
One more question besides the problems I have currently. Since I'm using your software for quite a while I decided to donate. But than you said something about releasing a commercial version. So I decided to wait and buy that one instead. Is the commercial one still planned?

Versions 1.3 and up are shareware $35, payable via paypal link in http://photography-on-the.net/ee/ (until something better is set up). Registering gives you one licence (one EE running on site) and all the future updates + support. The price will likely go up soon because of weak dollar and other reasons but those who registered before that moment won't have to pay anything more for anything.

Aqua2102
1st of February 2005 (Tue), 12:57
Versions 1.3 and up are shareware $35, payable via paypal link in http://photography-on-the.net/ee/ (until something better is set up). Registering gives you one licence (one EE running on site) and all the future updates + support. The price will likely go up soon because of weak dollar and other reasons but those who registered before that moment won't have to pay anything more for anything.

Done.

But don't spend on women and beer... ;)

shaun3000
2nd of February 2005 (Wed), 01:39
I had the same problem.

Make sure ee_temp_upload and test are in your Input/UPLOAD directory and CHMOD 777. Fixed it for me. Image Magick uses ee_temp_unload as a sort of scratch disk.