NetPBM giving me greif

TimGTI

Joined: 2002-09-04
Posts: 2
Posted: Wed, 2002-09-04 10:16

i have uploaded the NetPBM files to a folder called netpbm on my hosting, i have set the permissions to 777 on each file and the folder.

i point the config tot he correct path but still it says i have erorrs. everything else works!

what cud be the problem?

i have checked i got the right version, and i cant see of nething i have done wrong!

please advise

crisis over i have fixed it

Tim :lol:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-05 03:28

What did the problem turn out to be?

Also, when you edit a post, it's good etiquette to put a note in there saying
you editted it. Or even better, just post a reply so that it's clear what happened
(I was a little confused there).

 
arossphoto

Joined: 2002-09-05
Posts: 13
Posted: Thu, 2002-09-05 03:34

I'm having a similar problem, so I'd also like to know how you fixed it. I uploaded the netpbm binaries, but I don't think I'm entering the right path. Here is the error I'm getting on Step 4 of configuration:

Quote:
$gallery->app->pnmDir = "/usr/local/netpbm"; Error: I can't find NetPBM at the location you provided....

I'm also getting a similar error with the albums and temp directories:

Quote:
$gallery->app->movieThumbnail = "/home/sites/canphoto.net/gallery/images/movie.thumb.jpg";
Error: Directory /home/sites/canphoto.net/albums does not exist. Please create it.
Error: Directory /home/sites/canphoto.net/temp does not exist. Please create it.
$gallery->app->photoAlbumURL = "http://www.canphoto.net/gallery";
$gallery->app->albumDirURL = "http://www.canphoto.net/albums";

Any suggestions?
My server is running Apache 1.3.20 Sun Cobalt.

Thanks.

Edited 11:35pm

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-05 04:50
Quote:
$gallery->app->pnmDir = "/usr/local/netpbm"; Error: I can't find NetPBM at the location you provided...

Is that the right path? Do a "ls -al /usr/local/netpbm" and send us the results.

Quote:
Error: Directory /home/sites/canphoto.net/albums does not exist. Please create it.
Error: Directory /home/sites/canphoto.net/temp does not exist. Please create it.

Do those directories exist? Did you create them, as it asks?

-Bharat

 
arossphoto

Joined: 2002-09-05
Posts: 13
Posted: Thu, 2002-09-05 12:21

Thanks for your help.

I have fixed my paths and now I have no errors on step 4. But when I click on "Save Config I get this message: "Unable to write to /home/sites/site20/web/gallery/.htaccess"

This seems strange since on Step 1 it says "Success I can read your .htaccess file". When I went to check the CHMOD settings with CuteFTP I can't find .htaccess anymore. It's not in the list of files in the gallery directory anymore!?!

I also don't understand why it is trying to write to "site20" when I have changed the path to my site.

If it helps, here are the results from Step 4 that defines the paths:

/* Constants */
$gallery->app->galleryTitle = "Gallery";
$gallery->app->pnmDir = "/home/sites/www.canphoto.net/web/netpbm";
$gallery->app->highlight_size = "200";
$gallery->app->zipinfo = "/usr/bin/zipinfo";
$gallery->app->unzip = "/usr/bin/unzip";
// optional use_exif missing
$gallery->app->movieThumbnail = "/home/sites/www.canphoto.net/web/gallery/images/movie.thumb.jpg";
$gallery->app->albumDir = "/home/sites/www.canphoto.net/web/albums";
$gallery->app->tmpDir = "/home/sites/www.canphoto.net/web/temp";
$gallery->app->photoAlbumURL = "http://www.canphoto.net/gallery";
$gallery->app->albumDirURL = "http://www.canphoto.net/albums";

 
arossphoto

Joined: 2002-09-05
Posts: 13
Posted: Thu, 2002-09-05 12:48

I decided to try a different FTP client to see if I could find .htaccess, and with SmartFTP it was there. I don't know why I couldn't see it with CuteFTP, but I was able to change the CHMOD settings and now it seems to be working fine :grin: