Baru-baru ini saya mulai mendapatkan kesalahan setiap kali saya mencoba dan menambahkan konten apa pun jenisnya. Ini adalah kesalahan yang muncul di browser:
Pengecualian tanpa tertangkap tambahan dilemparkan saat menangani pengecualian.
PDOException Asli: SQLSTATE [HY000]: Kesalahan umum: 2006 Server MySQL telah hilang: SELECT COUNT (cid) DARI {comment} WHERE status =: status; Array ([: status] => 0) di comment_count_unpublished () (baris 313 dari /Applications/MAMP/htdocs/modules/comment/comment.mcomule).
Tambahan
PDOException: SQLSTATE [HY000]: Kesalahan umum: 2006 Server MySQL telah hilang: INSERT INTO {watchdog} (uid, jenis, pesan, variabel, tingkat keparahan, tautan, lokasi, pengarah, nama host, stempel waktu) VALUES (: db_insert_placeholder_0,: db_insert_placeholder_0,: db_insert_placeholder_0,: db_insert_placeholder_0,: : Array ([: db_insert_placeholder_0] => 1 [: db_insert_placeholder_1] => php [: db_insert_placeholder_2] =>% type:! Pesan dalam% function (baris% baris% file). [: Db_insert_placeholder_3] => a: 6: { s: 5: "% type"; s: 12: "PDOException"; s: 8: "! message"; s: 154: "SQLSTATE [HY000]: Kesalahan umum: 2006 Server MySQL telah hilang: PILIH COUNT (cid) DARI {comment} WHERE status =: status; Array ([: status] = & gt; 0) "; s: 9:"% function "; s: 27:" comment_count_unpublished () "; s: 5:"% file "; s: 56:" / Aplikasi / MAMP /htdocs/modules/comment/comment.module";s#:"%line";i:313;s:14:"severity_level";i:3;} [: db_insert_placeholder_4] => 3 [: db_insert_placeholder_5] = > [: db_insert_placeholder_6] =>http: // localhost: 8888 /? q = node% 2Fadd% 2Farcade-project & amp ; [: db_insert_placeholder_7] => http: // localhost: 8888 / [: db_insert_placeholder_8] => 127.0.0.1 [: db_insert_placeholder_9] => 1338336955) di dblog_watchdog () (baris 154 dari / Aplikasi / MAMP / hmpog / modules / modul / dblog / modules / dblog) dblog.module).
Saya juga mendapatkan kesalahan berikut di file kesalahan php saya:
PHP Fatal error: Pengecualian tanpa tertangkap 'PDOException' dengan pesan 'SQLSTATE [HY000]: Kesalahan umum: 2006 server MySQL telah hilang' di /Applications/MAMP/htdocs/includes/database/database.inc:136
Stack trace:
0 /Applications/MAMP/htdocs/includes/database/database.inc(2136): PDOStatement-> execute (Array)
1 /Applications/MAMP/htdocs/includes/database/database.inc(664): DatabaseStatementBase- > mengeksekusi (Array, Array)
2 /Applications/MAMP/htdocs/includes/database/database.inc(2315): DatabaseConnection-> query ('SELECT expire, ...', Array, Array)
3 / Aplikasi / MAMP / htdocs / include / lock.inc (167): db_query ('SELECT kedaluwarsa, ...', Array)
4 /Applications/MAMP/htdocs/includes/lock.inc(146): lock_may_be_available ('theme_registry: ...' )
5 /Applications/MAMP/htdocs/includes/theme.inc(447): lock_acquire ('theme_registry: ...')
6 /Applications/MAMP/htdocs/includes/bootstrap.inc(427): ThemeRegistry-> set ( Array)
7 [fungsi internal]: DrupalCacheArray -> __ destruct ()
8 {main} dilemparkan ke /Applications/MAMP/htdocs/includes/database/database.inc on line 2136
Saya mengalami sedikit kesulitan menguraikan pesan kesalahan ini. Adakah yang bisa membantu saya memahami apa yang terjadi di sini?