Page 1 of 1
Imagick doesn't work after changed dir name
Posted: Sun 9. Nov 2003, 23:18
by Moozie
Hello Oliver,
Yesterday I had the whole program working. Including Imagick.
Today I did the following:
1. rename the "hpwcms"dir to "update"
2. I also changed the conf.inc.php
Script worked, only the thumbnail create function gave an error: error while creating thumbnail , click here to go back.
So I changed it all back to phpwcms (steps 1 and 2) and still that error occurs.
Do you have any clue where to fix it?
Posted: Sun 9. Nov 2003, 23:27
by Oliver Georgi
Please post your path values without pass/login
Maybe some rights changed?
Oliver
Posted: Sun 9. Nov 2003, 23:42
by Moozie
[Sun Nov 9 23:19:24 2003] [error] Directory index forbidden by rule: /home/httpd/vhosts/mydomain.nl/http
docs/phpwcms/include/inc_act/
I tried to solve this with an .htaccess file to grant dir listing, but no go ;-(
My values are:
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "username";
$phpwcms["db_pass"] = "********";
$phpwcms["db_table"] = "phpwcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "
http://www.mydomain.nl/";
$phpwcms["admin_email"] = "
info@mydomain.nl";
// paths
$phpwcms["root"] = "phpwcms";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["file_tmp"] = "phpwcms_tmp";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["dir_thlist"] = "thumb_list";
$phpwcms["dir_preview"] = "thumb_preview";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
Yesterday I had the 4 files in /inc_conf chmodded to 777, that has been reduced to 666, but that wasn't the problem either. Changing it back to 777 did not solve Imagick.
Do you have any idea on which rights must be there for Imagick apart from the rest of the program? I mean it did work and all the other phpwcms stuff works.
Posted: Sun 9. Nov 2003, 23:53
by Oliver Georgi
dir listing is not good - it is only for the webserver and has nothing to do with php
Maybe wrong access right for files in /include/inc_act/ or the folder itself /include/ or inc_act ?
Try to set every file and dir in phpwcms to mode 777 (only for testing).
Oliver
Posted: Mon 10. Nov 2003, 00:17
by Moozie
Nothing.
I changed all the rights to all files to 777
Nothing helps.
It frustrates a lot because yesterday it worked.
I guess the fact that I changed the installname of the dir to update and then tried to create a thumbnail, doesn't make the Imagick fail, does it?
I mean if you set everything back to as it was it should work???
Posted: Mon 10. Nov 2003, 00:50
by Oliver Georgi
What operating system do you use? Maybe your ImageMagick crashed - I have seen such problems on Windows2000 and with earlier versions of ImageMagick than 5.5.7-10.
Oliver
Posted: Mon 10. Nov 2003, 01:53
by Moozie
Linux Redhat 7.3
Plesk 6.01 PSA server administrator for controlling the domains
ImageMagick-5.5.7-10
Do you think a fresh install of phpwcms would help?
Posted: Mon 10. Nov 2003, 02:06
by Oliver Georgi
Is ImageMagick working if you insert "convert -version" in shell?
Oliver
Posted: Mon 10. Nov 2003, 14:04
by Moozie
No, I am gonna try a fresh install of phpwcms...
Posted: Mon 10. Nov 2003, 15:20
by Oliver Georgi
NO - this is not the problem of phpwcms. You have to register ImageMagick's bin directory in the PATH value of your system!!!
Or you have to hardcode imagick.convert.inc.php to extend the convert command to something like this /usr/bin/convert ...
Oliver
Posted: Mon 10. Nov 2003, 16:33
by Moozie
It's OK now.
It was the "safe mode"!!!
It was turned on. Now it's off and it works.
Thanx.
Posted: Mon 10. Nov 2003, 16:46
by Oliver Georgi