Problems with netpbm

Marsz

Joined: 2008-02-19
Posts: 6
Posted: Tue, 2008-02-19 13:02

I have a problem uploading pictures. It works with small picture (120x120) but bigger it gives the following notification 'Error: Unable to make thumbnail. (0) '.

If i use the configurationwizzard things are alright;

Netpbm installed

Check to see if Netpbm is installed so that Gallery can manipulate images (rotate, resize, make thumbnails, etc.). You only need to have either Netpbm or ImageMagick installed.

13 of 13 Netpbm binaries located.

------

But if i use the Gallery Diagnostics Page;

You told the config wizard that your Netpbm binaries live here:

/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm

If that is not right (or if it is blank), re-run the configuration wizard and enter a location for Netpbm.
-----------

and it also can't find any parts of the program;

Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/giftopnm' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/jpegtopnm' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pngtopnm' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmcut' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmfile' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmflip' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmrotate' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmscale' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmtopng' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/ppmquant' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/ppmtogif' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmtojpeg' Expected status: 0, but actually received status 255.
Checking: '/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm/pnmcomp' Expected status: 0, but actually received status 255

-----

Maybe it's got something to do with the open_basedir? How can i fix this?

You can see that everything is alright in de config?

/* Version */
$gallery->app->config_version = '96';

/* 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 = "Karin de Paauw";
$gallery->app->useIcons = "no";
$gallery->app->skinname = "black";
$gallery->app->uploadMode = "form";
$gallery->app->albumDir = "/var/www/vhosts/karindepaauw.nl/httpdocs/albums";
$gallery->app->tmpDir = "/var/www/vhosts/karindepaauw.nl/httpdocs/tmp";
$gallery->app->photoAlbumURL = "http://www.karindepaauw.nl/gallery";
$gallery->app->albumDirURL = "http://www.karindepaauw.nl/albums";
$gallery->app->movieThumbnail = "/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/images/movie.thumb.jpg";
// optional mirrorSites missing
$gallery->app->graphics = "Netpbm";
// optional ImPath missing
$gallery->app->pnmDir = "/var/www/vhosts/karindepaauw.nl/httpdocs/gallery/netpbm";
$gallery->app->pnmtojpeg = "pnmtojpeg";
$gallery->app->pnmcomp = "pnmcomp";
$gallery->app->autorotate = "yes";
$gallery->app->jpegImageQuality = "90";
$gallery->app->highlightJpegImageQuality = "70";
$gallery->app->thumbJpegImageQuality = "50";
// optional geeklog_dir missing
$gallery->app->albumTreeDepth = "0";
$gallery->app->microTree = "no";
$gallery->app->highlight_size = "100";
$gallery->app->highlight_ratio = "0";
$gallery->app->showOwners = "no";
$gallery->app->albumsPerPage = "5";
$gallery->app->showSearchEngine = "no";
$gallery->app->slowPhotoCount = "no";
$gallery->app->gallery_thumb_frame_style = "none";
// optional zipinfo missing
// optional unzip missing
// optional zip 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.karindepaauw.nl";
$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 = "no";
$gallery->app->slideshowMode = "high";
$gallery->app->comments_enabled = "no";
$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->debuglevel = "0";
$gallery->app->skipRegisterGlobals = "no";
$gallery->app->timeLimit = "30";
$gallery->app->IM_HQ = "yes";
$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 = "/var/www/vhosts/karindepaauw.nl/httpdocs/albums/.users";

/* Defaults */
$gallery->app->default["cols"] = "2";
$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"] = "75";
$gallery->app->default["thumb_ratio"] = "0";
$gallery->app->default["resize_size"] = "640";
$gallery->app->default["resize_file_size"] = "0";
$gallery->app->default["max_size"] = "0";
$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"] = "";
$gallery->app->default["mPUSHAccount"] = "gallery";
$gallery->app->default["ecards"] = "no";
$gallery->app->default["returnto"] = "no";
$gallery->app->default["defaultPerms"] = "everybody";
$gallery->app->default["display_clicks"] = "no";
$gallery->app->default["extra_fields"] = "Description";
$gallery->app->default["showDimensions"] = "no";
$gallery->app->default["item_owner_modify"] = "no";
$gallery->app->default["item_owner_delete"] = "no";
$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"] = "off";
$gallery->app->default["slideshow_recursive"] = "no";
$gallery->app->default["slideshow_loop"] = "no";
$gallery->app->default["slideshow_length"] = "0";
$gallery->app->default["nav_thumbs"] = "no";
$gallery->app->default["nav_thumbs_style"] = "fixed";
$gallery->app->default["nav_thumbs_first_last"] = "no";
$gallery->app->default["nav_thumbs_prev_shown"] = "1";
$gallery->app->default["nav_thumbs_next_shown"] = "1";
$gallery->app->default["nav_thumbs_location"] = "top";
$gallery->app->default["nav_thumbs_size"] = "45";
$gallery->app->default["nav_thumbs_current_bonus"] = "15";
$gallery->app->default["album_frame"] = "simple_book";
$gallery->app->default["thumb_frame"] = "solid";
$gallery->app->default["image_frame"] = "solid";

 
Marsz

Joined: 2008-02-19
Posts: 6
Posted: Tue, 2008-02-19 13:08

Sorry moderator! One time is enough!

I have som probs with my browser!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-02-19 14:19

Yep, got some mails ;-)

So you installed Netpbm on your own.
Which Version of Netpbm (NO, don't tell me "the latest", or "the one from your website"), be exact please.
What OS does the webserver have?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Marsz

Joined: 2008-02-19
Posts: 6
Posted: Tue, 2008-02-19 20:20

Sorry! I really don't know! I downloaded it from http://sourceforge.net/project/showfiles.php?group_id=7130&package_id=14464.

I think i have the file netpbm_gallery-1.4-pl2-win32.zip. Is this the right one?

 
Marsz

Joined: 2008-02-19
Posts: 6
Posted: Tue, 2008-02-19 20:34

I found the problem! I had the wrong version of Netpbm!