help? newbie in deep

jonesy
jonesy's picture

Joined: 2002-09-03
Posts: 9
Posted: Wed, 2002-09-04 05:46

I'm having trouble getting Gallery to work, and would appriciate any assistance.

I'm not experienced in this type of install, or programing, so anybody kind enough to offer assistance, please don't assume anything.

I'm using a third party host, and access via ftp (host is featureprice.com) They seem to offer an acceptable version of php4, appache. I determined I need to add NetPBM myself, which I did (apparently not correctly, but the files are on the server).

I loaded the all files in httpdocs/gallery, and created config.php, and .htaccess.

I loaded the freebsd NetPBM to in httpdocs/gallery/NetPBM.

When I access the page and get the 'gallery configuration wizard, the errors are with Net PBM, and with jhead.

When I run the gallary diagnostics the results are:
- PHP Info = I have no idea, a bunch of stuff, no mention of problem
- check netpbm = error file does not exist (for all files)
- check session = seems to work, counter incriments with reload

I anticipate I don't understand the issues related to the full path on the remote third party server. I don't know anything about unix, and had to learn what chmod was (fairly easy once I figured it is binary (I'm not sure if execute is the 4 or the 1 though.

If anyone could please advise me on what I should do next, I would appriciate it. Lastly, the jhead information didn't make since to me, any advice on getting that going would be appriciated.

Thanks for any help... jeez it's nearly 1:00 AM, I've been at it for 4 hours, I'm sure my wife is mad...

Dave :cry:

 
Jayeth33

Joined: 2002-08-17
Posts: 7
Posted: Wed, 2002-09-04 15:38

I just got gallery up an running on my featureprice. com account and can probaly walk you through this step by step.

1. Send in a help ticket to the help center to have them install Jhead. They will do this and it takes about 24 hours

2. looking at what you posted your path to NEtPBM should be

/usr/local/plesk/apache/vhosts/yourdomain.com/httpdocs/gallery/netpbm

If you still need some help i have sent you a driect message with morre contact info.

Jaye

 
jonesy
jonesy's picture

Joined: 2002-09-03
Posts: 9
Posted: Thu, 2002-09-05 05:04

Jaye, thanks for the comments. I just tried it, it still didn't work. Can you confirm what netpbm you used specifically? When you uploaded it did you do it binary or asci?

Also, featureprice informed me they could not install jhead, but if it is client side, I can do it. I guess they like you better than me, or perhaps their some discretion depending on the mood of the service person...

BTW, cool cube at your site.

Thanks

quote]I just got gallery up an running on my featureprice. com account and can probaly walk you through this step by step.

1. Send in a help ticket to the help center to have them install Jhead. They will do this and it takes about 24 hours

2. looking at what you posted your path to NEtPBM should be

/usr/local/plesk/apache/vhosts/yourdomain.com/httpdocs/gallery/netpbm

If you still need some help i have sent you a driect message with morre contact info.

Jaye

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Thu, 2002-09-05 05:26
Quote:
Jaye, thanks for the comments. I just tried it, it still didn't work. Can you confirm what netpbm you used specifically? When you uploaded it did you do it binary or asci?

Also, featureprice informed me they could not install jhead, but if it is client side, I can do it. I guess they like you better than me, or perhaps their some discretion depending on the mood of the service person...

BTW, cool cube at your site.

Thanks

This is straight forward install of gallery for webhosting, make sure you downloaded the right netpbm binaries for FreeBSD not the linux.

quote]I just got gallery up an running on my featureprice. com account and can probaly walk you through this step by step.

1. Send in a help ticket to the help center to have them install Jhead. They will do this and it takes about 24 hours

2. looking at what you posted your path to NEtPBM should be

/usr/local/plesk/apache/vhosts/yourdomain.com/httpdocs/gallery/netpbm

If you still need some help i have sent you a driect message with morre contact info.

Jaye<<

 
jonesy
jonesy's picture

Joined: 2002-09-03
Posts: 9
Posted: Fri, 2002-09-06 03:16

hi, I 'm still having trouble.

I re-downloaded the gallery version of netpbm for freebsd 4.2-intel.

I deleted the version currently in my folder at:
/usr/local/plesk/apache/vhosts/mydomain.net/httpdocs/gallery/netpbm

After unzipping the freebsd 4.2 file, I uploaded in binary the netpbm files.

I then chmod'd them to 777 (just to cover all bases).

It still doesn't work....

featureprice did install jhead, so that part checks out now.

If anyone can offer any advice, comments, etc, please help.

Thanks

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Sat, 2002-09-07 07:19
Quote:
hi, I 'm still having trouble.

I re-downloaded the gallery version of netpbm for freebsd 4.2-intel.

I deleted the version currently in my folder at:
/usr/local/plesk/apache/vhosts/mydomain.net/httpdocs/gallery/netpbm

After unzipping the freebsd 4.2 file, I uploaded in binary the netpbm files.

I then chmod'd them to 777 (just to cover all bases).

It still doesn't work....

featureprice did install jhead, so that part checks out now.

If anyone can offer any advice, comments, etc, please help.

Thanks

Please post your diagnostics.php page, so we can check your current installation of gallery. Don't worry you should be fine later on.

 
jonesy
jonesy's picture

Joined: 2002-09-03
Posts: 9
Posted: Sat, 2002-09-07 18:43

the file (in the setup directory) titled diagnostics.php seemed to just be the opening page of the diagnostic feature (I viewed it in word), is this what you need?

I did notice the diagnostic tools doesn't indicate a directory / path for netpbm, and indicates to go back to configure and add this. I have entered a path there though.

Below is a paste of the netpbm diagnostics page:
------------------------------------------------------------------
Check NetPBM
This script is designed to examine your NetPBM installation to see if it's ok to be used by Gallery. It really should be integrated into the config wizard, but one thing at a time. You should run this script after you've run the config wizard, if you've had problems with your NetPBM installation that the wizard did not detect.

Loading configuration files. If you see an error here, it is probably because you have not successfully run the config wizard.

Let's see if we can figure out what operating system you're using.
This is what your system reports:
FreeBSD unix162.hosting-network.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Jun 24 11:59:00 EDT 2002

:/usr/obj/usr/src/sys/FPTUNED i386

This is the type of system PHP was compiled on:
FreeBSD pikachu.hosting-network.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001

:/usr/src/sys/compile/GENERIC i386

Make sure that the values above make sense to you.

Look for keywords like "Linux", "Windows", "FreeBSD", etc. in the output above. If both the attempts above failed, you should ask your ISP what operating system you're using. You can check via Netcraft, they can often tell you.

You told the config wizard that your NetPBM binaries live here:

If that's not right (or if it's blank), re-run the configuration wizard and enter a location for NetPBM.

We're going to test each NetPBM binary individually. If you see errors, you should click here to see more details
Checking /giftopnm
Error! (File /giftopnm does not exist.)

Checking /jpegtopnm
Error! (File /jpegtopnm does not exist.)

Checking /pngtopnm
Error! (File /pngtopnm does not exist.)

Checking /pnmcut
Error! (File /pnmcut does not exist.)

Checking /pnmfile
Error! (File /pnmfile does not exist.)

Checking /pnmflip
Error! (File /pnmflip does not exist.)

Checking /pnmrotate
Error! (File /pnmrotate does not exist.)

Checking /pnmscale
Error! (File /pnmscale does not exist.)

Checking /pnmtopng
Error! (File /pnmtopng does not exist.)

Checking /ppmquant
Error! (File /ppmquant does not exist.)

Checking /ppmtogif
Error! (File /ppmtogif does not exist.)

Checking /
Error! (Expected status: , but actually received status: 126)

If you see an error above complaining about reading or writing to /var/tmp/gallerydbgPfKm12, then this is likely a permission/configuration issue on your system. If it mentions open_basedir then it's because your system is configured with open_basedir enabled. You should talk to your system administrator about this, or ask for help on the mailing list

For other errors, please refer to the list of possible responses in FAQ C.2 to get more information.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-07 20:18

Ok, let's take a look at your NetPBM install. In ftp, go to your netpbm dir and type "ls -al" and send us the results of that.

 
jonesy
jonesy's picture

Joined: 2002-09-03
Posts: 9
Posted: Sat, 2002-09-07 21:00

forgive my lack of knowledge with all this.... I'm not familiar with the comand given, but this is what I did:

Using WS_FTP LE as my FTP program, I go to the netpbm directory.

I didn't know where to enter a comand line, but a blank space presented an opportunity, thus I tried it by entering "ls-al" enter

A file titled "directory" shows up, and the other files are not visible. I noticed when I erase ls-al in the comand box, it goes back to the file list.

Anyway... I can't veiw, amend, or transfer this file "directory", when I try I get an error:

550 no such file.

Also: I tried installing the netpbm files in diferent levels of directory (i.e in my httpdocs, put the files directly in with the gallery directlry, and a few others), and couldn't get it to work.

Another naive question, these don't need to be in my cgi bin directory do they?

Thanks again, and sorry for the naive attempt at installing this.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-07 21:25

Daaah. I'm not familiar with WS_FTP so somebody else may need to help out here. What I want to see is the contents of your netpbm directory including the name, size, ownership and permissions of each file in it. If you can figure out a way to get that to me I can make sure that the binaries are correct.

 
jonesy
jonesy's picture

Joined: 2002-09-03
Posts: 9
Posted: Sat, 2002-09-07 21:39

If I select the 'directory info' button on ws_ftp the following pop ups in a notepad box...

does this help? If not, it may be easier for me to get a new ftp program, do you have a recomendation?

-----------
-rwxrwxrwx 1 bmarks pleskcln 292 Sep 5 22:55 README
-rwxrwxrwx 1 bmarks pleskcln 1468 Sep 7 15:49 WS_FTP.LOG
-rwxrwxrwx 1 bmarks pleskcln 78904 Sep 5 22:54 giftopnm
-rwxrwxrwx 1 bmarks pleskcln 149604 Sep 5 22:54 jpegtopnm
-rwxrwxrwx 1 bmarks pleskcln 184048 Sep 5 22:54 pngtopnm
-rwxrwxrwx 1 bmarks pleskcln 88808 Sep 5 22:54 pnmcut
-rwxrwxrwx 1 bmarks pleskcln 66748 Sep 5 22:54 pnmfile
-rwxrwxrwx 1 bmarks pleskcln 74452 Sep 5 22:54 pnmflip
-rwxrwxrwx 1 bmarks pleskcln 97324 Sep 5 22:54 pnmrotate
-rwxrwxrwx 1 bmarks pleskcln 80144 Sep 5 22:55 pnmscale
-rwxrwxrwx 1 bmarks pleskcln 186040 Sep 5 22:55 pnmtopng
-rwxrwxrwx 1 bmarks pleskcln 88616 Sep 5 22:55 ppmquant
-rwxrwxrwx 1 bmarks pleskcln 94928 Sep 5 22:55 ppmtogif
-rwxrwxrwx 1 bmarks pleskcln 128564 Sep 5 22:55 ppmtojpeg

-------------

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2002-09-08 03:49

Hmm. Ok, so the binaries look to be the right ones for FreeBSD and have modes that should work. As a security precaution, you should "chmod 755" your binaries, though (but this isn't the problem).

So now that the binaries are in place, are you able to get through the config wizard ok? If not, what error do you get? If so, when you run the check_netpbm.php, does it still say:

Error! (File /pngtopnm does not exist.)

for every binary?

 
jonesy
jonesy's picture

Joined: 2002-09-03
Posts: 9
Posted: Sun, 2002-09-08 05:04

doh.... I found the problem....

I was not going all the way through to save configuration. I was chaning the values in set up, then selecting the option to test.... Once I went all the way through with it, it worked like a champ.

Sorry to take your time for this mistake, I felt I had to fess up though...

Thanks again. I must say, if I hadn't blundered that step, the install would have been a piece of cake.

tail between legs... but happy,

If I can ask one more question... to chmod in my ftp program I set read, write, and execute permisions, is excute the '4' or the '1' Thanks...
Dave

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-09-09 09:42
Quote:
doh.... I found the problem....

I was not going all the way through to save configuration. I was chaning the values in set up, then selecting the option to test.... Once I went all the way through with it, it worked like a champ.

Sorry to take your time for this mistake, I felt I had to fess up though...

Shit happens :smile: Thanks for closing the loop and telling us what went wrong. I knew there had to be a disconnect somewhere based on what you were telling me.

Quote:
If I can ask one more question... to chmod in my ftp program I set read, write, and execute permisions, is excute the '4' or the '1' Thanks...

Er. I don't know what you're referring to by '4' and '1' above. There's a section on Unix permissions in the User Guide -- you might want to refer to that for more info (or to google).