Stuck, Please Help.

2koncepts

Joined: 2002-09-07
Posts: 2
Posted: Sat, 2002-09-07 18:36

Hello,

Below are the two errors that I am receiving from the setup page. I have tried almost everything to get it to work, but now I am a loss. Any help would be appriciated.

Thanks in advance.

/* Constants */
$gallery->app->galleryTitle = "Gallery";
$gallery->app->pnmDir = "http://www.2koncepts.com/netpbm";
Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from Gallery on SourceForge or, you can compile and install the entire NetPBM package from NetPBM on SourceForge. Note: You can install the binaries from the Gallery site even if you don't have root access on your box!
$gallery->app->highlight_size = "200";
$gallery->app->zipinfo = "/usr/bin/zipinfo";
$gallery->app->unzip = "/usr/bin/unzip";
// optional use_exif missing
$gallery->app->movieThumbnail = "/usr/local/plesk/apache/vhosts/2koncepts.com/httpdocs/gallery/images/movie.thumb.jpg";
$gallery->app->albumDir = "/usr/local/plesk/apache/vhosts/2koncepts.com/httpdocs/albums";
Error: tmpDir: /tmp exists, but is not writeable by the webserver user. Try:
chown -R apache /tmp

or if that doesn't work:
chmod -R 777 /tmp

Also make sure that if you have an open_basedir restriction , then this tmp directory should be under the open_basedir path
null

 
bharat
bharat's picture

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

You're supposed to enter a filesystem path for NetPBM, not a URL. See the examples in the config wizard under each text box and make sure that what you enter resembles the examples.

 
2koncepts

Joined: 2002-09-07
Posts: 2
Posted: Mon, 2002-09-09 01:35

Hi, I did that too, and it still cannot find it.

Maybe I am not installing NetPBM correctly.

What directory does it need to be in? Right now I just FTP'd it to my 2koncepts/netpbm directory. I don't have any access to my /bin directory.

Am I installing is correcly? I have also CHMOD them to 777.

Thanks in advance.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-09-09 09:47

Start by reading FAQ B.3; it has instructions on how to install NetPBM via ftp. Report back with your progress.