[eluser]Unknown[/eluser]
Hi guys,
I have a very weird problem. I built an application using codeigniter, and have just done a live testrun.
However, while all of my other controllers work without any issue, there is one that doesn't load (as in, it just loads a white page without errors). This controller works without problems on my local installation. This is the constructor and index (there are a bunch of other functions as well, but none of them work when called):
Code:
<?php
class Beheer extends Controller {
function Beheer()
{
parent::Controller();
$this->load->library(array('Erkanaauth', 'session'));
$this->load->helper('form');
}
function index()
{
$this->authorize();
$data['productcats'] = $this->crud_model->getAll('productcat');
$this->load->view('beheer/beheerView', $data);
}
I have tried doing this:
Code:
<?php
class Beheer extends Controller {
function Beheer()
{
parent::Controller();
}
function index()
{
echo "test";
}
But that didn't work either. I am kind of dumbfounded as to what the problem could be.
I also tried running it without using .htaccess to rewrite the url (so with index.php in the url and no htaccess).
Any ideas as to what this could be?