Cant access site anymore after updating to the 5.6.0.2

Permalink 1 user found helpful
Dear,

I can't access the my site anymore after updating to the new version.

I get this strange message:

I can't login to the main site anymore and i can't make changes. I read topics that tweetcrete was the evil part, but i can't change it when i can not access the console....please help, this is the site of our diving school and lots of foto's are on it....

Warning: require_once(/var/www/vhosts/duikvereniging-submarine.nl/subdomains/submarine2012/httpdocs/updates/concrete5.6.0.2/concrete/models/json.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/duikvereniging-submarine.nl/subdomains/submarine2012/httpdocs/updates/concrete5.6.0.2/concrete/core/libraries/loader.php on line 40

Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/duikvereniging-submarine.nl/subdomains/submarine2012/httpdocs/updates/concrete5.6.0.2/concrete/models/json.php' (include_path='/var/www/vhosts/duikvereniging-submarine.nl/subdomains/submarine2012/httpdocs/libraries/3rdparty:/var/www/vhosts/duikvereniging-submarine.nl/subdomains/submarine2012/httpdocs/updates/concrete5.6.0.2/concrete/libraries/3rdparty:.:') in /var/www/vhosts/duikvereniging-submarine.nl/subdomains/submarine2012/httpdocs/updates/concrete5.6.0.2/concrete/core/libraries/loader.php on line 40

 
mesuva replied on at Permalink Reply
mesuva
You'll need to make this fix by directly accessing the files on the webserver; you don't need to be able to log into concrete5 itself to fix this problem. You could use FTP to do this, or a file manager in something like cPanel:

Copy the file:
/concrete/libraries/3rdparty/JSON/JSON.php
to
/concrete/models/json.php

http://www.concrete5.org/community/forums/installation/5.6-upgrade-...
keesvw replied on at Permalink Reply
Dear I did that and no work.

Then i edited the site.php and change the 5.6.0.2 into 5.5.2.1. and i got my site back.

Then i manually uploaded the right version tweetcrete to the packages folder and tried to update it. Then it gave the message that i need to run 5.6.0.2 in order to have it upgraded properly.

I am a bit stuck now, because when i edit the site.php again, i can't access my site into console mode...

Any further advise?
mhawke replied on at Permalink Reply
mhawke
If you can reach your dashboard try to force the upgrade again. It should upgrade to 5.6 and then you can update Tweetcrete.
keesvw replied on at Permalink Reply
Sorry I don't get it.

i did sofar:
- updated to 5.6.0.2 via the console
//problem started//
- modified site.php
- renamed and relocated json file
- uploaded the tweetcrete package

Now you want me to run the auto update from the console again? But would i not run into the same problem, since the site would not come up then.....
mhawke replied on at Permalink Best Answer Reply
mhawke
The reason your update failed the first time was because you had the old, incompatible Tweetcrete package installed. The update to 5.6 should proceed now that you have the new Tweetcrete files in place. Once C5 is up to version 5.6, the Tweetcrete package should successfully update.
keesvw replied on at Permalink Reply
Thanks, it worked fine!

Though another issue.

I still run the site from a subdomain and I would like to migrate it to the root domain. Any idea on how to process this?