Exception
lithium\action\DispatchException
(code 404)
Controller `Give` not found.
Source
Stack Trace
-
[exception]
/srv/www/li3Aweeba/libraries/lithium/action/Dispatcher.php: 254
249 $controller = $params['params']['controller']; 250 251 try { 252 return Libraries::instance('controllers', $controller, $options); 253 } catch (ClassNotFoundException $e) { 254 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 255 } 256 }); 257 } 258 259 /**
-
lithium\aop\Filters::run()
/srv/www/li3Aweeba/libraries/lithium/aop/Filters.php: 231
226 */ 227 public static function run($class, $method, array $params, $implementation) { 228 $implementation = static::_bcImplementation($class, $method, $params, $implementation); 229 230 if (!static::hasApplied($class, $method)) { 231 return $implementation($params); 232 } 233 return static::_chain($class, $method)->run($params, $implementation); 234 } 235 236 /**
-
lithium\action\Dispatcher::_callable()
/srv/www/li3Aweeba/libraries/lithium/action/Dispatcher.php: 256
251 try { 252 return Libraries::instance('controllers', $controller, $options); 253 } catch (ClassNotFoundException $e) { 254 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 255 } 256 }); 257 } 258 259 /** 260 * Invokes the callable object returned by `_callable()`, and returns the results, usually a 261 * `Response` object instance.
-
lithium\action\Dispatcher::run()::{closure} @ 154
/srv/www/li3Aweeba/libraries/lithium/action/Dispatcher.php: 168
163 $params = static::applyRules($result->params); 164 165 if (!$params) { 166 throw new DispatchException('Could not route request.'); 167 } 168 $callable = static::_callable($result, $params, $options); 169 return static::_call($callable, $result, $params); 170 }); 171 } 172 173 /**
-
lithium\aop\Chain::__invoke()
/srv/www/li3Aweeba/libraries/lithium/aop/Chain.php: 156
151 if (($filter = next($this->_filters)) !== false) { 152 return $filter($params, $this); 153 } 154 155 $implementation = $this->_implementation; 156 return $implementation($params); 157 } 158 159 /* Deprecated / BC */ 160 161 /**
-
/srv/www/li3Aweeba/foster_morrison/html/app/config/bootstrap/action.php::{closure} @ 48
/srv/www/li3Aweeba/foster_morrison/html/app/config/bootstrap/action.php: 50
45 continue; 46 } 47 $file = "{$config['path']}/config/routes.php"; 48 file_exists($file) ? call_user_func(function() use ($file) { include $file; }) : null; 49 } 50 return $next($params); 51 }); 52 /** 53 * This filter protects against HTTP host header attacks, by matching the `Host` header 54 * sent by the client against a known list of good hostnames. You'll need to modify 55 * the list of hostnames inside the filter before using it.
-
lithium\aop\Chain::__invoke()
/srv/www/li3Aweeba/libraries/lithium/aop/Chain.php: 152
147 * @return mixed The return value of the next filter. If there is no 148 * next filter, the return value of the implementation. 149 */ 150 public function __invoke(array $params) { 151 if (($filter = next($this->_filters)) !== false) { 152 return $filter($params, $this); 153 } 154 155 $implementation = $this->_implementation; 156 return $implementation($params); 157 }
-
lithium\core\ErrorHandler::apply()::{closure} @ 242
/srv/www/li3Aweeba/libraries/lithium/core/ErrorHandler.php: 246
241 242 Filters::apply($class, $method, function($params, $next) use ($conditions, $handler) { 243 $wrap = static::$_exceptionHandler; 244 245 try { 246 return $next($params); 247 } catch (Exception $e) { 248 if (!static::matches($e, $conditions)) { 249 throw $e; 250 } 251 return $handler($wrap($e, true), $params);
-
lithium\aop\Chain::run()
/srv/www/li3Aweeba/libraries/lithium/aop/Chain.php: 123
118 */ 119 public function run(array $params, $implementation) { 120 $this->_implementation = $implementation; 121 122 $filter = reset($this->_filters); 123 $result = $filter($params, $this); 124 125 $this->_implementation = null; 126 return $result; 127 } 128
-
lithium\aop\Filters::run()
/srv/www/li3Aweeba/libraries/lithium/aop/Filters.php: 233
228 $implementation = static::_bcImplementation($class, $method, $params, $implementation); 229 230 if (!static::hasApplied($class, $method)) { 231 return $implementation($params); 232 } 233 return static::_chain($class, $method)->run($params, $implementation); 234 } 235 236 /** 237 * Clears filters optionally constrained by class or class and method combination. 238 *
-
lithium\action\Dispatcher::run()
/srv/www/li3Aweeba/libraries/lithium/action/Dispatcher.php: 170
165 if (!$params) { 166 throw new DispatchException('Could not route request.'); 167 } 168 $callable = static::_callable($result, $params, $options); 169 return static::_call($callable, $result, $params); 170 }); 171 } 172 173 /** 174 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each 175 * formatting rule is applied if the key of the rule in `$_rules` is present and not empty in
-
[main]
/srv/www/li3Aweeba/foster_morrison/html/app/webroot/index.php: 45
40 */ 41 echo lithium\action\Dispatcher::run( 42 new lithium\action\Request( 43 array( 44 // 'drain' => false 45 ) 46 ) 47 ); 48 49