Closed (won't fix)
Project:
Administration menu
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2008 at 16:23 UTC
Updated:
17 Sep 2009 at 18:30 UTC
HI,
I had this problem on two sites. I heard some of the symptoms were duplicate menus, or blocks, themes.
So checked, and I'm thinking this might be conflicting with the png in the help. (for me at least.)
Because there were 2 menu's with the same name. Your menu, and the "help" one. Relating to pngfix.
So deleting some of the admin_menu items that seemed like duplicates didn't help.
So installing admin menu on the second site, replicated the problem, hanging on the admin screen.
Some other people have had this problem here.
http://drupal.org/node/239012
Antonio
Comments
Comment #1
cgdigitaltreats commentedoK,
Drop table from mysql using the following select.
SELECT *
FROM `pojack1_drpl1`.`menu_links`
WHERE (
(
`menu_links`.`menu_name` = 'admin_menu'
)
)
LIMIT 0 , 30
I still get a blank page but on say admin/settings I get this.
Fatal error: Call to undefined function: db_num_rows() in /home/pojack1/public_html/nyclightwave/includes/common.inc(1547) : eval()'d code on line 11
Of interesting note, moving the admin_menu module out of the other drupal site, cleared up the problem.
Moving it back in and it's a problem. Both sites are also using supernav, which stopped working after the admin prob.
Antonio
Comment #2
sunadmin_menu does not contain, nor use db_num_rows(). Please check other modules, or custom PHP code in your site configuration (since eval() is usually executed by custom PHP code only).
Comment #3
cgdigitaltreats commentedSorry to be a little clearer, I have 2 sites.
I just figured out what that error was, and your right it's totally unrelated.
Since I changed the administrator theme to garland, I had forgotten I had a
block with php code in it, I deleted that, but still get the problem.
But the white page is still an issue.
The other site, I could replicate the problem with the admin page being blank.
Every time. I would copy admin_menu into modules, the problem begins with the blank admin page.
delete it, and problem goes away. I'm not sure if it's conflicting with something, or not.
Maybe supernav, or pngfix? again based on watchdog stuff.
For the second site, I really didn't mess with the phpmysql.
Antonio
Comment #4
cgdigitaltreats commentedJust some info,
using drupal 6.4 and latest version of all modules.
Using supernav, also.
I'm still thinking this is a conflict with another module.
first site is kinda dead. nothing I do fixeds the admin page.
The second site, add in your module, and it stops working.
take it out it's ok.
The weird thing is I installed it and it did work for a while.
So I'm not sure what happened. This is what makes me think it's
a conflict with some other module.
I'll try to uninstall all the modules, and install yours by itself, and see
what happens. I love it to much not to use it. So I hope I can figure it out.
antonio
Comment #5
cgdigitaltreats commentedOk, I think you can close this.
I think the problem was the update module.
Hence the fact your excellent module was working before hand.
All my drupal installs with the update module on would hang with certain themes active.
(marinelli.)
Thank you for looking into this.
ANtonio
Comment #6
sunThanks for reporting back.
Comment #7
cgdigitaltreats commentedSO the reason that I thought the admin_menu was the problem, is because it accesses the admin sections also.
The problem was with update status, and the marinelli theme.
If I disabled marinelli, it was ok, and if I disabled the update module, admin would work again, hence admin menu.
The problem for me that i'm still trying to figure out now is why update module says could not fetch data.
Maybe there is an ip blacklist My host somehow got on?
Antonio
Comment #8
spyderboy commentedI had this same problem... using the RootCandy (6.x-1.2) theme. After reading this post, I turned off the update module, and viola, everything works again. In my settings.php I upped my php memory to 256 (from 128) like so:
ini_set('memory_limit', '256M');
Now, when I turn on both admin_menu and update, everything works... My List Modules page comes up perfectly. Even tried it with Minnelli.
Another tip, if you are getting blank pages... place this in the top of your index.php at the root of your site:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
Hope this helps someone out there with their blank page probs...
Cheers,
Tony