Forum
Problem uploading and assigning images
I recently changed webhosting, and have found issues with uploading or assigning images.
My diagnostic log:
PERCH INFORMATION
Perch: 2.8.31
Production mode: (PERCH_DEVELOPMENT)
Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31), perch_backup (1.2)
DB driver: PDO
DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (2399), perch2_content_items (523), perch2_content_regions (65), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (31), perch2_resource_log (251), perch2_resource_tags (0), perch2_resources (62), perch2_resources_to_tags (0), perch2_settings (10), perch2_user_passwords (0), perch2_user_privileges (27), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (1)
Users: 1
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
);
Editor plug-ins: ace
H1: b8807c055e52cb7af74b6e48b004d084
L1: 8da62c38261037789cd5262544577b63
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.31: done
latest_version: 2.8.15
on_sale_version: 2.8.31
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE:
PERCH_DB_USERNAME:
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Australia/Sydney
PERCH_EMAIL_FROM:
PERCH_EMAIL_FROM_NAME:
PERCH_LOGINPATH: /perch
PERCH_PATH:
PERCH_CORE:
PERCH_RESFILEPATH:
PERCH_RESPATH: /images
PERCH_HTML5: 1
PERCH_DEBUG:
PERCH_PRODUCTION_MODE: PERCH_DEVELOPMENT
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_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
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: 7.0.11
Zend: 3.0.0
OS: Linux
SAPI: litespeed
Safe mode: not detected
MySQL client: 5.6.33
MySQL server: 5.6.33
Free disk space: 415.41 GB
Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, litespeed, PDO, pdo_mysql, fileinfo, intl, tidy, bcmath, Phar, pspell, gd, xmlwriter, sockets, json, exif, wddx, soap, zip, xmlrpc, mysqli, imap, dom, mysqlnd, pdo_sqlite, xmlreader, posix, mcrypt, xsl
GD: Yes
ImageMagick: No
PHP max upload size: 8M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
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;q=0.8
HTTP_COOKIE: cmsa=1; PHPSESSID=otp7laeel797f2v805h7a9fmp0
HTTP_HOST: quicksite.info
HTTP_REFERER:
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_DNT: 1
DOCUMENT_ROOT:
REMOTE_ADDR: 59.167.232.140
REMOTE_PORT: 60223
SERVER_ADDR: 103.252.154.19
SERVER_NAME:
SERVER_ADMIN:
SERVER_PORT: 443
REQUEST_URI: /perch/core/settings/diagnostics/?extended
HTTPS: on
X_SPDY: HTTP2
SSL_PROTOCOL: TLSv1.2
SSL_SESSION_ID: 517b1f1c99888eb405964ae99cfeb91806afacbe7fd90f303ff2845a17b1e2d6
SSL_CIPHER: ECDHE-RSA-AES128-GCM-SHA256
SSL_CIPHER_USEKEYSIZE: 128
SSL_CIPHER_ALGKEYSIZE: 128
SCRIPT_FILENAME:
QUERY_STRING: extended
SCRIPT_URI:
SCRIPT_URL: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: LiteSpeed
REQUEST_METHOD: GET
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1475657966.4271
REQUEST_TIME: 1475657966
I've removed some of the identifying information but if anyone can see any potential issue that may be preventing me from doing the aforementioned tasks, I would appreciate it very much.
TIA
P.S. All MySQL permissions are allowed for the user specified in my config.php file, however there are quite a few options I can change in PHP modules, as it is Wholesale hosting
This is my HTML template:
and this is the PHP template:
I just found a message that my resources (sub)folder is not writeable but in the diagnostic it shows no issue.
You would need to ask your host how to make that folder writable, that isn't something we can help with as it depends on server configuration.
It was in the buckets.php file but my webhosting was able to help me.
Not really helpful though, that Perch does not offer any information other than the relative directory for the (any) hosting.
I don't follow.