Errors when trying to install, here's the list of the red on

Cowboy

Joined: 2002-10-25
Posts: 13
Posted: Fri, 2002-10-25 07:47

Here's a list of the red lines when I was trying to install my gallery

Quote:
Error: Missing value: Path to NetPBM!
Error: Missing value: Temporary directory!

I dunno what NetPBM or where my temp directory should be?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Fri, 2002-10-25 08:27

Error: Missing value: Path to NetPBM!

Well... if you've read the install README (#5 in particular) closely, you'll see that you either have to have NetPBM installed on your server already, or you have to install your own. I highly recommend against compiling yourself (read: not worth it)... binaries are available for just about every platform from the Gallery download page.

Error: Missing value: Temporary directory!

I've never seen a self-respecting computer without one o' those at "/tmp" or maaaaybe "/temp" :wink:. I'd give that a shot first.

Good luck wih the install!
-Beckett (beck@beckettmw.com)

 
Galaphile
Galaphile's picture

Joined: 2002-08-24
Posts: 6
Posted: Fri, 2002-10-25 18:55

Even Win$hit has one.....

c:windowstemp
c:winnttemp :grin:

 
Cowboy

Joined: 2002-10-25
Posts: 13
Posted: Sat, 2002-10-26 00:42

So you mean the temp directory would be something on my computer and not on my server?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Sat, 2002-10-26 02:42

No it would be on your server. Just try "/tmp". It's a good bet it'll work. If you have shell access, you can check in the root-level ("/") directory to make sure.

 
Cowboy

Joined: 2002-10-25
Posts: 13
Posted: Sat, 2002-10-26 03:47

ook, you're right, I see it now it's /tmp and that works. But now as to the first question about netpbm, I checked with my host and I don't have one, but what is it exactly that I download from <!-- BBCode Start --><A HREF="http://sourceforge.net/projects/gallery" TARGET="_blank">this</A><!-- BBCode End --> page?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Sat, 2002-10-26 04:55

In the file releases, you'll see "netpbm-gallery". From that page, pick the one that matches the platform your server runs on. (If you're unsure of this, make sure Gallery's in Config. mode, and run "gallery/setup/phpinfo.php" in your browser. At the top, you'll see "System" and hopefully a description of your platform.)

Then install the files into a directory, and make all the files executable ("chmod 755 *"). This directory is the path you need to specify in the Gallery setup.

 
Cowboy

Joined: 2002-10-25
Posts: 13
Posted: Sat, 2002-10-26 09:16

Success! I got netpbm and I made it past that screen, but now I have a new problem the next screen says

Quote:
Unable to write to /home/aomu/public_html/gallery/.htaccess

My server likes chmod 777 because 755 usually doesnt work so I made sure to write these files 777. Did I miss something?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Sat, 2002-10-26 10:10

Are you 100% sure you made .htaccess 777 (or at least 666)?

If you're having trouble checking, write this in a file called "test.php" and run it in your browser:
<? printf("%on",fileperms(".htaccess") &amp; 511); ?>
It'll print out the permissions for .htaccess.

If it's 777 or 666, and this message is popping up, it's possible that your ISP has disabled important php functions that would allow you to write to files, execute commands, etc. If that's the case, you might not be able to use Gallery with this ISP. :sad:

So let's hope that's not the case! :smile:

 
Cowboy

Joined: 2002-10-25
Posts: 13
Posted: Sat, 2002-10-26 10:27

It's definitely 777

When running the test on

I get the following error

Quote:
Warning: stat failed for .htaccess (errno=2 - No such file or directory) in /home/aomu/public_html/gallery/.htaccess/test.php on line 1
0

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Sat, 2002-10-26 10:37

Hi... okay the test.php file as written needs to be in your gallery/ directory.

Which leads me to... why do you have a .htaccess directory?? .htaccess is supposed to be a file, not a directory. Just an empty file called ".htaccess". That would certainly explain why Gallery can't write to it!

 
Cowboy

Joined: 2002-10-25
Posts: 13
Posted: Sat, 2002-10-26 10:47

Yes, I got it now. Silly me, I misunderstood the instructions and made .htaccess a folder instead of a file. It works great now, I plan on integrating this into my invision board.
Cheers.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Sat, 2002-10-26 10:49

oops! :roll: