Image Magick Error and Document_Root not taking effect

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
jsavage
Posts: 44
Joined: Sun 2. May 2004, 18:40

Image Magick Error and Document_Root not taking effect

Post by jsavage »

Acording to the documentation I have seen Image Magick is Optional.

Is this still true ? I am now trying to get the latest DEV version 1.2.3 working on a server I have used for phpwcms for nearly 2 years now and using the same settings as for 1.1 RC4

A. I am getting errors that mention image magic and
B I note that phpwcms is trying to access "/usr/local/www/data/" for the scripts. This is completely wrong. Against my better judgement I have made everything 777 while I test this so permissions is not the issue. In my conf.php I have set :

Code: Select all

$_SERVER['DOCUMENT_ROOT']     = 'files/home2/hp225tj';^M
Eg. logging into the BackEnd I am getting :

Code: Select all

Warning: main(/usr/local/www/data/acc/include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /files/home2/hp225tj/acc/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/usr/local/www/data/acc/include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:/usr/local/share/pear') in /files/home2/hp225tj/acc/include/inc_lib/imagick.convert.inc.php on line 34


Other settings related to graphics are :

Code: Select all

$phpwcms["compress_page"]     = 3;        //wenn 1 = Seite komprimieren, 0 = Kompresion aus^M
$phpwcms["imagick"]           = 0;        //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2
.9^M
$phpwcms["imagick_path"]      = "";       //Path to ImageMagick^M
$phpwcms["use_gd2"]           = 1;        //if 0 = GD1, 1 = GD2^M
$phpwcms["rewrite_url"]       = 0;        //whether URL should be rewritable^M
$phpwcms["wysiwyg_editor"]    = 1;        //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 =
 browser based, 4 = spaw^M
$phpwcms["phpmyadmin"]        = 1;        //enable/disable phpmyadmin in Admin section^M
$phpwcms["default_lang"]      = "en";     //default language^M
$phpwcms["charset"]           = "iso-8859-1";       //default charset "iso-8859-1"^M
$phpwcms["allow_remote_URL"]  = 0;        //0 = no remote URL in {PHP:...} replacement tag allowed,
 1 = allowed^M
$phpwcms["gt_mod"]            = 0;        //0 = Graphical Text MOD disabled, 1 = enabled^M
$phpwcms["jpg_quality"]       = 75;               //JPG Quality Range 25-100^M
$phpwcms["sharpen_level"]     = 1;        //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0
 = no, 5 = extra sharp^M
$phpwcms["allow_ext_init"]    = 0;        //allow including of custom external scripts at frontend
initialization^M
$phpwcms["allow_ext_render"]  = 0;        //allow including of custom external scripts at frontend
rendering^M
Note that I have had to disable external scripts to get the login screen to render.

So,

James
jsavage
Posts: 44
Joined: Sun 2. May 2004, 18:40

Post by jsavage »

See http://www.phpwcms.de/forum/viewtopic.php?t=7765 for the solution I came up with.

James
Post Reply