达到最大功能嵌套级别'500',中止

时间:2013-11-17 16:47:54

标签: php apache wamp xdebug

我正在使用CMS(已经购买,它没有被取消)。我的问题是,有时它变得非常慢,每个使用它的人都需要刷新几次,或等待10-15秒直到它出现。

我做了一些研究,我启用了Xdebug(如果我禁用它,apache将使用所有的Memory_limit,并且CPU将达到100%),我尝试使用Win32DisableAcceptEx,但是那没做诀窍。尝试卸载wamp并安装它的最新版本,但也无效。

我一直在寻找几天,询问制作这个CMS的人的支持,他们没有回复。如果我将嵌套级别更改为任何数字,它将执行相同的操作。如果我禁用Xdebug,那么现在我记住了memory_limit的大小,它仍然会达到它。老实说,我不知道发生了什么。我已经使用这个CMS一年了,从来没有遇到过这个问题。这是apache_error.log的一部分:

[Sun Nov 17 10:09:59.852157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP Fatal error:  Maximum function nesting level of '500' reached, aborting! in C:\\wamp\\www\\system\\database\\drivers\\mysqli\\mysqli_driver.php on line 200, referer: http://oblivion-wow.com/application/themes/crusader_theme/css/cms.css
[Sun Nov 17 10:09:59.852157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP Stack trace:, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   1. {main}() C:\\wamp\\www\\index.php:0, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   2. require_once() C:\\wamp\\www\\index.php:228, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   3. News->__construct() C:\\wamp\\www\\system\\core\\CodeIgniter.php:1, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   4. MX_Controller->__construct() C:\\wamp\\www\\application\\modules\\news\\controllers\\news.php:11, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   5. Template->show404() C:\\wamp\\www\\application\\third_party\\MX\\Controller.php:67, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   6. Template->view() C:\\wamp\\www\\application\\libraries\\template.php:502, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   7. Template->handleNormalPage() C:\\wamp\\www\\application\\libraries\\template.php:139, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   8. Template->loadSideboxes() C:\\wamp\\www\\application\\libraries\\template.php:156, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP   9. Custom->__construct() C:\\wamp\\www\\application\\libraries\\template.php:334, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP  10. MX_Controller->__construct() C:\\wamp\\www\\application\\modules\\sidebox_custom\\controllers\\custom.php:9, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP  11. Template->show404() C:\\wamp\\www\\application\\third_party\\MX\\Controller.php:67, referer: same
[Sun Nov 17 10:09:59.853157 2013] [:error] [pid 4884:tid 1548] [client 79.138.165.229:50638] PHP  12. Template->view() C:\\wamp\\www\\application\\libraries\\template.php:502, referer: same

这是mysqli_driver.php:http://pastebin.com/c4MkY5st

0 个答案:

没有答案