Welcome Guest, Not a member yet? Register   Sign In
The connection was reset
#1

[eluser]FDisk[/eluser]
I'm using latest CodeIgniter Version 2.0.3
PHP Version 5.3.5

Created controller lists and the model lists

application/controllers/lists.php
Code:
<?php
class Lists extends CI_Controller
{
    function __construct() {
        parent::__construct();

        $this->load->model('Lists');
    }
    public function index() {
        echo 'Controller Hello';
    }
}
and the application/models/lists.php
Code:
<?php
class Lists_model extends CI_Model
{

    function __construct() {
        parent::__construct();
    }

    public function find_all() {
        return 'Model Hello';
    }
}
Localhost is crashing and in browser I got
Quote:The connection was reset

Apache error.log is empty.




Theme © iAndrew 2016 - Forum software by © MyBB