当我试图将我的 joomla 网站上的内容保存到数据库时,它有时会因这些警告而崩溃……这似乎是 Joomla 核心代码的一部分。它通常可以很好地保存在数据库中,但它最近开始向我抛出这些错误.. 有人可以帮我提供有关如何解决此问题的提示吗?这是我正在从事的一个项目,我想启动很快...当网站的加载速度很慢时似乎会发生...
Warning: Invalid argument supplied for foreach() in /home/content/72/9959172/html/includes/application.php on line 465
Warning: Invalid argument supplied for foreach() in /home/content/72/9959172/html/libraries/joomla/database/database/mysql.php on line 383
Warning: Invalid argument supplied for foreach() in /home/content/72/9959172/html/libraries/joomla/database/database/mysql.php on line 383
Warning: Invalid argument supplied for foreach() in /home/content/72/9959172/html/libraries/joomla/database/table.php on line 406
昨天它也给了我这个错误..它从来没有做过什么,但是由于某种原因,当网站加载缓慢时,它会触发错误..我真的很感激有关如何解决这个问题的提示。我无法启动这样的网站。我的主机是 Godaddy,我使用共享主机。
Error loading module MySQL server has gone away SQL=SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid FROM pwo3d_modules AS m LEFT JOIN pwo3d_modules_menu AS mm ON mm.moduleid = m.id LEFT JOIN pwo3d_extensions AS e ON e.element = m.module AND e.client_id = m.client_id WHERE m.published = 1 AND e.enabled = 1 AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2013-01-22 04:58:42') AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2013-01-22 04:58:42') AND m.access IN (1,1,2,3) AND m.client_id = 0 AND (mm.menuid = 207 OR mm.menuid <= 0) ORDER BY m.position, m.ordering