Organizational Research By

Surprising Reserch Topic

why does code igniter give me a white page using -'php,codeigniter'

why does code igniter give me a white page  using -'php,codeigniter'

Hey, not sure why CodeIgniter is giving me a blank page when I load a simple model. I'm breaking the code down, backwards, and I can't figure out what's breaking. Here's the controller:

class Leads extends Controller {

function Leads() {

function index() {
    $data = array( 'title' => 'Lead Management' );

    $this->load->view('html_head', $data);


function view() {


Here's the model:

class Leads extends Model {

function Leads()    {


The only way I don't get a white page on /view is if I comment out the loading of the model. I have absolutely no idea what I'm doing wrong, I'm copying the examples and structure literally right off the CI site.

asked Sep 7, 2015 by rajesh
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.