Exception
lithium\action\DispatchException
(code 404)
Controller `app.Help` not found.
Source
Stack Trace
-
[exception]
/home/tsit/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()
/home/tsit/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()
/home/tsit/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
/home/tsit/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()
/home/tsit/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 /**
-
/home/tsit/app/config/bootstrap/g11n.php::{closure} @ 41
/home/tsit/app/config/bootstrap/g11n.php: 54
49 }
50 Environment::set(true, compact('locale'));
51
52 date_default_timezone_set($locales[$locale]['timezone']);
53
54 return $next($params);
55 });
56
57 Catalog::config(array(
58 'runtime' => array(
59 'adapter' => 'Memory'
-
lithium\aop\Chain::__invoke()
/home/tsit/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 }
-
/home/tsit/app/config/bootstrap/action.php::{closure} @ 28
/home/tsit/app/config/bootstrap/action.php: 31
26 Environment::set(true, ['panel' => $config['panel']]);
27 }
28 file_exists($file) ? call_user_func(function () use ($file) {include $file;}) : null;
29 }
30
31 return $next($params);
32 });
33
34 Filters::apply(Dispatcher::class, '_call', function($params, $next){
35 if($params['request']->params['library'] =='admin') {
36 return $next($params);
-
lithium\aop\Chain::__invoke()
/home/tsit/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
/home/tsit/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::__invoke()
/home/tsit/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 }
-
/home/tsit/app/config/bootstrap/cache.php::{closure} @ 30
/home/tsit/app/config/bootstrap/cache.php: 38
33
34 if ($cache = Cache::read('default', $key)) {
35 $cache = (array) $cache + Libraries::cache();
36 Libraries::cache($cache);
37 }
38 $result = $next($params);
39
40 if ($cache !== Libraries::cache()) {
41 Cache::write('default', $key, Libraries::cache(), '+1 day');
42 }
43
-
lithium\aop\Chain::__invoke()
/home/tsit/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
/home/tsit/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()
/home/tsit/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()
/home/tsit/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()
/home/tsit/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]
/home/tsit/app/webroot/index.php: 10
5 * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
6 * @license http://opensource.org/licenses/bsd-license.php The BSD License
7 */
8 ini_set('memory_limit', '-1');
9 require dirname(__DIR__) . '/config/bootstrap.php';
10 echo lithium\action\Dispatcher::run(new app\extensions\action\Request());
11
12