Closed (outdated)
Project:
Admin
Version:
7.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 May 2012 at 06:11 UTC
Updated:
29 Oct 2025 at 15:14 UTC
Jump to comment: Most recent
I enable one module and then I got the error message as follow. The module maintainer believes that this has nothing to do with the module at all, and as the error message seems to indicate some problem with the admin module, I figure I should report it here.
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT menu_links.* FROM {menu_links} menu_links WHERE (module = :db_condition_placeholder_0) AND (router_path = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => system [:db_condition_placeholder_1] => admin/config/content ) inadmin_landing_page_access() (line 164 ofC:\wamp\www\sites\all\modules\admin\admin.module).
Thanks
Comments
Comment #1
tomogden commentedThis could be a PDO buffer issue, like the one seen in admin_menu. See issue #1302240-4: Enable admin_menu with toolbar give MySQL server has gone away:.
Comment #2
DrupalDan commentedThank you very much tomogden! That's very, very helpful. I'm going to see if that applies to my case once I know how to increase the buffer allowance.
Comment #3
sickness29 commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!