cancel
Showing results for 
Search instead for 
Did you mean: 

can't login to admin

can't login to admin

After installing extension I can't login to admin panel.

Error message:

Fatal error: Call to a member function checkUpdate() on a non-object in /chroot/home/.../html/includes/src/Mage_AdminNotification_Model_Observer.php on line 50

Can somebody help me?

1 REPLY 1

Re: can't login to admin

It seems that you got de compiler activated.

 

You can try to access (vía ssh) and execute the these commands from you projhect root:

 

php -f shell/compiler.php state

That will tell you if the compiler is enabled. I'm pretty sure that the answer it'll be something like:

 

Compiler Status:          Enabled
Compilation State:        Compiled
Collected Files Count:    ...
Compiled Scopes Count:    ...

After that run this comman dto disbale the compiler:

 

php -f shell/compiler.php disable

You'll see this message:

 

Compiler include path disabled

Now you'll need to delete the compiled files:

 

php -f shell/compiler.php clear

The message it will be:

 

Compilation successfully cleared

Now you can check the state of the compiler again with:

 

php -f shell/compiler.php state

And you'll get something like this:

 

Compiler Status:          Disabled
Compilation State:        Not Compiled
Collected Files Count:    0
Compiled Scopes Count:    0