Welcome Guest, Not a member yet? Register   Sign In
NEED HELP!
#4

[eluser]Jelmer[/eluser]
It's impossible to tell without any code and more information.

You might try switching on logging in the application/config/config.php. Look through it to see if there's any double loading of resources.

But if I had to guess you probably have an if-else structure somewhere that ends in a $this->load->view() but doesn't return after that and still loads the default condition which loads a view as well.
Something like this:
Code:
$page = $this->page_model->get();
if ($page === FALSE)
{
    $this->load->view('page_not_found');
}

$data['pageinfo'] = $page;
$this->load->view('page', $data);
That would load both the page_not_found and the page views. To make something like this work, add "return" after the view in the if condition, like this:
Code:
if ($page === FALSE)
{
    $this->load->view('page_not_found');
    return;
}


Messages In This Thread
NEED HELP! - by El Forum - 08-07-2010, 03:50 PM
NEED HELP! - by El Forum - 08-07-2010, 03:50 PM
NEED HELP! - by El Forum - 08-07-2010, 04:38 PM
NEED HELP! - by El Forum - 08-07-2010, 04:41 PM
NEED HELP! - by El Forum - 08-07-2010, 04:42 PM
NEED HELP! - by El Forum - 08-07-2010, 04:44 PM
NEED HELP! - by El Forum - 08-07-2010, 04:45 PM
NEED HELP! - by El Forum - 08-07-2010, 04:48 PM
NEED HELP! - by El Forum - 08-07-2010, 04:49 PM
NEED HELP! - by El Forum - 08-07-2010, 05:01 PM
NEED HELP! - by El Forum - 08-07-2010, 05:03 PM
NEED HELP! - by El Forum - 08-07-2010, 05:08 PM
NEED HELP! - by El Forum - 08-07-2010, 06:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB