Please, can you try it with gif, png and jpg and tell me with which of them you get an error.
And check if you have all needed files for netpbm installed, e.g libpng, zlib...this belongs to your netpbm binary distribution.
case GIS_GIF:
$op_in = 'giftopnm';
$op_out = 'ppmtogif';
$cmd = "{$xoopsModuleConfig['impath']}{$op_in} $src_file | pnmscale -xsize={$destWidth} -ysize={$destHeight} | ppmquant 255 | {$op_out} > $im_dest_file";
break;
case GIS_JPG:
$op_in = 'jpegtopnm';
$op_out = 'pnmtojpeg';
$op_out2 = 'ppmtojpeg';
$cmd = "{$xoopsModuleConfig['impath']}{$op_in} $src_file | pnmscale -xsize={$destWidth} -ysize={$destHeight} | {$op_out} -quality={$xoopsModuleConfig['jpeg_qual']} > $im_dest_file";
$cmd2 = "{$xoopsModuleConfig['impath']}{$op_in} $src_file | pnmscale -xsize={$destWidth} -ysize={$destHeight} | {$op_out2} -quality={$xoopsModuleConfig['jpeg_qual']} > $im_dest_file";
break;
case GIS_PNG:
$op_in = 'pngtopnm';
$op_out = 'pnmtopng';
$cmd = "{$xoopsModuleConfig['impath']}{$op_in} $src_file | pnmscale -xsize={$destWidth} -ysize={$destHeight} | {$op_out} > $im_dest_file";
break;
case GIS_GIF:
$op_in = 'giftopnm';
$op_out = 'ppmtogif';
$cmd = "{$xoopsModuleConfig['impath']}{$op_in} $src_file | {$xoopsModuleConfig['impath']}pnmscale -xsize={$destWidth} -ysize={$destHeight} | {$xoopsModuleConfig['impath']}ppmquant 255 | {$xoopsModuleConfig['impath']}{$op_out} > $im_dest_file";
break;
case GIS_JPG:
$op_in = 'jpegtopnm';
$op_out = 'pnmtojpeg';
$op_out2 = 'ppmtojpeg';
$cmd = "{$xoopsModuleConfig['impath']}{$op_in} $src_file | {$xoopsModuleConfig['impath']}pnmscale -xsize={$destWidth} -ysize={$destHeight} | {$xoopsModuleConfig['impath']}{$op_out} -quality={$xoopsModuleConfig['jpeg_qual']} > $im_dest_file";
$cmd2 = "{$xoopsModuleConfig['impath']}{$op_in} $src_file | {$xoopsModuleConfig['impath']}pnmscale -xsize={$destWidth} -ysize={$destHeight} | {$xoopsModuleConfig['impath']}{$op_out2} -quality={$xoopsModuleConfig['jpeg_qual']} > $im_dest_file";
break;
case GIS_PNG:
$op_in = 'pngtopnm';
$op_out = 'pnmtopng';
$cmd = "{$xoopsModuleConfig['impath']}{$xoopsModuleConfig['impath']}{$op_in} $src_file | {$xoopsModuleConfig['impath']}pnmscale -xsize={$destWidth} -ysize={$destHeight} | {$xoopsModuleConfig['impath']}{$op_out} > $im_dest_file";
break;
$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
as you can see the sub dir "10001" is owned by "www" and i cannot delete or rename it.
Herko Coomans wrote:
Anything else we need to change in the admin?
modversion['sqlupdate']['mysql'] = "sql/update.sql";
I"m trying to use an html template I have instead of the index.php at the root ( I made the html template a php file and named it index.php)