2 errors in installation- sorry... i'm a newbie

coreybyrnes

Joined: 2004-11-06
Posts: 20
Posted: Sat, 2004-11-06 20:38

hello everyone... i have two errors i cannot figure out... i know they are probably simple fixes but i'm new at this... can you lend a hand please? thanks!

2 errors.See Details below.

/* Version */$gallery->app->config_version = '82'; /* Features */$gallery->app->feature["zip"] = 1;
$gallery->app->feature["rewrite"] = 1;
$gallery->app->feature["mirror"] = 0; // (missing mirrorSites -- it's optional)
/* Constants */
$gallery->app->galleryTitle = "corey byrnes photography";
$gallery->app->skinname = "black";
$gallery->app->uploadMode = "form";
$gallery->app->albumDir = "/home/coreybyr/public_html/albums";

Error: tmpDir: /home/coreybyr/public_html/gallery/temp exists, but is not writeable by the webserver user. Try:
chown -R nobody /home/coreybyr/public_html/gallery/temp

or if that doesn't work:
chmod -R 777 /home/coreybyr/public_html/gallery/temp

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

*** i made sure it was 777'ed ***
$gallery->app->photoAlbumURL = "http://www.coreybyrnes.com/gallery";
$gallery->app->albumDirURL = "http://www.coreybyrnes.com/albums";
$gallery->app->watermarkDir = "/home/coreybyr/public_html/gallery/images/watermark.png";
$gallery->app->movieThumbnail = "/home/coreybyr/public_html/gallery/images/movie.thumb.jpg";
// optional mirrorSites missing
$gallery->app->embedded_inside_type = "";
$gallery->app->geeklog_dir = "/path/to/geeklog/public_html";
$gallery->app->graphics = "NetPBM";
$gallery->app->pnmDir = "/home/coreybyr/public_html/gallery/netpbm";
$gallery->app->pnmtojpeg = "pnmtojpeg";
$gallery->app->ImPath = "/usr/X11R6/bin";
$gallery->app->autorotate = "no";
$gallery->app->jpegImageQuality = "90";
$gallery->app->showAlbumTree = "yes";
$gallery->app->highlight_size = "200";
$gallery->app->showOwners = "no";
$gallery->app->albumsPerPage = "10";
$gallery->app->showSearchEngine = "yes";
$gallery->app->slowPhotoCount = "no";
$gallery->app->gallery_thumb_frame_style = "simple_book";
$gallery->app->zipinfo = "/usr/bin/zipinfo";
$gallery->app->unzip = "/usr/bin/unzip";
// optional use_exif missing
$gallery->app->cacheExif = "no";
$gallery->app->use_jpegtran = "/usr/bin/jpegtran";
$gallery->app->default_language = "en_US";
$gallery->app->ML_mode = "0";
$gallery->app->available_lang[] = "en_US";
$gallery->app->show_flags = "no";
$gallery->app->dateString = "%b %d, %Y";
$gallery->app->dateTimeString = "%H:%M, %b %d, %Y";
$gallery->app->emailOn = "no";
// optional adminEmail missing
// optional senderEmail missing
$gallery->app->emailSubjPrefix = "[Gallery]";
// optional emailGreeting missing
$gallery->app->selfReg = "no";
$gallery->app->selfRegCreate = "no";
$gallery->app->multiple_create = "no";
$gallery->app->adminCommentsEmail = "no";
$gallery->app->adminOtherChangesEmail = "no";
// optional email_notification missing
$gallery->app->gallery_slideshow_type = "off";
$gallery->app->gallery_slideshow_length = "20";
$gallery->app->gallery_slideshow_loop = "yes";
$gallery->app->slideshowMode = "high";
$gallery->app->comments_enabled = "yes";
$gallery->app->comments_indication = "photos";
$gallery->app->comments_indication_verbose = "no";
$gallery->app->comments_anonymous = "no";
$gallery->app->comments_display_name = "!!FULLNAME!! (!!USERNAME!!)";
$gallery->app->comments_addType = "inside";
$gallery->app->comments_length = "300";
$gallery->app->comments_overview_for_all = "yes";
$gallery->app->timeLimit = "30";
$gallery->app->blockRandomCache = "86400";
$gallery->app->debug = "no";
$gallery->app->devMode = "no";
$gallery->app->useSyslog = "no";
$gallery->app->use_flock = "yes";
$gallery->app->expectedExecStatus = "0";
$gallery->app->sessionVar = "gallery_session";
$gallery->app->rssEnabled = "yes";
$gallery->app->rssMode = "basic";
// optional rssHighlight missing
$gallery->app->rssMaxAlbums = "25";
$gallery->app->rssVisibleOnly = "yes";
$gallery->app->rssDCDate = "no";
$gallery->app->rssBigPhoto = "no";
$gallery->app->rssPhotoTag = "yes";
$gallery->app->userDir = "/home/coreybyr/public_html/albums/.users";
$gallery->app->maximumAlbumDepth = "50";

Error: Could not find /home/coreybyr/public_html/gallery/netpbm/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead). Please check your configuration (or use ImageMagick).

*** i can't figure out why this isn't working... i have pnmtojpg ***
/* Defaults */
$gallery->app->default["bordercolor"] = "black";
$gallery->app->default["border"] = "1";
$gallery->app->default["font"] = "verdana";
$gallery->app->default["cols"] = "5";
$gallery->app->default["rows"] = "5";
$gallery->app->default["thumb_size"] = "150";
$gallery->app->default["resize_size"] = "off";
$gallery->app->default["resize_file_size"] = "0";
$gallery->app->default["max_size"] = "off";
$gallery->app->default["max_file_size"] = "0";
$gallery->app->default["useOriginalFileNames"] = "no";
$gallery->app->default["add_to_beginning"] = "no";
$gallery->app->default["fit_to_window"] = "no";
$gallery->app->default["use_fullOnly"] = "no";
$gallery->app->default["print_photos"]["photoaccess"]["checked"] = "checked";
$gallery->app->default["print_photos"]["shutterfly"]["checked"] = "checked";
$gallery->app->default["print_photos"]["fotokasten"]["checked"] = "checked";
$gallery->app->default["print_photos"]["ezprints"]["checked"] = "checked";
$gallery->app->default["returnto"] = "yes";
$gallery->app->default["defaultPerms"] = "everybody";
$gallery->app->default["display_clicks"] = "yes";
$gallery->app->default["extra_fields"] = "Description";
$gallery->app->default["showDimensions"] = "no";
$gallery->app->default["item_owner_modify"] = "yes";
$gallery->app->default["item_owner_delete"] = "yes";
$gallery->app->default["item_owner_display"] = "no";
$gallery->app->default["voter_class"] = "Nobody";
$gallery->app->default["poll_type"] = "critique";
$gallery->app->default["poll_scale"] = "3";
$gallery->app->default["poll_hint"] = "Vote for this image";
$gallery->app->default["poll_show_results"] = "no";
$gallery->app->default["poll_num_results"] = "3";
$gallery->app->default["poll_orientation"] = "vertical";
$gallery->app->default["poll_nv_pairs"][0]["name"] = "Excellent";
$gallery->app->default["poll_nv_pairs"][0]["value"] = "5";
$gallery->app->default["poll_nv_pairs"][1]["name"] = "Very Good";
$gallery->app->default["poll_nv_pairs"][1]["value"] = "4";
$gallery->app->default["poll_nv_pairs"][2]["name"] = "Good";
$gallery->app->default["poll_nv_pairs"][2]["value"] = "3";
$gallery->app->default["poll_nv_pairs"][3]["name"] = "Average";
$gallery->app->default["poll_nv_pairs"][3]["value"] = "2";
$gallery->app->default["poll_nv_pairs"][4]["name"] = "Poor";
$gallery->app->default["poll_nv_pairs"][4]["value"] = "1";
$gallery->app->default["poll_nv_pairs"][5]["name"] = "";
$gallery->app->default["poll_nv_pairs"][5]["value"] = "";
$gallery->app->default["poll_nv_pairs"][6]["name"] = "";
$gallery->app->default["poll_nv_pairs"][6]["value"] = "";
$gallery->app->default["poll_nv_pairs"][7]["name"] = "";
$gallery->app->default["poll_nv_pairs"][7]["value"] = "";
$gallery->app->default["poll_nv_pairs"][8]["name"] = "";
$gallery->app->default["poll_nv_pairs"][8]["value"] = "";
$gallery->app->default["slideshow_type"] = "ordered";
$gallery->app->default["slideshow_recursive"] = "no";
$gallery->app->default["slideshow_loop"] = "yes";
$gallery->app->default["slideshow_length"] = "0";
$gallery->app->default["album_frame"] = "none";
$gallery->app->default["thumb_frame"] = "solid";
$gallery->app->default["image_frame"] = "solid";

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
coreybyrnes

Joined: 2004-11-06
Posts: 20
Posted: Sat, 2004-11-06 23:45

anyone? :D

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2004-11-06 23:54

Specify those paths in Step 2 - Locations and URLs tab in the config wizard.

 
coreybyrnes

Joined: 2004-11-06
Posts: 20
Posted: Sun, 2004-11-07 00:10

hey h0bbel... thanks for the reply... actually i have them specified as listed above.... can you tell what's wrong with them?

for the temp i have it as:
/home/coreybyr/public_html/gallery/temp

which can be seen here:
http://www.coreybyrnes.com/gallery/temp/

for the netpbm i have it as (using pnmtojpg.exe):
/home/coreybyr/public_html/gallery/netpbm

which can be seen here:
http://www.coreybyrnes.com/gallery/netpbm/

so where am i going wrong? thanks!

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-11-07 00:31

For the temp dir, /tmp is normally fine.

As for the NetPBM dir, thats probably correct, but you are using the wrong binaries. Judging by the path (/home/etc..) you are running this on a unix/linux system. According to netcraft.com, your site is running:

Quote:
Linux Apache/1.3.28 (Unix) mod_tsunami/2.0 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.3 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.6k 7-Nov-2004 66.235.216.131 iPowerWeb, Inc

Try to download and use the NetPBM 1.4 Linux-Intel binaries from the download page. Remember to chmod both the directory and all the files in it 755.

 
coreybyrnes

Joined: 2004-11-06
Posts: 20
Posted: Sun, 2004-11-07 00:42

should i upload it in binary or does that not matter? thanks for the help on what netpbm to upload....

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-11-07 00:56

coreybyrnes, definately BINARY :)

 
coreybyrnes

Joined: 2004-11-06
Posts: 20
Posted: Sun, 2004-11-07 00:59

i uploaded NetPBM 1.4 Linux-Intel in binary and it worked! thanks!

i renamed the temp folder to tmp and it works now!

thanks so much h0bbel!!!!!!!!!!

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-11-07 01:23

coreybyrnes, whoohoo, another install bites the dust! ;-)