5.6 Upgrade: Fatal error - json.php2 users found helpful
## Upgrading from a previous Version of concrete5
1. In the dashboard of your site, place your site into "Maintenance Mode." This will ensure your site does not appear down while upgrading.
2. Back up all site data thoroughly, including files and database tables, just in case.
3. Copy the "concrete" subdirectory from this new archive over your previous directory.
4. Visit the URLhttp://yoursite.com/index.php/tools/required/upgrade...
5. You should get some upgrade notes for the current version of Concrete. These might advise you to do current things for upgrading to go smoothly.
6. Click the upgrade button, and your site should be upgraded!
=> all went well!
Now when i want to add a new (edit an existing block works well) block on a page - i have the following error:
Warning: require_once(/data/vhosts/askwiki.ch/www/htdocs/concrete/models/json.php) [function.require-once]: failed to open stream: No such file or directory in /data/vhosts/askwiki.ch/www/htdocs/concrete/core/libraries/loader.php on line 40 Fatal error: require_once() [function.require]: Failed opening required '/data/vhosts/askwiki.ch/www/htdocs/concrete/models/json.php' (include_path='/data/vhosts/askwiki.ch/www/htdocs/libraries/3rdparty:/data/vhosts/askwiki.ch/www/htdocs/concrete/libraries/3rdparty:.:/usr/share/php5:/usr/share/php') in /data/vhosts/askwiki.ch/www/htdocs/concrete/core/libraries/loader.php on line 40
Thanks for any helpful suggestions!
=> it works with a stange feeling. :-)
You are right it works but it seems strange that the required json.php file was left out of the directory where my installation expected it to be. It makes me think maybe my installation was off somewhere, else all upgrades would result in the same errors for everyone. Hopefully we will get an answer as more people upgrade.
thanks for the tip.
Thanks for the solution!
Warning: require_once(/home/dispic_uk/core.distortedpictures.net/updates/concrete188.8.131.52/concrete/models/json.php) [function.require-once]: failed to open stream: No such file or directory in /home/dispic_uk/core.distortedpictures.net/updates/concrete184.108.40.206/concrete/core/libraries/loader.php on line 40 Fatal error: require_once() [function.require]: Failed opening required '/home/dispic_uk/core.distortedpictures.net/updates/concrete220.127.116.11/concrete/models/json.php' (include_path='/home/dispic_uk/core.distortedpictures.net/libraries/3rdparty:/home/dispic_uk/core.distortedpictures.net/updates/concrete18.104.22.168/concrete/libraries/3rdparty:.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/dispic_uk/core.distortedpictures.net/updates/concrete22.214.171.124/concrete/core/libraries/loader.php on line 40
Any ideas on this one would be a massive help :)
1) Did you perform the above mentioned procedure?
2)Make sure that "root/concrete/libraries/3rdparty/JSON/JSON.php" still exists. Some comments above refer to 'moving' this file when you actually need to COPY it.
3) Check the case on the file's name you copied to "root/concrete/models/json.php". It needs to be lower case.
The uppercase/lowercase thing could be your issue. Make sure you download the file from 3rdparty/JSON/JSON.php and rename it json.php. Then upload it to root/concrete/models.
Why would my "core concrete folders" be in the updates folder?
Thanks everyone for the advice.
Nearly gave up till I caught this hint about the updates folder.
Line 3 of
and line 4 of
I think I've compounded the issue as well by trying a restore from cpanel with still no success.
Any more help greatly appreciated.
The cPanel stuff makes me nervous as well. Can you remember what you did in there?
Warning: require_once(/home3/jlackman/public_html/outshinedesign.com/updates/concrete126.96.36.199/concrete/models/json.php) [function.require-once]: failed to open stream: No such file or directory in /home3/jlackman/public_html/outshinedesign.com/updates/concrete188.8.131.52/concrete/core/libraries/loader.php on line 48
Fatal error: require_once() [function.require]: Failed opening required '/home3/jlackman/public_html/outshinedesign.com/updates/concrete184.108.40.206/concrete/models/json.php' (include_path='/home3/jlackman/public_html/outshinedesign.com/libraries/3rdparty:/home3/jlackman/public_html/outshinedesign.com/updates/concrete220.127.116.11/concrete/libraries/3rdparty:.:/opt/php53/lib/php') in /home3/jlackman/public_html/outshinedesign.com/updates/concrete18.104.22.168/concrete/core/libraries/loader.php on line 48