使用视图模型的时候出现fatal error

浏览:820 发布日期:2013/04/14 分类:求助交流
Maximum function nesting level of '100' reached, aborting! C:\wamp\www\ThinkPHP\Lib\Core\Model.class.php 第 1188 行.
错误位置
FILE: C:\wamp\www\ThinkPHP\Lib\Core\Think.class.php  LINE: 275
TRACE
[13-04-14 16:45:04] C:\wamp\www\ThinkPHP\Lib\Core\Think.class.php (275) halt(Maximum function nesting level of '100' reached, aborting! C:\wamp\www\ThinkPHP\Lib\Core\Model.class.php 第 1188 行.)
[13-04-14 16:45:04] C:\wamp\www\ThinkPHP\Lib\Core\Think.class.php (290) Think::appError(1, Maximum function nesting level of '100' reached, aborting!, C:\wamp\www\ThinkPHP\Lib\Core\Model.class.php, 1188)
[13-04-14 16:45:04] () Think::fatalError()

代码:<?php
    class SetdetailModel extends ViewModel{
        public $viewFields = array(
            'Setdetail'=>array('id','setId','whiteId','pcs'),
            'White'=>array('variety','grade','_on'=>'Setdetail.whiteId=White.id')
        );
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>