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.
Posts: 3473
beckett is still gone, so you may be on your own here. Try a few different places, and see what works.
Posts: 40
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.
Posts: 40
Does no one else have any idea on a possible solution to this?
Posts: 3473
remove config.php, and try again.
Posts: 40
Yeah did that, re-ran the config, and still Gallery can't find netpbm
Posts: 7994
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:
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?
Posts: 40
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.
Posts: 3473
of course, bharat meant
Posts: 40
is that supposed to be "/"'s or "?"'s
Posts: 40
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
Posts: 40
bump
Posts: 40
again
Posts: 40
Does anyone have any suggestions for this problem?
Posts: 524
if you have shell access try cd'ing into your netpbm directory and chmoding all the files like this
chmod a+x *
Posts: 40
ok will try
Posts: 40
I tried it, but it wouldn't allow me to do it.
Posts: 3474
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 (
)
Posts: 1
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?
Posts: 3473
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.
Posts: 8194
Yep, as in FAQ c.25
Posts: 40
/usr/local/psa/home/vhosts/jyuen.ca/httpdocs/php-cgi/gallery/netpbm
Posts: 3473
so it's working?
Posts: 40
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.
Posts: 40
Any Ideas?
Posts: 8194
Upload this script:
<?php system ("ls -al /path/to/where/you/think/netpbm/is"); ?>
Run it and post the results...
Posts: 40
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.
Posts: 2
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.
Posts: 40
Ok thanks a lot, I will give it a try over the next couple days!