Forum

Thread tagged as: Problem, Error, Runway

Image template error causing admin area to not load properly

Hi Have been editing one of the HTML templates, had a problem with single and double quotes in the template img content tag. Now when I go in to admin whenever I click on a page to edit the regions the page stops loading at the image field, does not load further than the label. This also prevents any further interaction with the content, save buttons etc all missing and fields below the image field label don't load. It also removes the top level navigation from the top of the admin area. Can't save the page and therefore presume the corrected, non-broken HTML is not being used. I assume runway has cached the error template rather than using the fixed one? I have tried re-uploading copy of database, visited the page in question whilst logged in and used 2 different browsers to rule out browser caching. Is there a solution to this please?

Tried republish all to no avail. If this is a cache issue how do I flush? Thanks

Perch Runway: 2.8.32
Production mode: Production (100)
Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32), collection_3 (2.8.32), collection_2 (2.8.32)
DB driver: PDO
DB tables: sqhc_backup_plans (0), sqhc_backup_resources (0), sqhc_backup_runs (0), sqhc_categories (0), sqhc_category_counts (0), sqhc_category_sets (0), sqhc_collection_index (324), sqhc_collection_items (29), sqhc_collection_revisions (7), sqhc_collections (2), sqhc_content_index (418), sqhc_content_items (65), sqhc_content_regions (12), sqhc_navigation (3), sqhc_navigation_pages (8), sqhc_page_routes (0), sqhc_page_templates (7), sqhc_pages (12), sqhc_resource_log (212), sqhc_resource_tags (0), sqhc_resources (64), sqhc_resources_to_tags (0), sqhc_settings (17), sqhc_user_passwords (0), sqhc_user_privileges (26), sqhc_user_role_privileges (16), sqhc_user_roles (2), sqhc_users (1)
Users: 1
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
    );
Editor plug-ins: markitup
H1: b76fc8e1bcd7400f300f5d5f99a225f0
L1: 5bc7814a4bbdd6ac0910bf619550ab26
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #e50078
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.32: done
headerScheme: dark
update_runway_2.8.32: done
latest_version: 2.8.15
on_sale_version: 2.8.32
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
logoPath: /site-admin/resources/sqhc-logo-black.svg
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs
PERCH_SCHEDULE_SECRET: sPMUIkG2VskOroCr
PERCH_DB_USERNAME: sqhcadmin
PERCH_DB_SERVER: 213.171.200.91
PERCH_DB_DATABASE: sqhcdev
PERCH_DB_PREFIX: sqhc_
PERCH_EMAIL_FROM: k.winter@aitch-c.com
PERCH_EMAIL_FROM_NAME: Keith Winter
PERCH_LOGINPATH: /site-admin
PERCH_PATH: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs/site-admin
PERCH_CORE: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs/site-admin/core
PERCH_RESFILEPATH: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs/site-admin/resources
PERCH_RESPATH: /site-admin/resources
PERCH_HTML5: 1
PERCH_TZ: Europe/London
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_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs/site-admin/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
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: 5.6.24
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: 5.5.50-MariaDB
MySQL server: 5.6.34-log
Free disk space: 161.68 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, fileinfo, filter, ftp, gettext, gmp, SPL, iconv, intl, pcntl, session, standard, posix, readline, Reflection, Phar, shmop, SimpleXML, sockets, mbstring, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, cgi-fcgi, bcmath, dba, dom, gd, imap, json, ldap, exif, mcrypt, mssql, mysql, mysqli, odbc, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, pspell, snmp, soap, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, ionCube Loader, Zend OPcache
GD: Yes
ImageMagick: No
PHP max upload size: 20M
PHP max form post size: 20M
PHP memory limit: 64M
Total max uploadable file size: 20M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD: /var/www/fcgi
PHP_FCGI_MAX_REQUESTS: 100
ORIG_SCRIPT_NAME: /fcgi-bin/php56-cgi
ORIG_PATH_TRANSLATED: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs/site-admin/core/settings/diagnostics/index.php
ORIG_PATH_INFO: /site-admin/core/settings/diagnostics/index.php
ORIG_SCRIPT_FILENAME: /var/www/fcgi/php56-cgi
SCRIPT_NAME: /site-admin/core/settings/diagnostics/index.php
REQUEST_URI: /site-admin/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/1.0
GATEWAY_INTERFACE: CGI/1.1
REDIRECT_URL: /site-admin/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
REMOTE_PORT: 43790
SCRIPT_FILENAME: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs/site-admin/core/settings/diagnostics/index.php
SERVER_ADMIN: support@fasthosts.com
CONTEXT_DOCUMENT_ROOT: /var/www/fcgi/
CONTEXT_PREFIX: /fcgi-bin/
REQUEST_SCHEME: http
DOCUMENT_ROOT: /home/linweb33/s/sqhc-dev.buildingbrands.website/user/htdocs
REMOTE_ADDR: 109.148.37.230
SERVER_PORT: 80
SERVER_ADDR: 127.0.0.1
SERVER_NAME: sqhc-dev.buildingbrands.website
SERVER_SOFTWARE: Apache
HTTP_COOKIE: cc_cookie_accept=cc_cookie_accept; cmsa=1; PHPSESSID=io8vudki3jf6l93p73tl4nj9c3
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,es;q=0.6
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_REFERER: https://sqhc-dev.buildingbrands.website/site-admin/core/settings/diagnostics/
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_CONNECTION: close
HTTP_X_FORWARDED_FOR: 109.148.37.230
HTTP_X_REAL_IP: 109.148.37.230
HTTP_HOST: sqhc-dev.buildingbrands.website
UNIQUE_ID: WD7a-I-stWD8sSWzulEmjwAAACs
on: 127.0.0.1
REDIRECT_STATUS: 200
REDIRECT_HANDLER: application/x-httpd-php56
REDIRECT_UNIQUE_ID: WD7a-I-stWD8sSWzulEmjwAAACs
REDIRECT_on: 127.0.0.1
FCGI_ROLE: RESPONDER
PHP_SELF: /site-admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1480514300.6349
REQUEST_TIME: 1480514300
Keith Winter

Keith Winter 0 points

  • 4 years ago

Update resources folder permissions are 755, assume correct. Any admin edit page that has an image field is broken, page stops loading completely at that point. Now suspect issue not with the HTML template as more than one is being used and only one was being edited when problem noticed. This also happens in Assets. Clicking on image thumbnail takes me to Asset Edit screen, page stops loading after the label File. Any suggestions welcome. Thanks

Ok I re-uploaded core and all seems to be ok now. Odd. Any ideas as to what may have happened appreciated so I know in future. Thanks

Drew McLellan

Drew McLellan 2638 points
Perch Support

If the page stops loading, you're getting an error. So the first place to go is your server error log. That will tell you what the problem is.

Ok Drew thanks, will take a look.