A typical installation I'm sure

BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Tue, 2004-04-06 17:42

Hi all,
Great work by the developers but as mentioned by a previous post the documentation is understandably a little patchy. My problem is pretty basic I think. To put you in the picture.
I run WinXP
I’m uploading to an ISP server which as far as I can tell (phpinfo()) its running Mandrake Linux 2.4.19-7mdk #1; Apache 2; and PHP 4.2.3. No problems there.
I’ve followed the installation docs to the letter also but I’m tripping up with Netpbm and Imagemagik.
Could some one please advice on which version of either of these packages I need. Even better an URL to the appropriate download would be great!

I take it I need to upload the Linux binaries to my ISP user space but I’m unsure as to the particular version. I downloaded Imagemagik for Linux and unzipped it on my machine and it came to about 32Mb. Surley this is not the correct version?!

Any help with this matter will help immensely ,

Brian

----

 
BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Tue, 2004-04-06 19:03

I have downloaded and FTP'd the contents of this download; netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel(from sourceforge) to a folder within the gallery download called netpbm. I have also CHMOD this folder to the correct permissions. Why is it i still recieve errors in RED " Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up.etc etc".
Do i need to place this netpbm in the cgi-bin on the server or anything?

 
BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Tue, 2004-04-06 21:03

I have tried all I can think and exhausted my posts. I'm still sue its only something small I am missing though. Curently I have installed netpbm-10.21 onto my user space and set the CHMOD permission. Why won't gallery pick it up?
Can anyone plese advise please.
Regards

 
BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Tue, 2004-04-06 23:10

Okay thanks for your help!
For those people who are having the same problem let me explain how I was going wrong. I moved on to imagemagick for a start. Its a very simple thing I was doing wrong which was causing all the problems. For all my looking around the net I couldn't find any information on this......what you need to do is to place the Imagemagick file into your BIN directory(& chmod them) and Bobs your uncle! It makes sense now I guess but to someone with a degree in Computer Science and very little experience with servers it took me hours to get this thing up and running. God help the novice. :)
All is working now. Well sort of...When i try to upload a picture I get the following error.
"- Adding DSCF0026.JPG
Resizing/compressing original image
No resizing required
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ "

At the moment I have absolutely no idea why this is happening. But like the carrot in front of the donkey I'll keep plugging away at it till i get it as the capability of Gallery is looking good!
If anyone has any suggestion as to why i have just got this error they will be received with thanks as its getting late and if spent sooo much time on this.
Regards,

 
BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Wed, 2004-04-07 02:02

This is the current error message.

- Adding Air_-_Moon_Safari-front.jpg
Resizing/compressing original image
No resizing required
File /visp/data0/net/go-legend/c/b/bwkeogh/www/content/html/albums//album01/Air_Moon_Safari_front.jpg type 2.

Executing:

/visp/data0/net/go-legend/c/b/bwkeogh/www/content/cgi-bin/image/bin/convert -quality 90 -size 150x150 +profile '*' /visp/data0/net/go-legend/c/b/bwkeogh/www/content/html/albums//album01/Air_Moon_Safari_front.jpg -geometry 150x150 /visp/data0/net/go-legend/c/b/bwkeogh/www/content/html/albums//album01/Air_Moon_Safari_front.thumb.jpg

Results:
none

Error messages::
/visp/data0/net/go-legend/c/b/bwkeogh/www/content/cgi-bin/image/bin/convert: error while loading shared libraries: libMagick.so.6: cannot open shared object file: No such file or directory

Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-07 06:15

BarneyRock, you have some issues with the imagemagick installation. Have a look at section 2 in FAQ Gallery:c.2

I suggest trying NetPBM.

 
BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Wed, 2004-04-07 11:58

Hi h0bbel,
Many thanks for the quick reply. I had a look at FAQ Gallery:c.2 and can't seem to find the problems. PHP permissions seem fine.
( <?php echo ini_get "disable_functions");?>

I had a lot of problems initially with netpbm but of course I shall try it again. Just to make sure could you give me a few pointers as to the version of this script I need. I must have about 4 of them on my desktop and every time I popped one on my ISP's server Gallery could not find it. Hence, using imageMagick now.
The ISP server is running a Mandrake distro.
If your need any more info feel free.
King regards.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-07 12:32

BarneyRock, download the linux binaries from our downloads page. They work fine in mandrake. :)

Also, if you use winzip, take a look at FAQ Gallery:c.25 :)

 
BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Wed, 2004-04-07 13:56

Hi h0bbel ,

Sorry to be bothering you by walking me through things but I've visted
http://sourceforge.net/project/showfiles.php?group_id=7130
and downloaded
netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz
I shall pop these files into my cgi-bin directory on the ISP's server and format them the correct way. Then I'm going to point Gallery to the cgi-bin folder.
:)
Here goes.

 
BarneyRock

Joined: 2004-04-06
Posts: 20
Posted: Wed, 2004-04-07 15:04

I really didn't think I'd get to this position with hair still left on my head but I have.
Many thanks h0bbel! All is fine now. I will try to post up what i did so fars to hopefully help other users, as its not that difficult generally once you adhere to a few important points. (Easy to say now!)
I do have a problem with the Email facility though but thats not too important at the moment. Can you point me in the direction of a few answers when you get a spare minute?
Thanks again.
Brian

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-07 15:38

BarneyRock, great stuff!

As for email, well, it's dependant on PHP's email function. If that isn't properly configured by your host, it won't work...