Thursday 24 July 2003 9:42:12 am
I had this exact problem and I just solved it... There is a problem with the path: var/storage/variations/image/p/h/p//phpioy1ur_600x600_137.jpg You can't have two slashes next to each other (at least not on the FreeBSD server I am hosted on) To fix that I hacked two files (not sure I had to hack them both - but what the heck) lib/ezimage/classes/ezimagemanager.php line: around line 417
function convert
{
......
return $from_array["dir"] . "/" . $out_file; } changed to:
function convert
{
......
return str_replace( '//', '/', $from_array["dir"] . "/" . $out_file); } lib/ezimage/classes/ezimageshell.php line: around line 172
function convert
{ ......
return $str; } changed to:
function convert
{ ......
return str_replace( '//', '/', $str ); } Now this is the basic premise - but in my case it wasn't enough. As it turned out - my ISP had 'convert' in '/usr/local/bin' but my $PATH wasn't pointing there. So I had to hack lib/ezimage/classes/ezimageshell.php again line: around line 290
function run( &$execstr, $dest_str )
{
$err = system( $execstr, $ret_code );
.... } to
function run( &$execstr, $dest_str )
{
$err = system( $this->ExecPath . '/' . $execstr, $ret_code );
.... } Now it works.... (other things to check are as mentioned safemode and writepermissions on the dir's involved)
-------------------------------
Imagemagick 127 convert -------------------------------
|