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";
Posts: 3
i downloaded binary package gallery1.4 win32 but im using galerry 2.* :S
my host is windows host. im uploading binary "modules/netpbm/binary"
(i created binary folder .. chmod755 ) and i am configuring netpbm folder... modules\netpbm\binary\
when i am testing
system is giving me :
Binary NAme Success/Unsuccess
pnmscale Unsuccess
pnmcut Unsuccess
pnmfile Unsuccess
pnmcomp Unsuccess
pnmflip Success
i am looking error logs i cant find g2d2AC1.tmp this on temp what is problem please help me..
//////////////////////////////////////////////////////////
is_dir(modules\netpbm\binary\)
file_exists(modules\netpbm\binary\pnmscale)
file_exists(modules\netpbm\binary\pnmscale.exe)
Executing: cmd /c " "modules\netpbm\binary\pnmscale.exe" "--version" 2>
"C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC1.tmp"
"
getParameter exec.expectedStatus for core plugin
file_exists(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC1.tmp)
filesize(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC1.tmp)
unlink(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC1.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
file_exists(modules\netpbm\binary\pnmcut)
file_exists(modules\netpbm\binary\pnmcut)
Executing: cmd /c " "modules\netpbm\binary\pnmcut" "--version" 2>
"C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC2.tmp"
"
getParameter exec.expectedStatus for core plugin
file_exists(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC2.tmp)
filesize(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC2.tmp)
unlink(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC2.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
file_exists(modules\netpbm\binary\pamcut)
file_exists(modules\netpbm\binary\pamcut.exe)
file_exists(modules\netpbm\binary\pnmfile)
file_exists(modules\netpbm\binary\pnmfile)
Executing: cmd /c " "modules\netpbm\binary\pnmfile" "--version" 2>
"C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC3.tmp"
"
getParameter exec.expectedStatus for core plugin
file_exists(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC3.tmp)
filesize(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC3.tmp)
unlink(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC3.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
file_exists(modules\netpbm\binary\pamfile)
file_exists(modules\netpbm\binary\pamfile.exe)
Executing: cmd /c " "modules\netpbm\binary\pamfile.exe" "--version" 2>
"C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC4.tmp"
"
getParameter exec.expectedStatus for core plugin
file_exists(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC4.tmp)
filesize(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC4.tmp)
unlink(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC4.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
file_exists(modules\netpbm\binary\pnmcomp)
file_exists(modules\netpbm\binary\pnmcomp)
Executing: cmd /c " "modules\netpbm\binary\pnmcomp" "--version" 2>
"C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC5.tmp"
"
getParameter exec.expectedStatus for core plugin
file_exists(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC5.tmp)
filesize(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC5.tmp)
unlink(C:\Inetpub\vhosts\canakkalehaber.com\subdomains\galeri\httpdocs\g2data\tmp\g2d2AC5.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
file_exists(modules\netpbm\binary\pamcomp)
file_exists(modules\netpbm\binary\pamcomp.exe)
file_exists(modules\netpbm\binary\pnmflip)
file_exists(modules\netpbm\binary\pnmflip)
/////////////////////////////////////////////////////////////