Php 已超出Codeigniter内存限制

Php 已超出Codeigniter内存限制,php,codeigniter,Php,Codeigniter,我有以下文件: controllers/funding.php <?php /** * Created by PhpStorm. * User: ad1cjhx * Date: 04/12/2014 * Time: 09:45 */ class Funding extends CI_Controller { public function __construct() { parent::__construct(); $this->

我有以下文件:

controllers/funding.php

<?php
/**
 * Created by PhpStorm.
 * User: ad1cjhx
 * Date: 04/12/2014
 * Time: 09:45
 */

class Funding extends CI_Controller {

    public function __construct() {

        parent::__construct();
        $this->load->model('funding');

    }

    public function index() {

        //$funding_list = $this->funding->get_all();

        $this->load->view('header');
        $this->load->view('funding/list');
        $this->load->view('footer');

    }

} 
<?php
/**
 * Created by PhpStorm.
 * User: ad1cjhx
 * Date: 04/12/2014
 * Time: 09:53
 */

class Funding_model extends CI_Model{

    function __construct() {

        parent::__construct();

    }

    public function get_all() {

        //$sql = "SELECT * FROM funds LIMIT 1";

        return 1;

    }

} 
项目结构:


请检查无限代码loops@Rajasekhar这就是代码。我正在加载的三个视图是emptfiles.67Mo,其中只有此代码和空视图?122号线的其他地方一定有问题。有什么?@BabyAzerty更新了上面的内容如果您的模型的类名是Funding_model,那么您的模型的文件名必须是Funding_model.php。
/*
| -------------------------------------------------------------------
|  Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
|   $autoload['model'] = array('model1', 'model2');
|
*/

$autoload['model'] = array();


/* End of file autoload.php */
/* Location: ./application/config/autoload.php */