Re: Ansel bad Picture

Michael J Rubinsky <[email protected]> Thu, 29 Dec 2011 12:30:27 -0500
Newsgroups gmane.comp.horde.ansel
Message-ID <20111229123027.Horde.MFSfQpcRtLVO-KOzfvbTq_A@h4.theupstairsroom.com>
Quoting Lars <[email protected]>:

> Jan Schneider <jan <at> horde.org> writes:
>
>>
>>
>> Zitat von Lars <lars <at> glowka-online.de>:
>>
>> > Hi all,
>> >
>> > after uploading a Image the result is shown like this:
>> >
>> > http://imageshack.us/f/802/syringe.jpg/
>> >
>> > in horde config i use the recommend settings for image manipulation.
>>
>> Looks like image conversion stopped at one point. Check the logs for
>> segfaults or other errors.
>>
>> Jan.
>>
>
>
> I have found this error:
>
> Dec 29 11:19:35 vs866 HORDE: [ansel] PHP ERROR:
> Undefined variable: output [pid 6882 on line 76 of
> "/usr/share/php/Horde/Image/Exif/Exiftool.php"]
> Dec 29 11:19:35 vs866 HORDE: [ansel] PHP ERROR:
> Undefined variable: retval [pid 6882 on line 76 of
> "/usr/share/php/Horde/Image/Exif/Exiftool.php"]
> Dec 29 11:19:35 vs866 HORDE: [ansel] PHP ERROR:
> exec() has been disabled for security reasons [pid
> 6882 on line 76 of "/usr/share/php/Horde/Image/Exif/Exiftool.php"]
> Dec 29 11:19:35 vs866 HORDE: [ansel] PHP ERROR:
> Undefined variable: retval [pid 6882 on line 77 of
> "/usr/share/php/Horde/Image/Exif/Exiftool.php"]
> Dec 29 11:19:35 vs866 HORDE: [ansel] PHP ERROR:
> Undefined variable: output [pid 6882 on line 80 of
> "/usr/share/php/Horde/Image/Exif/Exiftool.php"]
> Dec 29 11:19:35 vs866 HORDE: [ansel] PHP ERROR:
> Undefined variable: output [pid 6882 on line 84 of
> "/usr/share/php/Horde/Image/Exif/Exiftool.php"]
> Dec 29 11:19:35 vs866 HORDE: [ansel] PHP ERROR:
> unlink(/var/www/ispcp/gui/phptmp/vfsHbeX2y):
> Datei oder Verzeichnis nicht gefunden [pid 6882 on
> line 1 of "/usr/share/php/Horde/Vfs/Base.php(196)
> : runtime-created function"]
>
> maybe this help...

There are some (relatively harmless) undefined variable warnings that  
I have fixed. The bigger problem is it looks like you have some  
security settings in place that are preventing the exiftool script to  
execute.

-- 
mike

The Horde Project (www.horde.org)
[email protected]

-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]