0

有人可以向我解释这个 Joomla 错误 - 如何解决它。它在调试时显示。我们似乎有内存泄漏?Mysql 运行速度比网站崩溃慢。

Function    Location
JSite->dispatch()   /home/greatfam/public_html/index.php:52
JComponentHelper::renderComponent() /home/greatfam/public_html/includes/application.php:197
JComponentHelper::executeComponent()    /home/greatfam/public_html/libraries/joomla/application/component/helper.php:351
require_once()  /home/greatfam/public_html/libraries/joomla/application/component/helper.php:383
JController->execute()  /home/greatfam/public_html/components/com_content/content.php:16
ContentController->display()    /home/greatfam/public_html/libraries/joomla/application/component/controller.php:761
JController->display()  /home/greatfam/public_html/components/com_content/controller.php:74
ContentViewArticle->display()   /home/greatfam/public_html/libraries/joomla/application/component/controller.php:722
JView->get()    /home/greatfam/public_html/components/com_content/views/article/view.html.php:32
ContentModelArticle->getItem()  /home/greatfam/public_html/plugins/system/jat3/jat3/core/joomla/view.php:348
JError::raiseError()    /home/greatfam/public_html/components/com_content/models/article.php:172
JError::raise() /home/greatfam/public_html/libraries/joomla/error/error.php:251
4

1 回答 1

2

A nice and easy way to get started is: turn Joomla debug on in the Global configuration.

Then reload the frontpage, and examine closely the output at the bottom of the page.

There you will find the details of the memory used by each module, and the list of queries run. This will give you a head start and limit the number of items you need to debug (there will be a single module eating up all your memory).

If "after dispatch" is taking too long, then it could be either a plugin or the component being shown on the page.

If nothing "notable" shows up here (a lot of queries, more than 50, or high memory consumption, or long time for a single item, you might want to look at the apache error_log and mysql log and verify system limits.

于 2013-09-08T08:05:08.950 回答