Erro
Sorry! The page you were looking for could not be found.
Go to Homepage
Exception
lithium\action\DispatchException
(code 404)
Controller `Imagem` not found.
Source
Stack Trace
-
[exception]
/app/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\Chain::__invoke()
/app/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 /**
-
/app/app/config/bootstrap/g11n.php::{closure} @ 73
/app/app/config/bootstrap/g11n.php: 81
76 } 77 78 // AQUI EMBAIXO, ESSE br EU SETEI O IDIOMA SEM USAR URL WOWWW 79 Environment::set(true, array('locale' => $params['request']->locale('pt_BR'))); 80 81 return $next($params); 82 }; 83 ActionDispatcher::applyFilter('_callable', $setLocale); 84 ConsoleDispatcher::applyFilter('_callable', $setLocale); 85 86 /**
-
lithium\aop\Chain::run()
/app/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()
/app/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::_callable()
/app/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
/app/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()
/app/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 /**
-
/app/app/config/bootstrap/action.php::{closure} @ 68
/app/app/config/bootstrap/action.php: 70
65 continue; 66 } 67 $file = "{$config['path']}/config/routes.php"; 68 file_exists($file) ? call_user_func(function() use ($file) { include $file; }) : null; 69 } 70 return $next($params); 71 }); 72 73 /* 74 Filters::apply(Dispatcher::class, '_callable', function($params, $next) { 75 // Custom "before" logic goes here.
-
lithium\aop\Chain::__invoke()
/app/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
/app/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()
/app/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()
/app/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()
/app/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]
/app/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