Erro
Sorry! The page you were looking for could not be found.
Go to Homepage
Exception
lithium\action\DispatchException
(code 404)
Action `www.comprasnet.gov` not found.
Source
Stack Trace
-
[exception]
/app/libraries/lithium/action/Controller.php: 207
202 203 if (substr($action, 0, 1) === '_' || method_exists(__CLASS__, $action)) { 204 throw new DispatchException('Attempted to invoke a private method.'); 205 } 206 if (!method_exists($this, $action)) { 207 throw new DispatchException("Action `{$action}` not found."); 208 } 209 $this->_render['template'] = $this->_render['template'] ?: $action; 210 211 if ($result = call_user_func_array(array($this, $action), $args)) { 212 if (is_string($result)) {
-
lithium\aop\Filters::run()
/app/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\Controller::__invoke()
/app/libraries/lithium/action/Controller.php: 225
220 221 if (!$this->_render['hasRendered'] && $this->_render['auto']) { 222 $this->render(); 223 } 224 return $this->response; 225 }); 226 } 227 228 /** 229 * This method is used to pass along any data from the controller to the view and layout 230 *
-
lithium\action\Dispatcher::lithium\action\{closure}() @ ?
/app/libraries/lithium/action/Dispatcher.php: 277
272 */ 273 protected static function _call($callable, $request, $params) { 274 $params = compact('callable', 'request', 'params'); 275 return Filters::run(get_called_class(), __FUNCTION__, $params, function($params) { 276 if (is_callable($callable = $params['callable'])) { 277 return $callable($params['request'], $params['params']); 278 } 279 throw new DispatchException('Result not callable.'); 280 }); 281 } 282}
-
lithium\aop\Filters::run()
/app/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::_call()
/app/libraries/lithium/action/Dispatcher.php: 280
275 return Filters::run(get_called_class(), __FUNCTION__, $params, function($params) { 276 if (is_callable($callable = $params['callable'])) { 277 return $callable($params['request'], $params['params']); 278 } 279 throw new DispatchException('Result not callable.'); 280 }); 281 } 282} 283 284
-
lithium\action\Dispatcher::run()::{closure} @ 154
/app/libraries/lithium/action/Dispatcher.php: 169
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 /** 174 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each
-
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