Forum
assets not found after upgrading to perch 2.8.29
I have a strange behavior after upgrading. All admin's assets (js, css..) are not found despite the path seems correct. So my admin has no CSS layout nor js functionalities.
Perch information
Perch: 2.8.29
Production mode: Production (100)
Installed apps: content (2.8.29), categories (2.8.29), perch_forms (1.8.3)
DB driver: PDO
DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (313), perch2_content_items (54), perch2_content_regions (8), perch2_forms (1), perch2_forms_responses (0), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (0), perch2_pages (5), perch2_resource_log (6), perch2_resource_tags (0), perch2_resources (11), perch2_resources_to_tags (0), perch2_settings (12), perch2_user_passwords (0), perch2_user_privileges (30), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (1)
Users: 1
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_forms'
);
Editor plug-ins: redactor, markitup
H1: 6d6077706d2c616456404995d89562b8
L1: 6c759663a1583c1f752a0df55c9d1522
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.25: done
latest_version: 2.8.15
on_sale_version: 2.8.29
update_2.8.26: done
update_2.8.29: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: xxxxxxxx
PERCH_DB_SERVER: xxxxxxxx
PERCH_DB_DATABASE: xxxxxxxx
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Europe/Paris
PERCH_EMAIL_FROM: xxxxxxxx
PERCH_EMAIL_FROM_NAME: Nicolas Devaux
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/aloearborescensc/public_html/perch
PERCH_CORE: /home/aloearborescensc/public_html/perch/core
PERCH_RESFILEPATH: /home/aloearborescensc/public_html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
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/aloearborescensc/public_html/perch/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.21
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
MySQL server: 5.5.5-10.0.25-MariaDB
Free disk space: 48.70 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, filter, ftp, gd, gettext, SPL, iconv, session, json, mbstring, mcrypt, standard, mysqlnd, mysqli, posix, Reflection, mysql, imap, SimpleXML, soap, sockets, exif, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, XCache, suhosin, PDO, pdo_sqlite, pdo_mysql, XCache Cacher, ionCube Loader
GD: Yes
ImageMagick: No
PHP max upload size: 24M
PHP max form post size: 128M
PHP memory limit: 256M
Total max uploadable file size: 24M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
CONTEXT_DOCUMENT_ROOT: /home/aloearborescensc/public_html
DOCUMENT_ROOT: /home/aloearborescensc/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4,es;q=0.2
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: cmsa=1; PHPSESSID=b1b453a5a9043965f08e74d9fd8c4ec8
HTTP_HOST: aloe-arborescens-cancer.com
HTTP_REFERER: https://aloe-arborescens-cancer.com/perch/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2741.0 Safari/537.36
PATH: /bin:/usr/bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 82.229.239.56
REMOTE_PORT: 49719
REQUEST_METHOD: GET
REQUEST_SCHEME: http
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/aloearborescensc/public_html/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_ADDR: 85.236.157.164
SERVER_ADMIN: webmaster@aloe-arborescens-cancer.com
SERVER_NAME: aloe-arborescens-cancer.com
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
UNIQUE_ID: Vz4MOlXsnaQAABnkbZgAAAFA
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1463684154.21
REQUEST_TIME: 1463684154
argc: 1
Do the assets 404? If so, what URL are they using and what should it be?
What is strange is "perch not defined". The links seems ok, perch folder is at root level. can't figure what's wrong. See dev console screenshot
FF dev tool seems to localize the culprit in perch.token... Don't know what it is.
It looks like you're simply missing some files. Check that they've been uploaded.
Drew, I apologize for this. Two lessons for me :
Thanks anyway for still answering to dumb and tired devs