没有写任何多余的代码下载官方3.2包
把IndexController.class.php里面的index方法改成:
function index(){
$this->display();
}
View/Index/index.html 代码如下:
asdfsadf
<include file="Index/test"/>
View/Index/test.html 代码如下:
testtest
运行:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 4169240017 bytes)
错误位置
FILE: /media/raid10/htdocs/xxx.com/ThinkPHP/Library/Think/Template.class.php LINE: 423
ThinkPHP3.2.0 { Fast & Simple OOP PHP fr
把include标签去掉正常,测试使用Widget也一样提示内存错误。
最佳答案