Forum

Thread tagged as: Problem, Error

Side Bar Assets Not Loading

Hi Everyone

Is anyone else having an issue with the Assets sidebar?

It seems to be working on all or other sites, just not this one. All we get is the loading wheel. The only thing we've recently changed is upgrading to Perch Shop 1.0.11 but can't see how that will affect the assets sidebar?

Screenshot

Debug from Admin page...

SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='e701b3a80a60e6bacf24a81b411e3f16' LIMIT 1
UPDATE perch2_users SET userHash='6764f7d38d7e52957cfbf268beba35a6' WHERE userID='1'
[78] SELECT p.privKey FROM perch2_user_privileges p
[39] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
[1] SELECT collectionID, collectionKey, collectionEditRoles FROM perch2_collections WHERE collectionInAppMenu=1 ORDER BY collectionOrder ASC
[1] SELECT * FROM perch2_content_regions WHERE regionID=1 LIMIT 1
[1] SELECT * FROM perch2_pages WHERE pageID='1' LIMIT 1
[1] SELECT * FROM perch2_content_items WHERE regionID=1 AND itemRev=33 ORDER BY itemOrder ASC
[1] SELECT * FROM perch2_content_items WHERE regionID=1 AND itemRev=33 ORDER BY itemOrder ASC
Using template: /templates/content/headline_banner_video.html
Form not posted or did not validate
Queries: 10
Memory: 5.2155

Diagnostics...

Perch Runway: 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_forms (1.8.3), perch_shop_orders (1.0.11), perch_shop_products (1.0.11), collection_2 (2.8.34), perch_shop (1.0.11), perch_members (1.5)
DB driver: PDO
DB tables: perch2_backup_plans (0), perch2_backup_resources (0), perch2_backup_runs (0), perch2_blog_authors (2), perch2_blog_comments (0), perch2_blog_index (162), perch2_blog_posts (1), perch2_blog_posts_to_tags (2), perch2_blog_sections (1), perch2_blog_tags (2), perch2_blogs (1), perch2_categories (8), perch2_category_counts (1), perch2_category_sets (3), perch2_collection_index (1108), perch2_collection_items (109), perch2_collection_revisions (17), perch2_collections (1), perch2_content_index (29837), perch2_content_items (2379), perch2_content_regions (662), perch2_forms (7), perch2_forms_responses (44), perch2_members (62), perch2_members_forms (1), perch2_members_member_tags (0), perch2_members_sessions (1), perch2_members_tags (0), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_routes (166), perch2_page_templates (29), perch2_pages (188), perch2_resource_log (986), perch2_resource_tags (49), perch2_resources (280), perch2_resources_to_tags (61), perch2_settings (42), perch2_shop_addresses (123), perch2_shop_admin_index (30), perch2_shop_brands (1), perch2_shop_cart (24371), perch2_shop_cart_data (0), perch2_shop_cart_items (751), perch2_shop_countries (250), perch2_shop_currencies (152), perch2_shop_customers (62), perch2_shop_emails (2), perch2_shop_index (19783), perch2_shop_option_values (39), perch2_shop_options (9), perch2_shop_order_items (43), perch2_shop_order_promotions (7), perch2_shop_order_statuses (9), perch2_shop_orders (40), perch2_shop_orders_meta (1), perch2_shop_product_files (0), perch2_shop_product_option_values (33), perch2_shop_product_options (8), perch2_shop_product_tags (0), perch2_shop_products (413), perch2_shop_promotions (8), perch2_shop_search (404), perch2_shop_shipping_zone_countries (1), perch2_shop_shipping_zones (1), perch2_shop_shippings (1), perch2_shop_tax_exhibits (151), perch2_shop_tax_group_rates (29), perch2_shop_tax_groups (1), perch2_shop_tax_locations (29), perch2_shop_tax_rates (30), perch2_shop_variants (46), perch2_user_passwords (13), perch2_user_privileges (78), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (8)
Users: 8
PHPMailer: 5.2.21
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_blog',
        'perch_forms',
        'perch_members',
        'perch_shop',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup, redactor
H1: 1773605116ba53195b6ebaf804d3db66
L1: bed5a8bfe0e04530418296fc36347fb8
F1: 6a33f95eca3667f9e0c39bf5ca2980fe
headerColour: #0177b5
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.25: done
latest_version: 2.8.15
on_sale_version: 2.8.34
headerScheme: dark
dashboard: 1
hide_pwd_reset: 0
content_hideNonEditableRegions: 1
content_frontend_edit: 0
logoPath: /cms/resources/cvia_logo.png
perch_blog_update: 5.0.1
perch_blog_post_url: /blog/{postSlug}
perch_blog_site_name: CV And Interview Advisors
perch_blog_slug_format: {postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 30
perch_blog_comment_notify: 0
update_2.8.29: done
update_2.8.31: done
perch_shop_update: 1.0.11
perch_shop_price_tax_mode: exc
perch_shop_site_url:
perch_shop_product_url: /product/{slug}
perch_shop_default_currency: 47
perch_shop_reporting_currency: 47
perch_shop_invoice_number_format: INV-%d
perch_members_login_page: /members/login.php?r={returnURL}
perch_members_update: 1.4
update_runway_2.8.31: done
update_runway_2.8.32: done
perch_shop_trade_price_tax_mode: exc
update_runway_2.8.33: done
update_runway_2.8.34: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: cvia_perch
PERCH_DB_SERVER: cvia.dns-systems.net
PERCH_DB_DATABASE: cvia_perch
PERCH_SITEPATH: /home/cvia/K5E8866U/htdocs
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: glen.piggott@soundwave.co.uk
PERCH_EMAIL_FROM_NAME: Glen Piggott
PERCH_LOGINPATH: /cms
PERCH_PATH: /home/cvia/K5E8866U/htdocs/cms
PERCH_CORE: /home/cvia/K5E8866U/htdocs/cms/core
PERCH_RESFILEPATH: /home/cvia/K5E8866U/htdocs/cms/resources
PERCH_RESPATH: /cms/resources
PERCH_HTML5: 1
PERCH_YOUTUBE_API_KEY: AIzaSyBhNJDmq1U8HuaiK3bUDQ2UikU3UqId6OY
PERCH_DEBUG: 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_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/cvia/K5E8866U/htdocs/cms/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
PERCH_SHOP_VERSION: 1.0.11
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
HOSTING SETTINGS

PHP: 5.6.25
Zend: 2.6.0
OS: Linux
SAPI: apache2handler
Safe mode: not detected
MySQL client: 5.6.33
MySQL server: 5.6.33
Free disk space: 538.58 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dbase, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, imagick, session, intl, json, mailparse, mbstring, mcrypt, standard, imap, memcached, mssql, mysql, mysqli, OAuth, PDFlib, PDO, pdo_mysql, pdo_sqlite, pspell, Reflection, SimpleXML, soap, ssh2, exif, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, memcache, apache2handler, mhash, ionCube Loader, Zend Guard Loader, Zend OPcache
GD: Yes
ImageMagick: Yes
PHP max upload size: 128M
PHP max form post size: 128M
PHP memory limit: 256M
Total max uploadable file size: 128M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
UNIQUE_ID: WH3qhFPfagoAAHzhTnEAAAAX
HTTPS: on
SSL_TLS_SNI: cvandinterviewadvisors.co.uk
HTTP_HOST: cvandinterviewadvisors.co.uk
HTTP_CONNECTION: keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_REFERER: https://cvandinterviewadvisors.co.uk/cms/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch, br
HTTP_ACCEPT_LANGUAGE: en-GB,en;q=0.8
HTTP_COOKIE: __utma=213700038.595245561.1473851963.1483548397.1483616034.34; __utmz=213700038.1483452252.30.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); paddlejs_checkout_variant={"inTest":true,"controlGroup":false,"variant":"compact"}; paddlejs_campaign_referrer=cvandinterviewadvisors.co.uk; paddlejs_checkout=eyJhY3RvciI6ImFiZmQwYjY5LTg4MDEtNGE4ZC1hNDM1LTk1YTg0NTZjY2RlMSIsImhhc0FjdGlvbiI6dHJ1ZSwiaXNBbm9uIjp0cnVlLCJhY3Rpb25HbG9iYWwiOnsiJGRldmljZV9hZ2VudCI6Ik1vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdPVzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTUuMC4yODgzLjg3IFNhZmFyaS81MzcuMzYiLCIkZGV2aWNlX3Jlc29sdXRpb24iOiIxOTIweDEwODAifX0=; cmsa=1; _ga=GA1.3.595245561.1473851963; PHPSESSID=51f5tbv5ao5ot96r2m4mc8lmo3
PATH: /usr/bin:/bin
SERVER_SIGNATURE: <address>Apache Server at cvandinterviewadvisors.co.uk Port 443</address>
SERVER_SOFTWARE: Apache
SERVER_NAME: cvandinterviewadvisors.co.uk
SERVER_ADDR: 83.223.106.10
SERVER_PORT: 443
REMOTE_ADDR: 87.127.197.165
DOCUMENT_ROOT: /home/cvia/K5E8866U/htdocs/
SERVER_ADMIN: postmaster@cvandinterviewadvisors.co.uk
SCRIPT_FILENAME: /home/cvia/K5E8866U/htdocs/cms/core/settings/diagnostics/index.php
REMOTE_PORT: 51191
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /cms/core/settings/diagnostics/?extended
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
PHP_SELF: /cms/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1484647044.877
REQUEST_TIME: 1484647044

Many thanks

Glen Piggott

Glen Piggott 0 points

  • 4 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

This isn't a general issue so I'd suggest having a look in your browser console so you can see if there are any errors.

Thanks Rachel.

At first, it looks like there seems to be some javascript missing from the core directory.

https://cvandinterviewadvisors.co.uk/cms/core/inc/js_lang?v=2.8.34 Failed to load resource: the server responded with a status of 404 (Not Found)
https://cvandinterviewadvisors.co.uk/cms/core/inc/js_privs?v=2.8.34 Failed to load resource: the server responded with a status of 404 (Not Found)
https://cvandinterviewadvisors.co.uk/cms/core/apps/assets/async/asset-filter?v=2.8.34&_=1484650825055 Failed to load resource: the server responded with a status of 404 (Not Found)
jquery-1.11.3.min.js:5 GET https://cvandinterviewadvisors.co.uk/cms/core/apps/assets/async/get-assets?page=1&v=2.8.34&type=img&bucket=default&_=1484650825056 404 (Not Found)

I've deleted the core directory from the server, downloaded and reinstalled the Runway 2.8.34 core directory and it's still saying files cannot be found?

I've checked and the files are there, interestingly the file .php extensions are missing from the above error code if this makes any difference?

I've also tried in Firefox, to rule out any Chrome caching and the same error in Firefox. Error from Firefox console reads...

The resource from “https://cvandinterviewadvisors.co.uk/cms/core/inc/js_privs?v=2.8.34” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
The resource from “https://cvandinterviewadvisors.co.uk/cms/core/inc/js_lang?v=2.8.34” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
Drew McLellan

Drew McLellan 2638 points
Perch Support

Do you have any sort of server side redirect that might be stripping the extension?

Thanks Drew

There must have been something lurking in the .htaccess file as I have simply resaved and uploaded it and we are all working again!

One of life's mysteries.