It looks like you're new here. If you want to get involved, click one of these buttons!
so i've reset it back to 'fuel/page_router'.
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: fuel/Router.php
Line Number: 93
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/[REDACTED]/fuel/codeigniter/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 414
An Error Was Encountered
Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.
How can I change that?? Please help, this is really important!!!
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: hooks/Fuel_hooks.php
Line Number: 48
A PHP Error was encountered
Severity: Warning
Message: require_once(/Applications/MAMP/htdocs/[REDACTED]/fuel/application/../modules/fuel//controllers/.php) [function.require-once]: failed to open stream: No such file or directory
Filename: hooks/Fuel_hooks.php
Line Number: 48
Comments
header('Location: /home'); exit();
function pre_controller() { // if called from same Wordpress, the the global scope will not work global $method, $class, $RTR; $class_methods = get_class_methods($class); // for pages without methods defined if ((isset($class_methods) AND !in_array($method, $class_methods) AND !in_array('_remap', $class_methods)) AND !empty($RTR->default_controller)) { $fuel_path = explode('/', $RTR->routes['404_override']); if (!empty($fuel_path[1])) { require_once(FUEL_PATH.'/controllers/'.$fuel_path[1].'.php'); $class = $fuel_path[1]; } } }