Forum

Thread tagged as: Problem

Thumbnail Images not loading in IE and won't open in Photoshop

Reported by a client today that the thumbnail images that are auto generated by Perch when uploading a PDF are not loading in IE11 (I suspect other IE's too). They seem to work fine in all my Mac browsers. Although the colours are off in Safari. However, when I try to bring the generated thumbnail image into Photoshop I also get this error; 'Could not complete your request because the file-format module cannot parse the file.'

I think the two are likely related.

This occurs on both GD and iMagick generated images.

Here are some screenshots. Normal (How it should looke) Chrome Mac: https://cl.ly/0u3F290z3X1j

Colours incorrect in Safari; https://cl.ly/3A2w2E312J2h

Not loading at all in IE https://cl.ly/1R0I1Q2F2R0l

Any ideas where to look or how to resolve?

Thanks, Terry

Here is my diagnostics.

PERCH INFORMATION

Perch: 2.8.34
Production mode: Production (100)
Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), perch_blog (5.0), perch_gallery (2.8.6)
DB driver: PDO
DB tables: perch2_blog_authors (2), perch2_blog_categories (3), perch2_blog_comments (0), perch2_blog_index (3783), perch2_blog_posts (111), perch2_blog_posts_to_categories (71), perch2_blog_posts_to_tags (14), perch2_blog_sections (2), perch2_blog_tags (4), perch2_blogs (1), perch2_categories (13), perch2_category_counts (3), perch2_category_sets (2), perch2_content_index (10018), perch2_content_items (2003), perch2_content_regions (339), perch2_gallery_albums (14), perch2_gallery_image_versions (750), perch2_gallery_images (144), perch2_navigation (2), perch2_navigation_pages (74), perch2_page_templates (8), perch2_pages (70), perch2_resource_log (3037), perch2_resource_tags (31), perch2_resources (1831), perch2_resources_to_tags (61), perch2_settings (43), perch2_user_passwords (0), perch2_user_privileges (40), perch2_user_role_privileges (17), perch2_user_roles (3), perch2_users (2)
Users: 2
PHPMailer: 5.2.21
App runtimes:
<?php
    $apps_list = array(
        'content',
        'categories',
        'perch_blog',
        'perch_gallery',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup
H1: ae7f2c019b094237eedda59980985f2d
L1: e3ccc6e3c6b9b672595ab99036c4b52c
F1: 6a33f95eca3667f9e0c39bf5ca2980fe
headerColour: #fc5d20
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 0
lang: en-gb
update_2.4.4: done
on_sale_version: 2.8.34
perch_blog_post_url: /news/{postSlug}
perch_blog_update: 5.0.1
headerScheme: dark
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 7
dashboard: 1
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_comment_notify: 0
update_2.4.5: done
perch_gallery_update: 2.8.5
perch_gallery_bucket_mode: single
perch_gallery_bucket: gallery
perch_gallery_basicUpload: 0
update_2.4.6: done
update_2.4.7: done
update_2.4.9: done
hide_pwd_reset: 0
logoPath: /assets/resources/logo-amasci-perch-orange.png
update_2.5.4: done
update_2.6.3: done
update_2.7.9: done
update_2.7.10: done
update_2.8.6: done
update_2.8.8: done
latest_version: 2.8.15
update_2.8.10: done
update_2.8.14: done
update_2.8.15: done
update_2.8.18: done
update_2.8.25: done
update_2.8.29: done
update_2.8.34: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: plowmancraven-db
PERCH_DB_DATABASE: plowmancraven
PERCH_RESFILEPATH: /home/plowmancraven/public_html/assets/resources
PERCH_SSL: 1
PERCH_DB_SERVER: localhost
PERCH_DB_PREFIX: perch2_
PERCH_RESPATH: /assets/resources
PERCH_TZ: Europe/London
PERCH_EMAIL_FROM: terry@amasci.co.uk
PERCH_EMAIL_FROM_NAME: Terry Upton
PERCH_LOGINPATH: /cms
PERCH_CLEAN_RESOURCES: 1
PERCH_PATH: /home/plowmancraven/public_html/cms
PERCH_CORE: /home/plowmancraven/public_html/cms/core
PERCH_HTML5: 1
PERCH_RWD: 1
PERCH_UNDO_BUFFER: 3
PERCH_IMAGE_LIB: imagick
PERCH_GMAPS_API_KEY: AIzaSyCNnejdq_qAjEn4bGHWiY7ugTcy0_1VcGc
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/plowmancraven/public_html/cms/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_HTML_ENTITIES:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
HOSTING SETTINGS

PHP: 5.4.45
Zend: 2.4.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
MySQL server: 5.5.52-cll
Free disk space: 300.69 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, cgi-fcgi, bcmath, calendar, ctype, curl, dom, fileinfo, ftp, gd, iconv, imap, json, imagick, mbstring, mcrypt, mysqlnd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, SimpleXML, sockets, sqlite3, tokenizer, xml, wddx, xmlreader, xmlwriter, xsl, zip, mhash, Zend Guard Loader
GD: Yes
ImageMagick: Yes
PHP max upload size: 100M
PHP max form post size: 100M
PHP memory limit: 250M
Total max uploadable file size: 100M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
CONTEXT_DOCUMENT_ROOT: /home/plowmancraven/public_html
DOCUMENT_ROOT: /home/plowmancraven/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTPS: on
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch, br
HTTP_ACCEPT_LANGUAGE: en-GB,en-US;q=0.8,en;q=0.6
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: _hjIncludedInSample=1; gwcc=%7B%22fallback%22%3A%2201582765566%22%2C%22clabel%22%3A%22UyETCPah82kQidfJogM%22%2C%22backoff%22%3A86400%2C%22backoff_expires%22%3A1484989355%7D; __atuvc=25%7C2%2C25%7C3; __atuvs=5881d2290351ba84001; _ga=GA1.3.1800983148.1484066360; cmsa=1; PHPSESSID=p0u27rg19hrl0q7rgm6fl1bsr4
HTTP_HOST: www.plowmancraven.co.uk
HTTP_REFERER: https://www.plowmancraven.co.uk/cms/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36
PATH: /bin:/usr/bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 81.133.44.91
REMOTE_PORT: 36432
REQUEST_METHOD: GET
REQUEST_SCHEME: https
REQUEST_URI: /cms/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/plowmancraven/public_html/cms/core/settings/diagnostics/index.php
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
SCRIPT_URI: https://www.plowmancraven.co.uk/cms/core/settings/diagnostics/
SCRIPT_URL: /cms/core/settings/diagnostics/
SERVER_ADDR: 217.19.241.95
SERVER_ADMIN: webmaster@plowmancraven.co.uk
SERVER_NAME: www.plowmancraven.co.uk
SERVER_PORT: 443
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
SSL_TLS_SNI: www.plowmancraven.co.uk
UNIQUE_ID: WIHXXQ9ztlU-nLU2CcAGRgAAAAs
PHP_SELF: /cms/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1484904285.22
REQUEST_TIME: 1484904285
Terry Upton

Terry Upton 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The images aren't actually generated by Perch, but by ImageMagick. What can you tell me about the configuration?

Anything in particular you want to know Drew?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

We'll need more information about the configuration because we're not getting this report from anyone else. I'd suggest making sure the version of Imagemagick on the server is up to date and so on. You are running a version of PHP that is past end-of-life and getting no updates which suggests to me it is a pretty out of date server.