If you’re experiencing the “Error: Unable to make thumbnail (0)” error in gallery, there’s a workaround:
wp-maximum-upload-file-size
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/news.numlock.ch/public_html/wp-includes/functions.php on line 6114math-captcha
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/news.numlock.ch/public_html/wp-includes/functions.php on line 6114Make a diff!
If you’re experiencing the “Error: Unable to make thumbnail (0)” error in gallery, there’s a workaround:
anyone who can help me to this
this is my configuration:
/* Version */
$gallery->app->config_version = ’91’;
/* 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 = “Axs Gallery”;
$gallery->app->useIcons = “no”;
$gallery->app->skinname = “none”;
$gallery->app->uploadMode = “form”;
$gallery->app->albumDir = “/home/amiwin/public_html/albums/”;
$gallery->app->tmpDir = “/tmp”;
$gallery->app->photoAlbumURL = “http://www.axsvalue.com/gallery”;
$gallery->app->albumDirURL = “http://www.axsvalue.com/albums”;
$gallery->app->movieThumbnail = “/home/amiwin/public_html/gallery/images/movie.thumb.jpg”;
// optional mirrorSites missing
$gallery->app->graphics = “ImageMagick”;
// optional pnmDir missing
$gallery->app->pnmtojpeg = “pnmtojpeg”;
$gallery->app->pnmcomp = “pnmcomp”;
$gallery->app->ImPath = “/home/amiwin/public_html/josue/ImageMagick-6.2.4”;
$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 = “golden”;
$gallery->app->zipinfo = “/usr/bin/zipinfo”;
$gallery->app->unzip = “/usr/bin/unzip”;
// optional rar missing
// optional use_exif missing
// optional exiftags missing
$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 = “%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.axsvalue.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”;
$gallery->app->stats_foruser[] = “views”;
$gallery->app->stats_foruser[] = “date”;
$gallery->app->stats_foruser[] = “cdate”;
$gallery->app->stats_foruser[] = “comments”;
$gallery->app->stats_foruser[] = “random”;
$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 = “yes”;
$gallery->app->skipRegisterGlobals = “yes”;
$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 = “yes”;
$gallery->app->rssPhotoTag = “yes”;
$gallery->app->userDir = “/home/amiwin/public_html/albums//.users”;
/* 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”;
This is my problem:
******Adding southpointkitchen.jpg*****
Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /home/amiwin/public_html/albums//album02/southpointkitchen_015.jpg
Getting Dimension of file: /home/amiwin/public_html/albums//album02/southpointkitchen_015.jpg
No resizing required
Adding Photo to the photo list
File /home/amiwin/public_html/albums//album02/southpointkitchen_015.jpg type 2.
Getting Dimension of file: /home/amiwin/public_html/albums//album02/southpointkitchen_015.jpg
Generating thumbnail.
Resizing Image: /home/amiwin/public_html/albums//album02/southpointkitchen_015.jpg
Getting Dimension of file: /home/amiwin/public_html/albums//album02/southpointkitchen_015.jpg
Executing:
‘/home/amiwin/public_html/josue/ImageMagick-6.2.4/convert’ -quality 90 -size 150×150 -coalesce ‘/home/amiwin/public_html/albums//album02/southpointkitchen_015.jpg’ -geometry 150×150 ‘/home/amiwin/public_html/albums//album02/southpointkitchen_015.thumb.jpg’
Results:
none
Debug messages:
sh: line 1: /home/amiwin/public_html/josue/ImageMagick-6.2.4/convert: No such file or directory
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)
thanks to help,god bless us all!
josue
Josue, try either the forums http://gallery-tmp.menalto.com/forum or irc (#gallery-support @ irc.freenode.net).
Guessing from the debug message above, you probably lack ImageMagick (or it isn’t installed correctly)