Site was working this morning and about 20 minutes ago it just completely crashed with this error:
"
Fatal error: Class 'ContentOperations' not found in /home/content/18/4216918/html/lib/autoloader.php on line 82"
Admin Page error:
Fatal error: Call to undefined function check_login() in /home/content/18/4216918/html/lib/misc.functions.php on line 683
Can't access the Admin page either. I haven't even touched the admin section or ftp'd in in weeks. Very random, please help.
EMERGENCY - Error Message
-
- Forum Members
- Posts: 59
- Joined: Thu Mar 03, 2011 4:47 pm
EMERGENCY - Error Message
Last edited by fr0z3ng33k on Fri Jul 20, 2012 1:16 am, edited 2 times in total.
Re: EMERGENCY - Error Message
CMSMS version?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- Forum Members
- Posts: 59
- Joined: Thu Mar 03, 2011 4:47 pm
Re: EMERGENCY - Error Message
1.10.3Rolf wrote:CMSMS version?
Also just added ".bak" to the end of the .htaccess file (now looks like: .htaccess.bak) and it fixed everything.
The last change I made on my server was June 6th, 2012 and all I did was upload an image. So this is extremely strange that this just randomly happened.
Let me know if you need anything else to help troubleshoot and thanks for your time!
-
- Forum Members
- Posts: 59
- Joined: Thu Mar 03, 2011 4:47 pm
Re: {solved} EMERGENCY - Error Message
Issue just happened again last night, site completely crashed. Any ideas? Here is that file with the error:SimonJ wrote:What is in that file?
In the autoloader file line 82 this is what is in there:
Code: Select all
$contentops = ContentOperations::get_instance();
if( $contentops )
{
// why would this ever NOT be true.. dunno, but hey.
$types = $contentops->ListContentTypes();
if( in_array(strtolower($classname),array_keys($types)) )
{
$contentops->LoadContentType(strtolower($classname));
return;
}
}
$fn = $config['root_path']."/modules/{$classname}/{$classname}.module.php";
if( file_exists($fn) )
{
__cms_load($fn);
return;
}
$list = ModuleOperations::get_instance()->GetLoadedModules();
if( is_array($list) && count($list) )
{
foreach( array_keys($list) as $modname )
{
$fn = $config['root_path']."/modules/$modname/lib/class.$classname.php";
if( file_exists( $fn ) )
{
__cms_load($fn);
return;
}
}
}