NoCommandFound Exception
With message:
No Command Found!
Thrown at: /var/www/okapi.liip.ch/inc/api/controller.php (145)
| Class/Method | File | Line | | api_controller::loadCommand | inc/api/controller.php | 113 |
| 140 | public function loadCommand() {
| | 141 | $routing = new api_routing();
| | 142 | $route = $routing->getRoute($this->request);
| | 143 | if (is_null($route) || !is_array($route)) {
| | 144 | throw new api_exception_NoCommandFound();
| | 145 | }
| | 146 | if (isset($route['namespace'])) {
| | 147 | $route['namespace'] = api_helpers_string::clean($route['namespace']);
| | 148 | } else {
| | 149 | $route['namespace'] = API_NAMESPACE;
| | 150 | }
| | 151 |
|
|
| api_controller::process | index.php | 7 |
| 110 | public function process() {
| | 111 | try {
| | 112 | $this->loadCommand();
| | 113 | $this->processCommand();
| | 114 | $this->prepareAndDispatch();
| | 115 | } catch(Exception $e) {
| | 116 | $this->catchFinalException($e);
| | 117 | }
| | 118 |
| | 119 | return true;
|
|