Imagick doesn't work after changed dir name

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Imagick doesn't work after changed dir name

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Please post your path values without pass/login

Maybe some rights changed?

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post 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???
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Is ImageMagick working if you insert "convert -version" in shell?

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

No, I am gonna try a fresh install of phpwcms...
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

It's OK now.
It was the "safe mode"!!!
It was turned on. Now it's off and it works.

Thanx.
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

:D
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply