我现在正忙着我的新CMS。我现在可以继续测试我的TPL了;分页系统。现在,唯一的问题是,当我转到http://localhost/
时,我得到这个错误:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 65488 bytes) in C:'xampp'htdocs'application'classes'class.functions.php on line 162
所以通常,我会去Class.functions.php
的第162行,看看我是否在循环或其他什么,弄清楚那里到底发生了什么,然后再测试一次。现在,有趣的是,我的class.functions.php
只包含92行。:")
有人有这方面的经验吗?
谢谢,
韦斯利。
我不建议您这样做,但请尝试:
ini_set("memory_limit","-1");