jyuen

Joined: 2003-06-18
Posts: 40
Posted: Thu, 2003-07-17 15:44

Thanks. So I went through the configurations and the only error that pops up now is that it cannot find either ImageMagick or NetPBM even though they are there. Do these programs have to be in the CGI-php folder as well? Right now they are sitting in my httpdocs folder.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-07-17 22:06

beckett is still gone, so you may be on your own here. Try a few different places, and see what works.

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Sun, 2003-07-20 05:24

Yeah I tried everywhere I could think of. I have no idea why it can't find it. It's clearly there and on the first page before the config it says that it has located all 12 binaries for netPBM. I've even deleted the entire directory and have re-uploaded them to the site. It's set to 755 and everything. I'm at a complete loss.

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Wed, 2003-07-23 01:01

Does no one else have any idea on a possible solution to this?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Wed, 2003-07-23 07:23

remove config.php, and try again.

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Fri, 2003-07-25 02:55

Yeah did that, re-ran the config, and still Gallery can't find netpbm

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2003-07-25 09:22

Hmm. It's possible that your ISP is remapping files around so that the files are not where you think they are. Try this. Create a file called "test.php" in your NetPBM directory and put this in it:

system("pwd");

Then open that file in your web browser. Is the path that it tells you the same one you're entering in the config wizard?

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Sat, 2003-07-26 01:25

Ok I did that and it found the test.php file. it just displays [system ("pwd");] see for yourself.
http://www.jyuen.ca/php-cgi/netpbm/test.php
Now, my web site file are located in a httpdocs directory. In the httpdocs directory I have the php-cgi directory which houses the gallery program as well as the netpbm program.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sun, 2003-07-27 18:56

of course, bharat meant

<?php
system("pwd");
?>
 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Wed, 2003-08-06 04:55

is that supposed to be "/"'s or "?"'s

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Wed, 2003-08-06 05:12

never mind i got it. but now I use the value that it shows for the path to netPBM and it still displays the same msg

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Thu, 2003-08-07 12:41

bump

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Thu, 2003-08-14 02:09

again

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Thu, 2003-08-21 03:57

Does anyone have any suggestions for this problem?

 
nick_rembis

Joined: 2003-01-20
Posts: 524
Posted: Thu, 2003-08-21 04:53

if you have shell access try cd'ing into your netpbm directory and chmoding all the files like this

chmod a+x *

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Thu, 2003-08-21 12:09

ok will try

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Thu, 2003-08-21 21:50

I tried it, but it wouldn't allow me to do it.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-08-22 12:12

Okay. Please provide the following information:

1) The full path to your netpbm directory
2) List the full contents of that directory. If you have shell access, an "ls -l" output would be very nice. Something that shows all the files and their permissions.

Thanks! :)
-Beckett (

)

 
deviant

Joined: 2003-08-22
Posts: 1
Posted: Fri, 2003-08-22 13:32
beckett wrote:
Okay. Please provide the following information:

1) The full path to your netpbm directory
2) List the full contents of that directory. If you have shell access, an "ls -l" output would be very nice. Something that shows all the files and their permissions.

Thanks! :)
-Beckett (

)

I'm having the exact same problem. I've gone through all the suggestions listed above, but it still doesn't work.

I go through the Gallery setup wizard, and still get an error at stage 4: "I can't find NetPBM at the location you provided." (though all the other paths are found correctly, including the path to jhead which is in the same directory).

The full path to my NetPBM directory is: /usr/local/psa/home/vhosts/deviantbrainwave.org/httpdocs/php-cgi/gallery/netpbm

The content of the directory is:
- jhead
- netpbm1.1-gallery1.0-freebsd4.2-intel
- test.php

Any idea of what else I may be able to try and fix this?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-08-22 19:52

deviant,
You unpacked in with WinZip! you need to add the extension .tar to netpbm1.1-gallery1.0-freebsd4.2-intel, so it's called netpbm1.1-gallery1.0-freebsd4.2-intel.tar and run it through winzip again. You should have 13 files.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-08-22 20:34

Yep, as in FAQ c.25

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Tue, 2003-08-26 21:48

/usr/local/psa/home/vhosts/jyuen.ca/httpdocs/php-cgi/gallery/netpbm

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Wed, 2003-08-27 11:20

so it's working?

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Wed, 2003-08-27 22:23

Oh no, Beckett wanted me to post the full path to netPBM. I use this and it still doesn't register as being there. I've removed netpbm and reloaded it onto the site even and it still can't find it for some reason or other.

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Sat, 2003-09-06 16:39

Any Ideas?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sat, 2003-09-06 21:23

Upload this script:

<?php
system ("ls -al /path/to/where/you/think/netpbm/is");
?>

Run it and post the results...

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Sat, 2003-09-13 15:45

Hmmm I assume you mean paste that into a test php file. WEll I did that. I placed the file in the root directory and nothing shows up. http://www.jyuen.ca/test.php

now http://www.jyuen.ca/php-cgi/netpbm/test.php shows the path to netpbm, i use that and it still can't find it. I'm frankly at a loss and after 3 months, I'm ready to go find something else cuz this just aint working.

 
luppy

Joined: 2003-09-14
Posts: 2
Posted: Sun, 2003-09-14 19:47

Try this as it worked for me having same problems (and a few more after problems that appeared after I fixed the netpbm path problem):

create a htaccess file with 777 properties.
CHMOD all the files in the directory to 755, not just the directory itself.

Also, create an config.php with CHMOD 777 and put it in the directory with the binary files (netpbm direcory). This is necessary for it to configure the binaries properly (you will get an error if you don't do this after you fix netpbm problem).

After I did this I finally passed all config test and was able to go forward.

Finally after wrangling with the damn netpbm/ImageMagick problem for days.

 
jyuen

Joined: 2003-06-18
Posts: 40
Posted: Mon, 2003-09-15 02:17

Ok thanks a lot, I will give it a try over the next couple days!