Welcome Guest, Not a member yet? Register   Sign In
Views are not Loading
#3

[eluser]TheFuzzy0ne[/eluser]
When you say that no changes have been made to the code, do you mean the view files, or all of the code?

Did this happen after you uploaded your Web site?

Does your admin page use the same header?

Have you extended the Output class or Loader class at all?

Have you checked the actual output source for the page to see if any HTML is being output at all?

I would create a controller like this:
./system/application/controllers/test.php
Code:
<?php

class Test extends Controller {

    function Test()
    {
        parent::Controller();
    }

    function index()
    {
        $this->load->helper('url');
        echo '<a href="' . base_url() . 'test/test_header">Test Header</a><br />';
        echo '<a href="' . base_url() . 'test/test_footer">Test Header</a>';
    }

    function test_header()
    {
        $this->load->view('__header');
    }
    
    function test_footer()
    {
        $this->load->view('__footer');
    }
}

Try navigating to:

yoursite.tld/test/test_header

and

yoursite.tld/test/test_footer

and see if you get any output with either of those.


Messages In This Thread
Views are not Loading - by El Forum - 02-14-2009, 08:33 AM
Views are not Loading - by El Forum - 02-14-2009, 08:49 AM
Views are not Loading - by El Forum - 02-14-2009, 09:10 AM
Views are not Loading - by El Forum - 02-14-2009, 09:27 AM
Views are not Loading - by El Forum - 02-14-2009, 09:32 AM
Views are not Loading - by El Forum - 02-14-2009, 09:34 AM
Views are not Loading - by El Forum - 02-14-2009, 09:56 AM
Views are not Loading - by El Forum - 02-14-2009, 10:33 AM
Views are not Loading - by El Forum - 02-16-2009, 01:27 PM
Views are not Loading - by El Forum - 02-16-2009, 01:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB