[support] Exception error in Drupal 7

Roger arelem at bigpond.com
Sat Jun 9 04:13:24 UTC 2012


I made a copy of our server site that I am developing, both database and 
drupal 7 file system and installed it on my home Fedora 16 box.
  It works ok but http://localhost/mysite/admin/structure/types/add 
<http://localhost/eal/admin/structure/types/add> fails with the below error:

-- mysql is started and running, other things on the localhost site seem 
to work ok
--Adding content works.
--Creating new or altering taxonomies works.
--Roles and permissions works.
--Workbench Access works.
--There are no reports in - recent log messages.
--No errors on the server site.

I have Cleared Caches in D7  and run drush cc 1 to clear all caches.


  Additional uncaught exception thrown while handling exception.


    Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone 
away: SELECT * FROM {menu_links} WHERE menu_name = :menu_name AND module 
= :module AND link_path = :path; Array ( [:menu_name] =&gt; management 
[:module] =&gt; system [:path] =&gt; admin ) in toolbar_get_menu_tree() 
(line 286 of /var/www/html/mysite/modules/toolbar/toolbar.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] =&gt; 3 [:db_insert_placeholder_1] =&gt; php 
[:db_insert_placeholder_2] =&gt; %type: !message in %function (line 
%line of %file). [:db_insert_placeholder_3] =&gt; 
a:6:{s:5:&quot;%type&quot;;s:12:&quot;PDOException&quot;;s:8:&quot;!message&quot;;s:260:&quot;SQLSTATE[HY000]: 
General error: 2006 MySQL server has gone away: SELECT * FROM 
{menu_links} WHERE menu_name = :menu_name AND module = :module AND 
link_path = :path; Array ( [:menu_name] =&amp;gt; management [:module] 
=&amp;gt; system [:path] =&amp;gt; admin ) 
&quot;;s:9:&quot;%function&quot;;s:23:&quot;toolbar_get_menu_tree()&quot;;s:5:&quot;%file&quot;;s:48:&quot;/var/www/html/mysite/modules/toolbar/toolbar.module&quot;;s:5:&quot;%line&quot;;i:286;s:14:&quot;severity_level&quot;;i:3;} 
[:db_insert_placeholder_4] =&gt; 3 [:db_insert_placeholder_5] =&gt; 
[:db_insert_placeholder_6] =&gt; 
http://localhost/mysite/admin/structure/types/add 
[:db_insert_placeholder_7] =&gt; 
http://localhost/mysite/admin/structure/types/ 
[:db_insert_placeholder_8] =&gt; 127.0.0.1 [:db_insert_placeholder_9] 
=&gt; 1339213857 ) in dblog_watchdog() (line 154 of 
/var/www/html/mysite/modules/dblog/dblog.module)

------------------------------------------------------------------------


  Uncaught exception thrown in session handler.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone 
away in _drupal_session_write() (line 209 of 
/var/www/html/mysite/includes/session.inc).




More information about the support mailing list