Additional uncaught exception thrown while handling exception.


PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT * FROM {system} WHERE type = 'theme' OR (type = 'module' AND status = 1) ORDER BY weight ASC, name ASC; Array ( ) in system_list() (line 165 of /srv/www/mingdiao_new/includes/


Exception: theme() may not be called until all modules are loaded. in theme() (line 1017 of /srv/www/mingdiao_new/includes/