I want to set up a test DRUPAL site on another hoster. I have edited the settings.php appropriately and even edited every reference to the old name. The site moved from www.xxx.org to www.xxx.ca/testsite The site fires up appropriately except the menu is not appearing correctly. The message that I am getting is

warning: array_keys() [function.array-keys]: The first argument should be an array in /home/myaccount/public_html/xxx.ca/testsite/includes/menu.inc on line 1198.

I have changed the Rewritebase to /testsite

What else should I do?

Comments

vm’s picture

try emptying all cache tables in the database.

you may also have to set $base_url in settings.php rather than rewritebase in .htaccess

jciconsult’s picture

Sorry, I should have noted that I did set the base url.
Note the version of Drupal from the change log appears to be 4.7

jciconsult’s picture

I presume that I can just clear all records in the cache table.

jciconsult’s picture

thank you very much. I am a newbie to Drupal.