Hello Everyone,

After newly installing Drupal I get the following error message when I try access the Administer page:

Fatal error: Call to undefined function: array_intersect_key() in /homepages/32/d219571812/htdocs/mysite/folder/modules/update/update.compare.inc on line 695

Do any of you know where I could start with a solution to this?

Thanks in advance.

Comments

tomaja’s picture

that you have problem with your PHP installation (version). What version is PHP that you use?
Also check http://drupal.org/node/736810

Linux4life

Marlon Higgins’s picture

Thanks for the reply.

I'm almost certain it's PHP 5. I use a hosting company so this wasn't set up by me.

Marlon Higgins’s picture

Thanks to your help I've found the solution.

By adding the following lines to the .htaccess file the problems are gone:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Many thanks again and my nightmare is over.

tomaja’s picture

Glad you solved it.
BTW, some shared hosting companies do allow local php.ini files so some degree of customization is possible.

Linux4life

janeks’s picture

It did not worked for me. :-(
I have 5.0.4