[eluser]danielbertini[/eluser]
Hello wiredesignz!
Thanks to reply...
I follow steps in HMVC wiki more then 10 times, but nothing do this work on HostGator.
But if i use CI 2 without HMVC work fine.
PHP version in Hostgator is the same of localhost MAMP, both 5.2.3.
Codes:
controllers/admin.php
Code:
<?php
class Admin extends MX_Controller{
function __construct()
{
parent::__construct();
if(!$this->session->userdata('admin_user_id')){
redirect('accesscontrol/login/form', 'refresh');
}
else{
redirect('adminpanel', 'refresh');
}
}
}
modules/accesscontrol/controllers/login.php
Code:
<?php
class Login extends MX_Controller{
function __construct()
{
parent::__construct();
}
function form()
{
$this->load->view('accesscontrol/login');
}
}
Result:
Fatal error: Class 'MX_Config' not found in /home/empre/public_html/application/third_party/MX/Base.php on line 71
In log i get only:
ERROR - 2010-10-19 19:13:52 --> 404 Page Not Found -->
Please help me!