1.5 installation problems

KM5

Joined: 2005-03-29
Posts: 1
Posted: Thu, 2005-07-07 03:33

I am the beginner of gallery build. would anyone can teach me that how to address these problems.

Thanks

2 errors. See Details below.
/* Version */
$gallery->app->config_version = '91';

/* Features */
$gallery->app->feature["zip"] = 0; // (missing zipinfo -- it's optional, missing unzip -- it's optional)
$gallery->app->feature["rewrite"] = 1;
$gallery->app->feature["mirror"] = 0; // (missing mirrorSites -- it's optional)

/* Constants */
$gallery->app->galleryTitle = "Gallery";
$gallery->app->useIcons = "no";
$gallery->app->skinname = "none";
$gallery->app->uploadMode = "form";
$gallery->app->albumDir = "/usr/local/psa/home/vhosts/fhlnet.com/httpdocs/albums";
Error: // Missing value: Temporary directory!
$gallery->app->photoAlbumURL = "http://www.fhlnet.com/gallery";
$gallery->app->albumDirURL = "http://www.fhlnet.com/albums";
$gallery->app->movieThumbnail = "/usr/local/psa/home/vhosts/fhlnet.com/httpdocs/gallery/images/movie.thumb.jpg";
// optional mirrorSites missing
$gallery->app->graphics = "NetPBM";
// optional pnmDir missing
$gallery->app->pnmtojpeg = "pnmtojpeg";
$gallery->app->pnmcomp = "pnmcomp";
// optional ImPath missing
$gallery->app->autorotate = "yes";
$gallery->app->jpegImageQuality = "90";
// optional geeklog_dir missing
$gallery->app->albumTreeDepth = "1000";
$gallery->app->highlight_size = "200";
$gallery->app->showOwners = "no";
$gallery->app->albumsPerPage = "5";
$gallery->app->showSearchEngine = "yes";
$gallery->app->slowPhotoCount = "no";
$gallery->app->gallery_thumb_frame_style = "simple_book";
// optional zipinfo missing
// optional unzip missing
// optional rar missing
// optional use_exif missing
// optional exiftags missing
// optional use_jpegtran missing
$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 = "%x";
$gallery->app->dateTimeString = "%c";
$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->useOtherSMTP = "no";
$gallery->app->smtpHost = "localhost";
$gallery->app->smtpFromHost = "www.fhlnet.com";
$gallery->app->smtpPort = "25";
// optional smtpUserName missing
// optional smtpPassword 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 = "popup";
$gallery->app->comments_length = "300";
$gallery->app->comments_overview_for_all = "no";
// optional watermarkDir missing
$gallery->app->watermarkSizes = "0";
// optional stats_foruser missing
$gallery->app->stats_viewsCacheOn = "0";
$gallery->app->stats_viewsCacheExpireSecs = "60";
$gallery->app->stats_commentsCacheOn = "0";
$gallery->app->stats_commentsCacheExpireSecs = "600";
$gallery->app->stats_dateCacheOn = "0";
$gallery->app->stats_dateCacheExpireSecs = "-1";
$gallery->app->stats_votesCacheOn = "0";
$gallery->app->stats_votesCacheExpireSecs = "3600";
$gallery->app->stats_ratingsCacheOn = "0";
$gallery->app->stats_ratingsCacheExpireSecs = "3600";
$gallery->app->stats_cDateCacheOn = "0";
$gallery->app->stats_cDateCacheExpireSecs = "-1";
$gallery->app->debug = "no";
$gallery->app->skipRegisterGlobals = "no";
$gallery->app->timeLimit = "30";
$gallery->app->blockRandomCache = "86400";
$gallery->app->blockRandomAttempts = "2";
$gallery->app->cacheExif = "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 = "/usr/local/psa/home/vhosts/fhlnet.com/httpdocs/albums/.users";
// Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!
/* Defaults */
$gallery->app->default["cols"] = "3";
$gallery->app->default["rows"] = "3";
$gallery->app->default["bordercolor"] = "black";
$gallery->app->default["border"] = "1";
$gallery->app->default["font"] = "arial";
$gallery->app->default["thumb_size"] = "150";
$gallery->app->default["resize_size"] = "640";
$gallery->app->default["resize_file_size"] = "0";
$gallery->app->default["max_size"] = "off";
$gallery->app->default["max_file_size"] = "0";
$gallery->app->default["useOriginalFileNames"] = "yes";
$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"]["fotoserve"]["checked"] = "checked";
$gallery->app->default["print_photos"]["fotokasten"]["checked"] = "checked";
$gallery->app->default["print_photos"]["mpush"]["checked"] = "checked";
$gallery->app->default["mPUSHAccount"] = "gallery";
$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"] = "simple_book";
$gallery->app->default["thumb_frame"] = "solid";
$gallery->app->default["image_frame"] = "solid";

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Thu, 2005-07-07 10:24
KM5 wrote:
I am the beginner of gallery build. would anyone can teach me that how to address these problems.

.....

Error: // Missing value: Temporary directory!

In the configuration wizard step 2, Locations and URLs tab enter a temporary directory for gallery to use to put scratch files. Try /tmp.

Quote:
// Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!

In the configuration wizard step 2, Toolkits / image processing tab enter a path to netpbm or IM. Since it didn't autodetect your toolkit, the easiest way to do this IMO is to just download the appropriate package from here (probably the linux-intel ones, but since you deleted the information template instead of filling it out, I can't be sure), put it into a directory (where exactly would depend on what rights you have on the system... if you host yourself, somewhere like /usr/local/bin would work, if not /usr/local/psa/home/vhosts/fhlnet.com/netpbm or something similar), and make sure the directory and all files in it are at least chod 555.