MySQL databes update problems on the server

christian_z - May 2, 2005 - 13:08

Hi,

I have problems whit update the Drupal 4.6 MySQL database on the server.

The content in the local database is german (de-iso-8859-1) and english (utf-8)

I export the drupal table in the terminal:

mysqldump -e --opt -h localhost -u root -p  drupal_database > /home/myname/mydb_dump.sql

And I use the "menu" module.

The problems

  • the special characters (ä, ö, ü)
  • the admin page

The Admin page

The errors on the top


warning: array_keys(): The first argument should be an array in /home/drupal/includes/menu.inc on line 916.

warning: Wrong parameter count for min() in /home/drupal/includes/menu.inc on line 916.

warning: array_key_exists(): The second argument should be either an array or an object in /home/drupal/includes/menu.inc on line 920.

warning: Cannot modify header information - headers already sent by (output started at /home/drupal/includes/common.inc:384) in /home/drupal/includes/common.inc on line 204.

warning: array_key_exists(): The second argument should be either an array or an object in /home/drupal/includes/menu.inc on line 389.

The content of the admin page:

Page not found.

The local site have no errors.
Can enyone help?

delete all entries in the cache table?

mbo - May 19, 2005 - 21:31

the special chars get corrupted at the transfer i guess, so $_menu = unserialize($cached->data); in menu.inc won't work anymore

so what does the catch table exactly do ?

fatfish - December 12, 2005 - 10:40

or - can you link the right article about it?

work's perfect. thks mbo!

sriguana - February 23, 2006 - 12:22

work's perfect. thks mbo!

 
 

Drupal is a registered trademark of Dries Buytaert.