Fatal Error. Class View...

Permalink
Guys

When accessing this sitehttp://www.overtargetcup.com/ to backup the db I somehow managed to knock it offline.

I now get:

Fatal error: Class 'View' not found in /home/overtarg/public_html/updates/concrete5.6.0.2/concrete/core/libraries/loader.php on line 251

when i try to access it as I am sure you will!

I have checked the site.php file and all is OK. I have even tied to take it back a version but get another error instead.

Does anybody know how to get my site back please?

Ian

igrieves
 
planist1 replied on at Permalink Reply
planist1
igrieves replied on at Permalink Reply
igrieves
Thanks I saw that. I have checked the Site.php but I now recall I may well have uploaded another site's site.php (dont ask..) cos when I downloaded it all the codes were wrong.

As said I have re set all the database settings but feel it may be the password salt item as this may out of sync?

Ian

Site.php

<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'overtarg_aconc30');
define('DB_PASSWORD', 'stuart/123');
define('DB_DATABASE', 'overtarg_aconc30');
define('PASSWORD_SALT', 'jaqRNO6mhDTez3ZHAoCEk1czUf3GVGljQGW2vOepIUvPPcMBNLQbQzhEt7nxIhwx');
define('CACHE_FRONTEND_OPTIONS', serialize(array('automatic_cleaning_factor' => 0)));
define('SERVER_PATH_VARIABLE', 'REDIRECT_URL');?>
<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.0.2');?>
planist1 replied on at Permalink Reply
planist1
igrieves replied on at Permalink Reply
igrieves
Many thanks Sir. I'll give it a try tomorrow...dinner time here!

Ian
igrieves replied on at Permalink Reply
igrieves
No luck I am afraid. What I think I really need to do is regenerate the site.php file. Is that possible?
planist1 replied on at Permalink Reply
planist1
I see your site is working! That is great! Would you mind posting what you did to fix the problem?
igrieves replied on at Permalink Reply
igrieves
Hi

I got my host to download a back up of the site.php file. It had the same salt but different password.

I loaded it and got a different error message about a missing file in the latest upgrade file.

The files for this were not there and the site.php upgrade code line was pointing at it too. I changed the code to the upgrade that was there (a less recent one) and uploaded the site.php and voila - it worked.

I have no idea how this happened and I only solved it by luck!

Thanks very much for your interest however!

Ian