Exception
lithium\action\DispatchException
(code 404)
Controller `TafProduction` not found.
Source
Stack Trace
-
[exception]
/var/www/vhosts/app.crownmakers.com/httpdocs/libraries/lithium/action/Dispatcher.php: 199
194 $controller = $params['params']['controller']; 195 196 try { 197 return Libraries::instance('controllers', $controller, $options); 198 } catch (ClassNotFoundException $e) { 199 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 200 } 201 }); 202 } 203 204 /**
-
lithium\util\collection\Filters::next()
/var/www/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/media.php::{closure} @ 48
/var/www/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/media.php: 59
54 'headers' => array('Content-type' => reset($content)), 55 'body' => file_get_contents($file) 56 )); 57 }; 58 } 59 return $chain->next($self, $params, $chain); 60 }); 61 62 // Media::type('mobile', array('text/html', 'application/xhtml+xml'), array( 63 // 'view' => 'lithium\template\View', 64 // 'paths' => array(
-
lithium\util\collection\Filters::next()
/var/www/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/g11n.php::{closure} @ 131
/var/www/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/g11n.php: 140
135 $local = Locale::preferred($params['request'], $locales); 136 $local = empty($local) ? 'en':$local; 137 $params['request']->locale($local); 138 } 139 Environment::set(true, array('locale' => $params['request']->locale())); 140 return $chain->next($self, $params, $chain); 141}; 142 143// $setLocale = function($self, $params, $chain) { 144// 145// $redirect = false;
-
lithium\util\collection\Filters::next()
/var/www/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/action.php::{closure} @ 55
/var/www/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/action.php: 72
67 // $request->shop = $shop->slug; 68 // } 69 70 if(isset($request->shop)) Shops::setShop($request->shop); 71 72 return $chain->next($self, $params, $chain); 73 }); 74 // 75 // ConsoleDispatcher::applyFilter('run', function($self, $params, $chain) { 76 // 77 // $chain->next($self, $params, $chain);
-
lithium\util\collection\Filters::next()
/var/www/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/app/libraries/li3_admin/config/bootstrap/media.php::{closure} @ 46
/var/www/vhosts/app.crownmakers.com/httpdocs/app/libraries/li3_admin/config/bootstrap/media.php: 57
52 'headers' => array('Content-type' => reset($content)), 53 'body' => file_get_contents($file) 54 )); 55 }; 56 } 57 return $chain->next($self, $params, $chain); 58 }); 59 60 Media::type('ajax', array('application/xhtml+xml', 'text/html'), array( 61 'view' => 'lithium\template\View', 62 'paths' => array(
-
lithium\util\collection\Filters::run()
/var/www/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/libraries/lithium/action/Dispatcher.php: 201
196 try { 197 return Libraries::instance('controllers', $controller, $options); 198 } catch (ClassNotFoundException $e) { 199 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 200 } 201 }); 202 } 203 204 /** 205 * Invokes the callable object returned by `_callable()`, and returns the results, usually a 206 * `Response` object instance.
-
lithium\core\StaticObject::invokeMethod()
/var/www/vhosts/app.crownmakers.com/httpdocs/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} @ 109
/var/www/vhosts/app.crownmakers.com/httpdocs/libraries/lithium/action/Dispatcher.php: 121
116 $params = $self::applyRules($result->params); 117 118 if (!$params) { 119 throw new DispatchException('Could not route request.'); 120 } 121 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 122 return $self::invokeMethod('_call', array($callable, $result, $params)); 123 }); 124 } 125 126 /**
-
lithium\util\collection\Filters::next()
/var/www/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/action.php::{closure} @ 109
/var/www/vhosts/app.crownmakers.com/httpdocs/app/config/bootstrap/action.php: 151
146 continue; 147 } 148 $file = "{$config['path']}/config/routes.php"; 149 file_exists($file) ? include $file : null; 150 } 151 return $chain->next($self, $params, $chain); 152}); 153 154 155
-
lithium\util\collection\Filters::next()
/var/www/vhosts/app.crownmakers.com/httpdocs/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} @ 287
/var/www/vhosts/app.crownmakers.com/httpdocs/libraries/lithium/core/ErrorHandler.php: 289
284 $wrap = static::$_exceptionHandler; 285 $_self = get_called_class(); 286 287 $filter = function($self, $params, $chain) use ($_self, $conditions, $handler, $wrap) { 288 try { 289 return $chain->next($self, $params, $chain); 290 } catch (Exception $e) { 291 if (!$_self::matches($e, $conditions)) { 292 throw $e; 293 } 294 return $handler($wrap($e, true), $params);
-
lithium\util\collection\Filters::run()
/var/www/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/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/vhosts/app.crownmakers.com/httpdocs/libraries/lithium/action/Dispatcher.php: 123
118 if (!$params) { 119 throw new DispatchException('Could not route request.'); 120 } 121 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 122 return $self::invokeMethod('_call', array($callable, $result, $params)); 123 }); 124 } 125 126 /** 127 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each 128 * formatting rule is applied if the key of the rule in `$_rules` is present and not empty in
-
[main]
/var/www/vhosts/app.crownmakers.com/httpdocs/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