April 18, 2003Picture ThisHelp. I'm trying to install & run Gallery, and I could have sworn that I loaded everything correctly...set CHMODs just right...but I'm getting two errors that baffle me. I loaded the NetPBM, but Gallery config doesn't know that. Same with my "temp" directory. Any ideas...? /* Constants */$gallery->app->galleryTitle = "Gallery"; $gallery->app->pnmDir = "/public_html/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! If you can't get it working, try leaving the NetPBM path blank and using ImageMagick intead. $gallery->app->ImPath = "/usr/bin"; $gallery->app->graphics = "NetPBM"; $gallery->app->highlight_size = "200"; // optional zipinfo missing // optional unzip missing // optional use_exif missing Error: Directory /public_html/temp does not exist. Please create it. $gallery->app->photoAlbumURL Posted by davidmsc at April 18, 2003 11:17 PM Comments
in temp, type: if you have shell access, you can figure out where netpbm is by typing: if you don't, and you just have the binaries uploaded to the server, you need to type in the full path--for example, it might be at: or (shameless plug) *grin* Thoughtlocker has full support for Gallery. ;) Posted by: Erica at April 19, 2003 01:22 AMJoni Electric is grappling with Gallery, too. Maybe the two of you can put your great minds together? Posted by: Venomous Kate at April 19, 2003 01:24 AMFor the temp directory, did you enter its path? There's a box somewhere to do that in the setup screens. Make sure you chmodded it too. Sounds like you're sure you did, but just asking. I've skipped right over that a couple of times. Are you sure your path is correct for the directory you installed netpbm? And of course, since that's in your local site path and so is that temp directory, you might just have that path all wrong... The easiest thing to do, if you don't have shell access, is to open up movable type, go to "blog config" and see what path is entered there. MT autodiscovered that, so you know it's right. Hope that helps! :) Posted by: Jennifer at April 19, 2003 05:37 AMPost a comment
|