Hi!
when I want use subdomain settings ,I got sql warning:(Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:85:\"MySQL server has gone away\nquery: SELECT * FROM system WHERE type = 'theme'\";s:5:\"%file\";s:43:\"/home/mysqlusername/public_html/includes/theme.inc\";s:5:\"%line\";i:449;}', 3, '', 'http://mysite.com/?q=admin/build/path/subdomain', 'http://mysite.com/?q=admin/build/path/add', '83.254.140....', 1264323789) in /home/mysqlusername/public_html/includes/database.mysqli.inc on line 128)
any idea how can I fix it?

Comments

sadist’s picture

From what you'd posted, this isn't a problem with subdomain.module, but MySQL. try seaching for tips on optimising your MySQL.