Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2004 at 14:05 UTC
Updated:
23 Sep 2004 at 22:20 UTC
Jump to comment: Most recent file
It seems to me that the menu module in cvs-core (today's download) creates serious problems if used together with db_prefix (some drupal installation in one db): $db_prefix = "db0_";
error messages in menu.module and menu.inc:
warning: Invalid argument supplied for foreach() in /usr/local/.../html/phibi-cvs/modules/menu.module on line 313.
Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/.../html/phibi-cvs/includes/menu.inc on line 623another effect: after the error message the side bar disappears
It works fine with a standard installation.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | updates.patch | 1.47 KB | jonbob |
Comments
Comment #1
jonbob commentedI searched through all core code for queries to the menu table, and all instances seem to be properly prefixed, so I doubt whether that's the issue. I can't reproduce this problem on my install at this point.
Please give more information:
What are you doing when these errors are reported? Does it only happen on menu administration pages?
Does it happen on every page load, or only some of the time?
When did it start happening? After you customized the menu? Immediately after install? After an upgrade?
Are there any other customizations you've made to your install besides the database prefixing? Custom modules, etc.?
When you say "the side bar disappears," what do you mean by that? The navigation block is not displayed? No blocks are displayed?
Comment #2
jonbob commentedThanks to jabart for helping me figure this out. The prefixing problem was well-hidden in updates.inc.
Comment #3
Steven commentedCommitted to CVS/HEAD.
Comment #4
(not verified) commented