Urgent - Migrating to new server, Fatal error: Class 'View' not found5 users found helpful
The site is here:
This is the error I've gotten both times:
Fatal error: Class 'View' not found in /home/septics1/public_html/updates/concrete22.214.171.124/concrete/core/libraries/loader.php on line 251
Please help! I've been at this for several hours now.
Check your /config/site.php and make sure that it is changed to the new database, database user, and database password. Also, make sure that you have the new database properly set up on the new server.
So, have no fear, nothing is broken, just need to check the database setup.
I fixed my config and now it works but only if I explicitely reload the page. If I navigate to the site home page, I still see the error message. If I hit reload then it works.
I have tried with many browsers, cleared my cache on my browsers, cleared the cache in concrete5 without success.
In my case, I had to change the DB_SERVER from localhost to 127.0.0.1. I'm on a Mac, for what it's worth.
...please go to the bug report and "upvote" it so that it gets more attention from the core team.
And thanks @mkly for the explanation. You're my C5 forum hero this week (even though I'm the one that got a karma badge).
Unable to connect to database.
A database error occurred while processing this request.
Doesn't matter whether I switch database, user, host, or just add a few characters to user...
And I have a new badge too if you haven't noticed.
Really crappy errormsg tbh.