The design and content buttons on the editing bar have just stopped working. The content button works on some pages but not all. Also I cannot use file manager on any page. Buttons never come " live ".
My first guess is that there’s an ‘open element’ like a < DIV > that’s missing it’s < /DIV>. Since it’s common on many pages, I’d look at the HTML of a Global Area
I thought so too, but all I found was a missing bracket. I’ve deleted all my work ( images, graphics and pages ) from the week before my holiday as I hadn’t been testing everything ( in too much of a hurry ). It appears better but I am still getting " access denied " on block editing, the design button doesn’t do anything and the save etc buttons don’t come up on the edit button. I presume the " access denied " will stop the save buttons from working. Any other ideas as I am lost on this. Much appreciate your help.
if you do a view source on the page, you can copy and paste that into the w3c or other validator.
That will churn out a load of warnings and errors, most of which you can safely ignore, but amongst them may be something about mis-matched tags as @mhawke suggets, often the cause.
Also check the concrete Log.
Also check the browser developer console for reported JavaScript errors or failed file loading.
Also check your site environment - see if your host has changed php version or MySQL version.
On clicking th edesign button the following is being generated within the browser console:
Uncaught TypeError: _(…).findWhere is not a function
at webpack_modules.4586.show (cms.js?ccm_nocache=a5b90e842237099913e626226d80041d60cca843:11:42003)
at webpack_modules.4586.toggle (cms.js?ccm_nocache=a5b90e842237099913e626226d80041d60cca843:11:33131)
at HTMLAnchorElement. (cms.js?ccm_nocache=a5b90e842237099913e626226d80041d60cca843:11:91517)
at HTMLAnchorElement.dispatch (jquery.js?ccm_nocache=a5b90e842237099913e626226d80041d60cca843:2:43336)
at y.handle (jquery.js?ccm_nocache=a5b90e842237099913e626226d80041d60cca843:2:41320)
restored back a month, still no design button
Any ideas for me. Its too difficult.
cms.js is a core file containing all the core scripts.
findWhere is a function provided by some JavaScript libraries such as _().underscore.
It could be you have a theme, addon or application code that is loading an incompatible library (or older version of a library) which also uses the underscore _ as its global symbol and this is crapping over what the core does.
Often how such issues manifest are dependant on sequence of assets being loaded. A before B and you get away with it. B before A and the bug shows.
This can vary with sequence of package installation, sequence of blocks on the page, whims of cache clearing, refinements to the core with each version, or just timing.
Look through any site specific code, addons or themes for JS providing or loading _().
Hi John
I’ve been the 3wc route but you then get appalled by how many mistakes they pick up, most of which are false.
I’ve gone to a 30 day back up but problem still persists. It was definitely working correctly 30 days ago.
Thanks for helping, but I may just shuffle it off. Getting too old for this stuff now and this is the last of my sites.
Hello again
I’ve been looking into the cms and find this note, which is new.
Error: General Connection Failure
This site cannot connect to the Concrete marketplace. Ensure curl is enabled on your web server.
Curl is default on the server.
I got into my account - All my purchases and receipts have disappeared, all my projects sites have gone and the licences amount to about a third what they should be. Can something here affect the site ?
That suggests it is something environmental. Check with your host. Have they updated any server software or settings?
The marketplace was completely rebuilt earlier this year. Any v7/8/9 licenses for packages that are v9 compatible should have been carried across. As long as you held a license originally, it is still valid to continue using the respective addon/theme.
As your site was working happily 30 day ago, I doubt if issues arising from the marketplace update back in June will be the culprit of your editing problems.
What core version are you on? Can you share a site environment report?
I forget what the flag is, but there is a /config/ setting you can make to disable all marketplace interaction, which will eliminate the marketplace as the culprit. You should be able to find it by searching the forums. Or maybe someone else can chip in here.
The config flag is
'marketplace' => [
'enabled' => false,
]
Put this in the application/config/generated_overrides/concrete.php file
Hi
Thanks for contributing but this won’t help with my main problem, which is the design button not operating and unable to edit any of the site.
Thanks anyway
I’ll put this away for future reference though, as will John I expect.