Edit Bar blank

Permalink
Hello Everybody,

I tried to edit a customer's site which was working without any trouble since 2014. Without changing anythig, the edit options inside the edit bar disappeared from one day to another. The bar still appears after login, but it is just empty. I checked the html code as well: The relevant div container is just empty.

I directly updated the site to concrete5 - 5.6.3.5 - without any success. It is not possible to edit the site's content. But /dashboard is still available.

I also tried to change the custom theme to standard theme. without success. Anyway, a mistake in theme development is not very likely because I haven't edit the theme for ages.

Does anybody have an idea to solve the issue? You would help me a lot as I'm not very much into development with concrete5 anymore.

 
hutman replied on at Permalink Reply
hutman
Is there a javascript error on the page? That's usually why it doesn't show up.
activedesigner replied on at Permalink Reply
Thanks for your reply. How do I find out?

source code for edit bar looks like that:

<div id="ccm-page-controls-wrapper"><div id="ccm-toolbar"></div></div>
<script type="text/javascript" src="/index.php/tools/required/i18n_js"></script>
<script type="text/javascript" src="/updates/concrete5.6.3.5_remote_updater/concrete/js/jquery.ui.js"></script>
<script type="text/javascript" src="/updates/concrete5.6.3.5_remote_updater/concrete/js/jquery.form.js"></script>
<script type="text/javascript" src="/updates/concrete5.6.3.5_remote_updater/concrete/js/jquery.rating.js"></script>
<script type="text/javascript" src="/updates/concrete5.6.3.5_remote_updater/concrete/js/bootstrap.js"></script>
<script type="text/javascript" src="/updates/concrete5.6.3.5_remote_updater/concrete/js/ccm.app.js"></script>
<script type="text/javascript" src="/updates/concrete5.6.3.5_remote_updater/concrete/js/i18n/ui.datepicker-de.js"></script>
<script type="text/javascript">$(function() { jQuery.datepicker.setDefaults({dateFormat: 'yy-mm-dd'}); });</script>
<script type="text/javascript" src="/updates/concrete5.6.3.5_remote_updater/concrete/js/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="/index.php/tools/required/page_controls_menu_js?cID=1&cvID=&btask=&ts=1527256470"></script>


These files are all available by clicking. Do you notice something special?
hutman replied on at Permalink Reply
hutman
If you are using Chrome you can click your F12 button and it will open a Developer Tools bar, open the Console tab and refresh the page. That should show you any javascript errors.
activedesigner replied on at Permalink Reply
Alright; thanks for support. I got two errors.

page_controls_menu_js:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)


i18n_js:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)


But if i look for those files via str+f I can easily click on them and open them up. So they are available manually.
activedesigner replied on at Permalink Reply
Interesting is that both files that produce the error - different from all other files - have the index.php at first. Did you notice that? May that cause the errors?
hutman replied on at Permalink Reply
hutman
The index.php shouldn't matter. If you click on the page_controls_menu error it should take you to the network tab, can you look at the Response tab there, and scoll all the way to the bottom of the response and see what the PHP error that's thrown is?

I actually just had this exact same thing happen to me this week and it was a broken workflow. But there was a PHP error at the bottom of that Response tab that showed me the error.
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
A few things to check:

- Has your host updated anything in your host environment? php version, MySQL version, apache version etc.? A common cause of this kind of problem is a host updating something without telling you.

- Have you edited any blocks in global headers or footers, in particular, any html blocks, or any of the marketplace php or wrapper blocks?

- Any edits that failed to save or publish immediately before your current symptoms?
activedesigner replied on at Permalink Reply
That was it. The PHP-Version was wrong. I updated it to 5.6 and now it works. Thanks to all of you!