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] => management [:module] => system [:path] => 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] => 3 [: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:260:"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] => management [:module] => system [:path] => admin ) ";s:9:"%function";s:23:"toolbar_get_menu_tree()";s:5:"%file";s:48:"/var/www/html/mysite/modules/toolbar/toolbar.module";s:5:"%line";i:286;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://localhost/mysite/admin/structure/types/add [:db_insert_placeholder_7] => http://localhost/mysite/admin/structure/types/ [:db_insert_placeholder_8] => 127.0.0.1 [:db_insert_placeholder_9] => 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).