Forum
Image resizing...
Image resizing isn't working for me. Including thumbnails. Folder is writable. ImageMagick is installed but no joy. Any pointers:
https://validsoft.stagingserver.link/test.php
Perch Runway: 2.8.10
Production mode: Production (100)
Installed apps: content (2.8.10), assets (2.8.10), categories (2.8.10), perch_blog (4.6), perch_forms (1.8.3), perch_twitter (3.5.1)
DB driver: PDO
DB tables: cms_backup_plans, cms_backup_resources, cms_backup_runs, cms_blog_authors, cms_blog_comments, cms_blog_index, cms_blog_posts, cms_blog_posts_to_tags, cms_blog_sections, cms_blog_tags, cms_categories, cms_category_counts, cms_category_sets, cms_collection_index, cms_collection_items, cms_collection_revisions, cms_collections, cms_content_index, cms_content_items, cms_content_regions, cms_navigation, cms_navigation_pages, cms_page_routes, cms_page_templates, cms_pages, cms_resource_log, cms_resource_tags, cms_resources, cms_resources_to_tags, cms_settings, cms_twitter_scheduled_tweets, cms_twitter_settings, cms_twitter_tweets, cms_user_privileges, cms_user_role_privileges, cms_user_roles, cms_users
Users: 1
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_twitter',
'perch_blog',
'perch_forms'
);
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (60 mins)
Editor plug-ins: redactor, markitup
H1: 44a4b2f41265cb4ed5824796c1ed5612
L1: 10bb13e65c832572c458f63a49ef4f38
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.10: done
headerColour: #000000
headerScheme: dark
update_runway_2.8.10: done
content_frontend_edit: 1
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
logoPath: /admin/resources/validsoft_logo.png
latest_version: 2.8.8
on_sale_version: 2.8.12
perch_twitter_update: 3.5
perch_blog_update: 5.0
perch_blog_post_url: /news/{postSlug}
perch_blog_slug_format: {postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /Users/philsmith/Sites/validsoft
PERCH_SCHEDULE_SECRET: YVPao7PwhSReS8M4
PERCH_DB_USERNAME: validsoft
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: validsoft
PERCH_DB_PREFIX: cms_
PERCH_DEBUG: 1
PERCH_EMAIL_FROM: phil@amillionmonkeys.co.uk
PERCH_EMAIL_FROM_NAME: Phil Smith
PERCH_LOGINPATH: /admin
PERCH_PATH: /var/www/vhosts/validsoft.stagingserver/admin
PERCH_CORE: /var/www/vhosts/validsoft.stagingserver/admin/core
PERCH_RESFILEPATH: /var/www/vhosts/validsoft.stagingserver/admin/resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 1
PERCH_TZ: Europe/London
PERCH_RWD: 1
PERCH_RUNWAY: 1
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_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /var/www/vhosts/validsoft.stagingserver/admin/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
HOSTING SETTINGS
PHP: 5.4.41-0+deb7u1
Zend: 2.4.0
OS: Linux
SAPI: apache2handler
Safe mode: not detected
MySQL client: 5.5.44
MySQL server: 5.5.44-0+deb7u1
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dba, dom, hash, fileinfo, filter, ftp, gettext, SPL, iconv, json, mbstring, session, posix, Reflection, standard, shmop, SimpleXML, soap, sockets, Phar, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, apache2handler, PDO, curl, mysql, mysqli, pdo_mysql, imagick, mhash
GD: No
ImageMagick: Yes
PHP max upload size: 2M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 2M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
HTTP_HOST: validsoft.stagingserver.link
HTTP_CONNECTION: keep-alive
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36
HTTP_REFERER: https://validsoft.stagingserver.link/admin/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,nb;q=0.6
HTTP_COOKIE: _ga=GA1.2.962186891.1434728936; cmsa=1; PHPSESSID=2tlgevcavulmqhbg87oib2o9l3
PATH: /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE: <address>Apache/2.2.22 (Debian) Server at validsoft.stagingserver.link Port 80</address>
SERVER_SOFTWARE: Apache/2.2.22 (Debian)
SERVER_NAME: validsoft.stagingserver.link
SERVER_ADDR: 84.22.98.151
SERVER_PORT: 80
REMOTE_ADDR: 86.31.122.41
DOCUMENT_ROOT: /var/www/vhosts/validsoft.stagingserver
SERVER_ADMIN: [no address given]
SCRIPT_FILENAME: /var/www/vhosts/validsoft.stagingserver/admin/core/settings/diagnostics/index.php
REMOTE_PORT: 56430
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /admin/core/settings/diagnostics/?extended
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1440171014.001
REQUEST_TIME: 1440171014
What happens if you upload direct into the Assets app?
Image uploads but no thumbnail generated
Has it been working previously? Do you have anything else on this server that successfully resizes images?
The PHP Imagick library looks like it's installed, but is the underlying Imagick binary working correctly on the server?
It's a shiny new dedicated server. Let me check everything is installed properly.
Hmm...
The following works fine...
exec("convert test.jpg -thumbnail 50x50 output.jpg");
I think this is a list of the binaries IM is using. Am I missing anything...
I think that looks like it should work.
Anything in the error log?
Nothing...
Scratches head...
Removes ImageMagick...
Installs GD...
Works a treat! Thanks