Welcome Guest, Not a member yet? Register   Sign In
Blank page and endless loop when uploaded to web server (solved)
#4

[eluser]gtech[/eluser]
hello I copied your index function and adapted it below... just so it works on my set up.
Code:
function index()
    {
        log_message('ERROR', '**** Teams --> INDEX loaded *****');
        
        // start benchmarking
        $this->benchmark->mark('process_start');
        
        // get the standard headers and footers, etc.
        $config['submenu_data'] = array('draw' => TRUE, 'type' => 'configure_team');
        log_message('ERROR', '**** 1 *****');
        $config['mainmenu_data'] = array('draw' => TRUE, 'type' => 'system');
        log_message('ERROR', '**** 2 *****');
        $data['header'] = $this->load->view('test_v',$config, TRUE);
        log_message('ERROR', '**** 3 *****');
        $data['mainmenu'] = $this->load->view('test_v',$config, TRUE);
        log_message('ERROR', '**** 4 *****');
        $data['submenu'] = $this->load->view('test_v',$config, TRUE);
        log_message('ERROR', '**** 5 *****');
        $data['login'] = $this->load->view('test_v',$config, TRUE);
        log_message('ERROR', '**** 6 *****');
        $data['sidebar'] = $this->load->view('test_v',$config, TRUE);
        log_message('ERROR', '**** 7 *****');
        
        // get the benchmark time
        $this->benchmark->mark('process_end');

        log_message('ERROR', '**** End of Team->Index *****');
  }

I then created a view called test_v and copied the view you posted above... guess what it worked:

Code:
ERROR - 2007-12-07 23:22:57 --> **** Teams --> INDEX loaded *****
ERROR - 2007-12-07 23:22:57 --> **** 1 *****
ERROR - 2007-12-07 23:22:57 --> **** 2 *****
DEBUG - 2007-12-07 23:22:57 --> File loaded: C:/xampp/htdocs/survey/survey_dev/system/application/views/test_v1.php
ERROR - 2007-12-07 23:22:57 --> **** 3 *****
DEBUG - 2007-12-07 23:22:57 --> File loaded: C:/xampp/htdocs/survey/survey_dev/system/application/views/test_v1.php
ERROR - 2007-12-07 23:22:57 --> **** 4 *****
DEBUG - 2007-12-07 23:22:57 --> File loaded: C:/xampp/htdocs/survey/survey_dev/system/application/views/test_v1.php
ERROR - 2007-12-07 23:22:57 --> **** 5 *****
DEBUG - 2007-12-07 23:22:57 --> File loaded: C:/xampp/htdocs/survey/survey_dev/system/application/views/test_v1.php
ERROR - 2007-12-07 23:22:57 --> **** 6 *****
DEBUG - 2007-12-07 23:22:57 --> File loaded: C:/xampp/htdocs/survey/survey_dev/system/application/views/test_v1.php
ERROR - 2007-12-07 23:22:57 --> **** 7 *****
ERROR - 2007-12-07 23:22:57 --> **** End of Team->Index *****

the only way I could replicate your error was to delete test_v1 (my view), and then of course the log halted at #2. To me it would suggest you view files are not getting picked up?

but i cant see where you were logging
**** Teams --> VIEW start loading *****

if that was in the view then maybee just put the word "hello world" in your view and see if it loads ok.


Messages In This Thread
Blank page and endless loop when uploaded to web server (solved) - by El Forum - 12-08-2007, 05:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB