I installed Drupal 6.4 successfully on my site.
However, in some sections the site displays errors, the first one is:
"warning: Invalid argument supplied for foreach() in /path_to_my_drupal_install/includes/menu.inc on line 1003."
and user menu disappears. (This happens for example when I click "Administer". When I further click "Comment" or "Contents", no error, and user menu reappears. The same happens with "Permissions" (User management) and maybe some other pages.)
The second error appears when I click "Modules" section, and is many many pages long. It begins with: "user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'llback\";s:0:\"\";s:15:\"title arguments\";a:0:{}s:14:\"title callback\";s:1:\"t' at line 1 query: UPDATE cache_menu SET data = 'a:227:{s:4:\"node\";a:26:{s:5:\"title\";s:7:\"Content\";s:13:\"page callback\";s:17:\"node_page_default\";s:16:\"access arguments\";a:1:{i:0;s:14:\"access content\";}s:4:\"type\";i:4;s:6:\"module\";s:4:\"node\";s:14:\"load_functions\";s:0:\"\"
then continues in the same manner for many pages and ends with:
"arguments\";a:1:{i:0;s:19:\"administer taxonomy\";}s:4:\"type\";i:128;s:6:\"parent\";s:43:\"admin/content/taxonomy/%taxonomy_vocabulary\";s:4:\"file\";s:18:\"taxonomy.admin.inc\";s:6:\"module\";s:8:\"taxonomy\";s:14:\"load_functions\";s:42:\"a:1:{i:3;s:24:\"taxonomy_vocabulary_load\";}\";s:16:\"to_arg_functions\";s:0:\"\";s:6:\"weight\";i:0;s:13:\"_number_parts\";i:6;s:6:\"_parts\";a:6:{i:0;s:5:\"admin\";i:1;s:7:\"content\";i:2;s:8:\"taxonomy\";i:3;s:1:\"%\";i:4;s:3:\"add\";i:5;s:4:\"term\";}s:4:\"_fit\";i:59;s:8:\"_visible\";b:0;s:4:\"_tab\";b:1;s:10:\"tab_parent\";s:24:\"admin/content/taxonomy/%\";s:8:\"tab_root\";s:24:\"admin/content/taxonomy/%\";s:15:\"access callback\";s:11:\"user_access\";s:14:\"block callback\";s:0:\"\";s:15:\"title arguments\";a:0:{}s:14:\"title callback\";s:1:\"t\";s:11:\"description\";s:0:\"\";s:8:\"position\";s:0:\"\";s:4:\"path\";s:33:\"admin/content/taxonomy/%/add/term\";s:9:\"file path\";s:0:\"\";s:12:\"include file\";s:35:\"modules/taxonomy/taxonomy.admin.inc\";}}', created = 1222781566, expire = 0, headers = '', serialized = 1 WHERE cid = 'router:' in /path_to_my_drupal_install/includes/cache.inc on line 109."
The content of that page displays OK, but after this long error. Besides, the error displays only every 2nd or 3rd time I click on "Modules" section. When I click again no error is shown. Click again, error. The same with "Contact form", "Menus - Navigation", etc.
Anybody can comment what is going on?… I reinstalled 2 times, but with the same results…
Comments
NO ideas how to even start
No ideas how to even start troubleshooting?…
I have the same error after
I have the same error after trying to copy the drupal files and the db file to a new server.
I edited the SQL db file to change all instances of the domain name. AND from another thread I found that I needed to delete the rows in the cache table. Now it *almost* works... the error above appears on all
pages. AND the menu has disappeared. This is Drupal 6.4 and I am using RoopalTheme.com along with
the "suckerfish" menues. Still looking for solution... will post if found.
I also had this error after
I also had this error after I copied my complete drupal page to my local machine.
In my case this error message was produced by the module "Administration menu".
You have to deactive and uninstall this module and after this you can install it again. Then the error should be gone.
In my case it was pure fresh
In my case it was pure fresh Drupal install, without any additional modules.
I solved the problem by copying Drupal gzipped to the server and extracting it there. If I unzip it on my local machine and transfer it after that, the error appears again.