mình không hiểu sao gần đây mỗi khi mình enable module admin là may báo lỗi như vậy.
các bác có biêt tại sao ko. phiền các bác giúp em chút. các on các bác
Additional uncaught exception thrown while handling exception.
Original
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 ) in admin_landing_page_access() (line 165 of D:\Zend Server\Apache2\htdocs\xbookDemo\sites\all\modules\contrib\admin\admin.module).
Additional
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:329:"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 ) ";s:9:"%function";s:27:"admin_landing_page_access()";s:5:"%file";s:84:"D:\Zend Server\Apache2\htdocs\xbookDemo\sites\all\modules\contrib\admin\admin.module";s:5:"%line";i:165;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://xbookdemo/admin/modules [:db_insert_placeholder_7] => http://xbookdemo/ [:db_insert_placeholder_8] => 127.0.0.1 [:db_insert_placeholder_9] => 1343816402 ) in dblog_watchdog() (line 157 of D:\Zend Server\Apache2\htdocs\xbookDemo\modules\dblog\dblog.module).
Uncaught exception thrown in session handler.
PDOException: There is already an active transaction in _drupal_session_write() (line 206 of D:\Zend Server\Apache2\htdocs\xbookDemo\includes\session.inc).
Fatal error: Exception thrown without a stack frame in Unknown on line 0


4 Comments
Theo mình là nó bị xung đột
Submitted by quynh anh long on
Theo mình là nó bị xung đột giữa 2 session của user vì vậy mà các câu lệnh liên quan đến uid đều không phân biệt được và nó ném ra cả tảng lỗi như vậy, bạn vào các dòng trong file mà nó báo lỗi để tìm ra được nguyên nhân nhé :)
Học drupal trực tuyến với http://www.seodrupal.vn
MySQL của bạn cấu hình chấp
Submitted by Lê Thanh Sang on
MySQL của bạn cấu hình chấp nhận dung lượng thấp quá, bạn tìm file my.cnf và tăng giá trị max_allowed_packet lên thành 8MB hoặc 16MB coi sao.
bác kiểm tra lại giúp em xem,
Submitted by trytry on
bác kiểm tra lại giúp em xem, em search mãi ko thấy file my.cnf bác bà
cám ơn bác trước nhé
Thì em cứ search Google với
Submitted by Andy Truong on
Thì em cứ search Google với keyword: "file my.cnf của tui ở đâu?"