Exception
lithium\action\DispatchException
(code 404)
Controller `index.Htm` not found.
Source
Stack Trace
-
[exception]
/var/www/epsiba/production/libraries/lithium/action/Dispatcher.php: 239
234 $controller = $params['params']['controller']; 235 236 try { 237 return Libraries::instance('controllers', $controller, $options); 238 } catch (ClassNotFoundException $e) { 239 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 240 } 241 }); 242 } 243 244 /**
-
lithium\util\collection\Filters::next()
/var/www/epsiba/production/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/epsiba/production/app/config/bootstrap/g11n.php::{closure} @ 191
/var/www/epsiba/production/app/config/bootstrap/g11n.php: 202
197 } else { 198 setCurrentLocale($locale); 199 } 200 201 $params['request']->locale($locale); 202 return $chain->next($self, $params, $chain); 203}; 204 205ActionDispatcher::applyFilter('_callable', $setLocale); 206//ConsoleDispatcher::applyFilter('_callable', $setLocale); 207
-
lithium\util\collection\Filters::next()
/var/www/epsiba/production/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/epsiba/production/app/config/bootstrap/action.php::{closure} @ 55
/var/www/epsiba/production/app/config/bootstrap/action.php: 64
59 }; 60 } 61 62 63 Environment::set(true, array('request' => $params['request'])); 64 return $chain->next($self, $params, $chain); 65 }); 66 67 $loadRoutes = function($self, $params, $chain) { 68 foreach (array_reverse(Libraries::get()) as $name => $config) { 69 if ($name === 'lithium') {
-
lithium\util\collection\Filters::run()
/var/www/epsiba/production/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/epsiba/production/libraries/lithium/core/StaticObject.php: 126
121 if (!isset(static::$_methodFilters[$class][$method])) { 122 static::$_methodFilters += array($class => array()); 123 static::$_methodFilters[$class][$method] = array(); 124 } 125 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 126 return Filters::run($class, $params, compact('data', 'class', 'method')); 127 } 128 129 /** 130 * Gets and caches an array of the parent methods of a class. 131 *
-
lithium\action\Dispatcher::_callable()
/var/www/epsiba/production/libraries/lithium/action/Dispatcher.php: 241
236 try { 237 return Libraries::instance('controllers', $controller, $options); 238 } catch (ClassNotFoundException $e) { 239 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 240 } 241 }); 242 } 243 244 /** 245 * Invokes the callable object returned by `_callable()`, and returns the results, usually a 246 * `Response` object instance.
-
lithium\core\StaticObject::invokeMethod()
/var/www/epsiba/production/libraries/lithium/core/StaticObject.php: 75
70 case 1: 71 return static::$method($params[0]); 72 case 2: 73 return static::$method($params[0], $params[1]); 74 case 3: 75 return static::$method($params[0], $params[1], $params[2]); 76 case 4: 77 return static::$method($params[0], $params[1], $params[2], $params[3]); 78 case 5: 79 return static::$method($params[0], $params[1], $params[2], $params[3], $params[4]); 80 default:
-
lithium\action\Dispatcher::run()::{closure} @ 141
/var/www/epsiba/production/libraries/lithium/action/Dispatcher.php: 153
148 $params = $self::applyRules($result->params); 149 150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /**
-
lithium\util\collection\Filters::next()
/var/www/epsiba/production/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
lithium\core\ErrorHandler::apply()::{closure} @ 264
/var/www/epsiba/production/libraries/lithium/core/ErrorHandler.php: 266
261 $wrap = static::$_exceptionHandler; 262 $_self = get_called_class(); 263 264 $filter = function($self, $params, $chain) use ($_self, $conditions, $handler, $wrap) { 265 try { 266 return $chain->next($self, $params, $chain); 267 } catch (Exception $e) { 268 if (!$_self::matches($e, $conditions)) { 269 throw $e; 270 } 271 return $handler($wrap($e, true), $params);
-
lithium\util\collection\Filters::next()
/var/www/epsiba/production/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/epsiba/production/app/config/bootstrap/action.php::{closure} @ 67
/var/www/epsiba/production/app/config/bootstrap/action.php: 75
70 continue; 71 } 72 $file = "{$config['path']}/config/routes.php"; 73 file_exists($file) ? include $file : null; 74 } 75 return $chain->next($self, $params, $chain); 76 }; 77 78 ActionDispatcher::applyFilter('run', $loadRoutes); 79 ConsoleDispatcher::applyFilter('run', $loadRoutes); 80
-
lithium\util\collection\Filters::next()
/var/www/epsiba/production/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/epsiba/production/app/config/bootstrap/cache.php::{closure} @ 41
/var/www/epsiba/production/app/config/bootstrap/cache.php: 43
38 /** 39 * Caches paths for auto-loaded and service-located classes when in production. 40 */ 41 Dispatcher::applyFilter('run', function($self, $params, $chain) { 42 if (!Environment::is('production')) { 43 return $chain->next($self, $params, $chain); 44 } 45 $key = md5(LITHIUM_APP_PATH) . '.core.libraries'; 46 47 if ($cache = Cache::read('default', $key)) { 48 $cache = (array) $cache + Libraries::cache();
-
lithium\util\collection\Filters::run()
/var/www/epsiba/production/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/epsiba/production/libraries/lithium/core/StaticObject.php: 126
121 if (!isset(static::$_methodFilters[$class][$method])) { 122 static::$_methodFilters += array($class => array()); 123 static::$_methodFilters[$class][$method] = array(); 124 } 125 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 126 return Filters::run($class, $params, compact('data', 'class', 'method')); 127 } 128 129 /** 130 * Gets and caches an array of the parent methods of a class. 131 *
-
lithium\action\Dispatcher::run()
/var/www/epsiba/production/libraries/lithium/action/Dispatcher.php: 155
150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /** 159 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each 160 * formatting rule is applied if the key of the rule in `$_rules` is present and not empty in
-
[main]
/var/www/epsiba/production/app/webroot/index.php: 41
36 * @see lithium\action\Response 37 * @see lithium\action\Dispatcher 38 * @see lithium\net\http\Router 39 * @see lithium\action\Controller 40 */ 41 echo lithium\action\Dispatcher::run(new lithium\action\Request()); 42 43