0

Anybody know a fix for that error? Never saw this one!

Fatal error: Call to a member function extend() on a non-object in /var/www/..../..../lib/Varien/Simplexml/Config.php on line 600

3 Answers 3

1

Try clearing cache, and check file permissions are correctly set,

Directories : 755

Files : 644

Else another alternative is Reinstall Magento and do following steps:

It may solve the issue, but suggested to have round of research before doing and surely back up database:

Before to import database : - Add query

1) SET SQL_MODE=”NO_AUTO_VALUE_ON_ZERO”; 

OR

at beginning of sql import script

After import / installation : - Execute following query

2) SET FOREIGN_KEY_CHECKS = 0;
   UPDATE `core_store` SET `store_id` = 0 WHERE `code` like 'admin';
   UPDATE `core_website` SET `website_id` = 0 WHERE `code` like 'admin';
   UPDATE `customer_group` SET `customer_group_id` = 0 WHERE `customer_group_code` like 'NOT LOGGED IN';
   SET FOREIGN_KEY_CHECKS = 1;
3
  • damit, what a learner error :P ... somehow i didnt set the permissions right, thx Commented May 6, 2014 at 10:17
  • How do I fix permissions on a local WAMPserver Magento installation TBI Infotech, @StefanGregori ? Thanks in advance.
    – Steve
    Commented Nov 20, 2015 at 13:29
  • You can use the magento cleanup script github.com/IndiesServices/Magento/blob/master/… Commented Jan 11, 2016 at 15:49
0

Put your SQL_MODE as ="NO_AUTO_VALUE_ON_ZERO";

0

This page still comes up among the first Google results for the error message reported by the OP. I think it can be useful for others to add my solution, which is different from the accepted one.

The error mentioned in the question can also mean an error in local.xml. So, check /app/etc/local.xml for typos or malformed code.

In my case, while editing this file I left instructions outside the </config> tag. Moving them before the closing tag solved the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.