Need help, edit mode shows no content
Permalink 1 user found helpfulI've tried rolling back to an older version. That didn't work (though I'm not an expert so I could've done something wrong)
I restored my database to the earliest backup that I have, but that didn't work.
I cleared the cache, that didn't work.
I use Chrome, Firefox didn't work either
I get a server status 500.
I tried using a different theme, that didn't work either. Just to check if I didn't mess up any header files.
Looking at the page source and comparing it to one of my websites that is working (same version 5.7.5.13 and same server) I see that some things aren't loading from the update, that are loading on the working website.
<link href="/updates/concrete5.7.5.13_remote_updater/concrete/css/font-awesome.css" rel="stylesheet" type="text/css" media="all"> <script type="text/javascript" src="/updates/concrete5.7.5.13_remote_updater/concrete/js/jquery.js"></script> <!--[if lt IE 9]><script type="text/javascript" src="/updates/concrete5.7.5.13_remote_updater/concrete/js/ie/html5-shiv.js"></script><![endif]--> <!--[if lt IE 9]><script type="text/javascript" src="/updates/concrete5.7.5.13_remote_updater/concrete/js/ie/respond.js"></script><![endif]--> <link href="/application/files/cache/css/fc3fb33875204bd997924b1f4d0627233dcdc67d.css" rel="stylesheet" type="text/css" media="all" data-source="/updates/concrete5.7.5.13_remote_updater/concrete/css/account.css /updates/concrete5.7.5.13_remote_updater/concrete/css/app.css /updates/concrete5.7.5.13_remote_updater/concrete/css/jquery-ui.css /updates/concrete5.7.5.13_remote_updater/concrete/blocks/autonav/templates/responsive_header_navigation/view.css /packages/ig_spacer/blocks/ig_spacer/view.css">
This part is missing from the head, from the website that isn't working.
Everything else loads, for example, theme css, tracking code and even this piece:
<header> <div class="container"> <div class="row"> <div class="col-sm-4 col-xs-6">
which comes from the header.php file. After this there's nothing. This is where the content is missing.
How can I solve this?
I was messing around, trying to create a custom block from the form block. I never used it, but apparently it still messed up everything. A little weird...
But, problem solved! However... More things got messed up when I updated to a newer version. Now I see there's another custom block creating problems. This worked perfectly, but failed after I updated to a newer version. Now I get this error in the php error log:
But how can updates mess up a custom block in the application/block folder? Isn't the whole point of creating a custom block in this way, that updates won't break them?
Is this by chance something you overrode from ProBlog? If so I would recommend updating to the most recent version and see if that fixes it.
Do you know how to fix this?
I changed the custom block to a custom template. It was a minor change to the view.php file, so now I don't have to worry about updates changing functions anymore (I hope anyways, you never know!).
Thanks again, you taught me a lot!
The front end of your site looks to be working fine so it's really hard to say what might be happening here without being able to login.