in reply to problem with GD image creation

Based on the code you posted, it doesn't seem you are detecting failures to open the file correctly. All your other return statements return (0, $error) or (1,$fileout) to indicate success or failure, but the error on the open is not doing that.


We're not surrounded, we're in a target-rich environment!

Replies are listed 'Best First'.
Re^2: problem with GD image creation
by parapara (Novice) on Apr 19, 2006 at 09:59 UTC
    Ok, I corrected the mistake in the subroutine but it doesn't work. When there is an image that the module doesn't like it exits but it doesn't let me write the log with the occurred error. Could it be a GD-mod_perl2 problem?