Fatal Error - Can't add blocks after recent Concrete5 update

Permalink
Hi all,

I'm getting the following error message when trying to add a new content block. This has started after installing the recent Concrete5 update. Please help :)

Warning: require_once(/home2/thecentr/public_html/updates/concrete5.6.3.1_updater/concrete/models/json.php) [function.require-once]: failed to open stream: No such file or directory in /home2/thecentr/public_html/updates/concrete5.6.3.1_updater/concrete/core/libraries/loader.php on line 48

Fatal error: require_once() [function.require]: Failed opening required '/home2/thecentr/public_html/updates/concrete5.6.3.1_updater/concrete/models/json.php' (include_path='/home2/thecentr/public_html/libraries/3rdparty:/home2/thecentr/public_html/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty:.:/usr/share/pear:/usr/share/php') in /home2/thecentr/public_html/updates/concrete5.6.3.1_updater/concrete/core/libraries/loader.php on line 48

Bella
 
Bella replied on at Permalink Reply
Bella
I get the same message when looking at block types in Dashboard. I'm using the Yoghurt theme.
Bella replied on at Permalink Reply
Bella
Can nobody help me with this? I'm not able to add blocks at all.
exchangecore replied on at Permalink Reply
exchangecore
It looks like the c5 updater didn't get all the files into the 5.6.3.1_updater directory. You could try downloading a copy of 5.6.3.1 and then uploading the /concrete/ folder from it over top of the one in your concrete5.6.3.1_updater directory and see if that resolves the problems.
Bella replied on at Permalink Reply
Bella
I'm sorry, I have no idea how to do that. Would restoring the last backup and trying again be worth it or not?
Bella replied on at Permalink Reply
Bella
Can someone please tell me why my site has ended up in some kind of Concrete5 project? I can't even try to update anymore?!

Your site is currently connected to the concrete5 community. Your project page URL is:
http://www.concrete5.org/private/sites/e9kwc4ksburks1e3liwg8kwq...
JohntheFish replied on at Permalink Reply
JohntheFish
To get back to where you were before the failed upgrade, you can probably just comment out or delete the update pointer statement form config/site.php.

This will the the last statement in the file and will be something like
define('DIRNAME_APP_UPDATED', 'concrete5.6.3.1_updater');


By removing that statement, your site will go back to using whatever version of the core was current before the failed upgrade.
Bella replied on at Permalink Reply
Bella
I don't know where to look for that file. Can you please advise?
JohntheFish replied on at Permalink Reply
JohntheFish
That file is not accessible from within your site. It is a php code file that you can get to via ftp or through a file browser in your web hosting account.

From your site root directory, the path is /config/site.php
Bella replied on at Permalink Reply
Bella
After getting help from my hosting site the files have been removed, however I am still unable to update my site. Please can you suggest something else.

What is this project thing? I didn't request this.
JohntheFish replied on at Permalink Reply
JohntheFish
This is getting way beyond what can be done by Q&A in the forums. You should consider advertising for a volunteer (or paid expert) to login to your hosting account and your site to sort it out for you.
JohnColeman replied on at Permalink Reply
Hi Bella,
my site has exactly the same problem as you described:

Fatal error: require_once() [function.require]: Failed opening required ...
.../public_html/updates/concrete5.6.3.1_updater/concrete/core/libraries/loader.php on line 48

Did you find away of upgrading successfully? If so please tell how :-)

thanks,
John Coleman