[eluser]Tony Nash[/eluser]
Actually, you helped me and save hundreds of coding lines :-). Thanks indeed!
Okay, Maybe, I found another issue.
Quote:the admin subdirectory is no longer used.
I might be stupid. But I moved admin folder to modules and thought building my site admin section top on FA admin. Everything went pretty well with following routes.
Code:
$route['default_controller'] = "freakauth/freakauth_demo";
$route['scaffolding_trigger'] = "";
$route['auth(.*)'] = 'freakauth/auth$1';
$route['admin'] = 'admin/adminhome';
//$route['admin/(.*)'] = 'admin/$1';
$route['admin/users/:num'] = "admin/users";
$route['admin/admins/:num'] = "admin/admins";
$route['example(.*)'] = "freakauth/example$1";
$route['installer'] = 'freakauth/installer';
Admin page loaded properly. However, when I go to .../index.php/admin/admins page or /index.php/admin/users, I get following error.
Code:
Fatal error: Call to a member function set_error_delimiters() on a non-object in C:\wamp\www\intranet2\system\application\modules\admin\controllers\admins.php on line 58
The set_error_delimiters() available on CI validation and FA (admins.php) line as bellow
[CODE]
$this->fal_validation->set_error_delimiters($this->config->item('FAL_error_delimiter_open'), $this->config->item('FAL_error_delimiter_close'));
[CODE]
Maybe i am wrong, but I feel this is something to do with ME. For some reason FAL_validation.php cannot instance CI_validation? Dose this make any sense to you?