[eluser]Unknown[/eluser]
Hello,
I am trying to load the following url index.php/Ajax_admin_tabs/general.
The code for the controller is:
Code:
<?php
class Ajax_admin_tabs extends Controller
{
function Ajax_admin_tabs()
{
parent::Controller;
}
function general()
{
$this->load->view('admin/General_tab');
}
function forums()
{
$this->load->view('admin/Forums_tab');
}
function users()
{
$this->load->view('admin/Users_tab');
}
function groups()
{
$this->load->view('admin/Groups_tab');
}
}
The code for the view is:
Code:
<div>
There is nothing to show yet
</div>
It is intended to be loaded via an ajax call, hence the incomplete html.
The log file is:
DEBUG - 2008-07-11 03:43:03 --> Config Class Initialized
DEBUG - 2008-07-11 03:43:03 --> Hooks Class Initialized
DEBUG - 2008-07-11 03:43:03 --> URI Class Initialized
DEBUG - 2008-07-11 03:43:03 --> Router Class Initialized
DEBUG - 2008-07-11 03:43:03 --> Output Class Initialized
DEBUG - 2008-07-11 03:43:03 --> Input Class Initialized
DEBUG - 2008-07-11 03:43:03 --> Global POST and COOKIE data sanitized
DEBUG - 2008-07-11 03:43:03 --> Language Class Initialized
It seems like CI is crashing out before it ever gets to my code. I have tried going to the URL directly and going to it through the ajax request but they both give the same result.
I've been digging through the CI source to determine the problem but cannot even determine when the call to
Code:
load_class('Loader')
takes place on PHP 5. (I have only seen it called, with a second argument set to false if
Code:
floor(phpversion()) < 5
but I know that it happens from looking at other log files. suffice it to say that I am very confused and am going to bed. heres wishing for a 'magic answer' when I wake up...or at least a clue.
Thanks for the time,
Aaron