Cannot Edit

Permalink
I've about had it with concrete5.
One day I can edit, the next day no editor will load.
It will just spin.
Some times I can switch to a mac, and it will work. Not today.

No changes or blocks have been added.

Any one know a solution? This has been going on far too long.

 
JohntheFish replied on at Permalink Reply
JohntheFish
What c5 core version and what browser and browser version?
twinlakes replied on at Permalink Reply
# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

Latest firefox, chrome, edge, or safari. The browser doesn't seem to matter.
Steevb replied on at Permalink Reply
Steevb
Do you have a web address/URL we can look at?
twinlakes replied on at Permalink Reply
https://www.tlschools.org
JohntheFish replied on at Permalink Reply
JohntheFish
There was an bug in Chrome/webkit browsers security a few browser versions ago that prevented edit dialogs from working. That was resolved both by Chrome and by a work-round in c5 v8.5.3, so will not be your issue here.

Looking at your home page with the browser developer console open, there are a number of javascript issues.
foundation.tab.js:249 Uncaught ReferenceError: jQuery is not defined
    at foundation.tab.js:249
bootstrap-switch.min.js:22 Uncaught TypeError: Cannot read property 'fn' of undefined
    at bootstrap-switch.min.js:22
    at bootstrap-switch.min.js:22
    at bootstrap-switch.min.js:22
googleFonts-071015.json:2 Uncaught SyntaxError: Unexpected token ':'
slider.js:1 Uncaught ReferenceError: Swiper is not defined
    at slider.js:1
6xMixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure image '<URL>'. This request has been blocked; the content must be served over HTTPS.


These are indicative of coding errors in either the adaptation of your theme (Clonemamental) or in custom blocks and block templates.

These are just front end coding errors. Having not seen the site in edit mode, there could be further coding errors that I am unable to see. However, JavaScript issues in front end code can often have knock-on consequences for dashboard and edit dialog functionality.

Either you are failing to load required assets (jQuery, Swiper) or are trying to use them before they have been loaded (code using the assets is not in ready handlers). As you are experiencing random failures of the edit dialogs, I would hazard a big guess that comes from a timing issue, so suggest you check for missing ready handlers in customised theme and block code.

You may also have a typo in your Google tracking codes, but that may be a side effect of the above.

A further issue is browser security blocking 6 images. Whilst that could be fixed by editing the URLs, perhaps behind the scenes there is some custom slider code that is not forming the image URLs through the core API and hence failing to generate the correct paths. Perhaps the swiper code again.
twinlakes replied on at Permalink Reply
Thanks! I'll take a look at these.