After activating Adim I get (for anonymous user)
Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/newvtad/includes/database/query.inc on line 1340
No problem when I am logged in as an administrator.
Problem disappears after deactivation of the module admin.
Only user 1 has permission for this module
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 938056-5_loop.patch | 1.17 KB | alex_b |
| #4 | 938056-admin_landing_page_access.patch | 1.06 KB | himerus |
Comments
Comment #1
Sergey Naumov commentedI can confirm this behaviour.
Comment #2
himerus commentedThis is happening not just for anon users, but also auth users.
The best I've found so far is that is likely occurring in the access callback admin_landing_page_access in admin.module.
I will continue to investigate, and if I can supply a patch once I can find the location of the error.
Whatever has caused this issue is a change between alpha6 of Drupal 7, and the current beta1.
I'm not having this issue on my blog, which is still running alpha6, and I've been running into this when attempting my upgrade path/migration to beta1.
The ONLY account that does not have issue currently is user1 in my tests.
Comment #3
himerus commentedI've definitely isolated the issue to the admin_landing_page_access() function.
I've commented out admin_menu_alter, which is setting admin_landing_page_access as the access callback. After clearing menu cache, the issue is resolved... So the error either lies in the menu_alter hook, or in the access callback.
Will update again as I have a solution to patch this.
Comment #4
himerus commentedPatch attached that solves the problem in my environment. Not sure if it adversely affects the actual functionality behind admin_landing_page_access.
If anyone can verify that this does in fact solve the issue without affecting functionality, that would be great!
Comment #5
alex_b commented#4 just fixes the symptom, the access handler actually has to decend into a path's children to determine access to a path. This patch fixes the described problems.
Comment #6
yhahn commentedThanks, http://drupal.org/cvs?commit=465730