visitor101

Joined: 2003-10-02
Posts: 104
Posted: Thu, 2003-10-02 23:53

Hi

I am a first time user of the latest v1.4-pl1

I have installed it on my webspace OK. However, what was interesting was that I was not able to CHMOD the config.php to 644 it sticks at 777 - when I got to Step4 in the configuration it did say make the config.php 777 did I understand correctly that this was the one I made as part of the initial install instructions.

Are the instructions correct? Is my install OK and secure under this setting?

Gallery runs with the other files secured as instructed but with 777 CHMOD on th config.php

Sorry, just found out that the path to imagemagick was wrong - amended now uploads (apparently) OK but no EXIF. Will have ask host about that bit.

Would still appreciate your advcie ref above about security.

Many thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have tried to upload a first test image and got this error in the debug report.

Executing:

/usr/local/imagemagick/convert -quality 95 -size 150x150 /home/villag2/public_html/albums/album01/finbarris1a9.jpg -geometry 150x150 +profile icm +profile iptc /home/villag2/public_html/albums/album01/finbarris1a9.thumb.jpg

Results:
none

Error messages::
sh: line 1: /usr/local/imagemagick/convert: No such file or directory

Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
--------------------------------------------------------------------------------
With NetPBM set

Executing:

/usr/local/netpbm/jpegtopnm /home/villag2/public_html/albums/album01/finbarris1a9.jpg | /usr/local/netpbm/pnmscale -xysize 150 150 | /usr/local/netpbm/pnmtojpeg --quality=95 > /home/villag2/public_html/albums/album01/finbarris1a9.thumb.jpg

Results:
none

Error messages::
sh: line 1: /usr/local/netpbm/jpegtopnm: No such file or directory
sh: line 1: /usr/local/netpbm/pnmscale: No such file or directory
sh: line 1: /usr/local/netpbm/pnmtojpeg: No such file or directory

Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!

----------------------------------------------------------------------------------
I hope you can advise me ASAP

Many thanks.

PS I had no RED warnings in the Step4 listing.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-10-03 00:50

That's different. Splitting...

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-10-03 00:53

Anyway, the reason, exactly according to that error, is that ImageMagick can't be found at that location. Please this script in the directory where ImageMagick is and view it via the web.

<?php
print getcwd();
?>

That's the path you want to specify in the config wizard...

 
visitor101

Joined: 2003-10-02
Posts: 104
Posted: Fri, 2003-10-03 00:57

Hi

Apologies for the "odd splits" just thought I would leave the info there even though I have apparently solved the problem by changing the path.

But can you answer the bit about the CHMOD I mention initially?

Thanks

 
visitor101

Joined: 2003-10-02
Posts: 104
Posted: Fri, 2003-10-03 01:23

Hi joyoflinux

If it helps I have found the answer as follows.

In another thread about CuteFTP it advised setting a filter -rtaF for accessing/seeing .htaccess file this I did but it turns out it was this setting that "locked" the config.php to 777 I found a further ref to a filter of -a this I found allows setting the config.php CHMOD to 644 as instructed.

I know a help file can only have so many answers but this oddity with CuteFTP perhaps needs a note in the docs and/or a sticky post in this forum.

HTH others.

Now I have to resolve the error with the EXIF data and cutomise my Gallery.