Hi,
I am totally a beginner of Drupal. Somehow i managed to install drupal but after completing the installation at the time when i am clicking on any option like administeration or something i get this Fatal Error.

Fatal error: Call to undefined function: array_intersect_key() in /home/linxin5/public_html/drupal/modules/update/update.compare.inc on line 695

Can any one help me to fix this issue.

Thanks

Comments

mattyoung’s picture

Disable the Account menu module and see what happen:

Login to MySQL to your site's db, run:

UPDATE system SET status='0' WHERE name='account';

then interact with you site as before to see if you have any problem.

web506’s picture

I don't see in the system table 'account' under name. I see 'accountmenu' and it is set to 0. I am reading this issue because since I installed and activated the account menu module my site has gone crazy. I am not being able to login with Chrome, or people is getting 404 Error messages after creating an account or logging in, this is a heavy traffic site and I had to make the changes live, now I am in a big trouble loosing many customers, because of this.

I have troubleshoot everything down, checked other modules but everything started since I installed the account menu module, and since then, Saturday I am having this kind of issues, It is now deactivated, but it did something that I can't fix. Any ideas here?

mattyoung’s picture

>I see 'accountmenu' and it is set to 0

My mistake, it's not 'account', the module name is 'accountmenu' and status '0' means it's disabled.

>I am not being able to login with Chrome, or people is getting 404 Error messages after creating an account or logging in

This module just adds 3 menu items under the menu 'account'menu'. The other thing is it does is allows admin to move these menu items to some other menu. I can't see how it can screw up Drupal like what you are getting. Check the source and see.

I'm traveling right now and don't have access to my devel machine. Let me know if you find the problem.

web506’s picture

I deactivated the module, so now the problem is that It won't let anybody log in, it will only log in if you refresh the page or try several times. After removing the module the Menu is still there, and even If you remove it from the menu list page it won't go away.

I need to remove everything.

Druid’s picture

The array_intersect_key() function is available only in PHP 5.1.0 and up. Are you running at a lower version?

mattyoung’s picture

Status: Active » Closed (cannot reproduce)