EMERGENCY - Error Message

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
fr0z3ng33k
Forum Members
Forum Members
Posts: 59
Joined: Thu Mar 03, 2011 4:47 pm

EMERGENCY - Error Message

Post by fr0z3ng33k »

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.
Last edited by fr0z3ng33k on Fri Jul 20, 2012 1:16 am, edited 2 times in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: EMERGENCY - Error Message

Post by Rolf »

CMSMS version?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
fr0z3ng33k
Forum Members
Forum Members
Posts: 59
Joined: Thu Mar 03, 2011 4:47 pm

Re: EMERGENCY - Error Message

Post by fr0z3ng33k »

Rolf wrote:CMSMS version?
1.10.3

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!
SimonJ

Re: {solved} EMERGENCY - Error Message

Post by SimonJ »

What is in that file?
fr0z3ng33k
Forum Members
Forum Members
Posts: 59
Joined: Thu Mar 03, 2011 4:47 pm

Re: {solved} EMERGENCY - Error Message

Post by fr0z3ng33k »

SimonJ wrote:What is in that file?
Issue just happened again last night, site completely crashed. Any ideas? Here is that file with the error:
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;
	    }
	}
    }
Locked

Return to “[locked] Installation, Setup and Upgrade”