Error!

Fuel\Core\Fuel_Exception [ Error ]: The requested view could not be found: error/404

COREPATH/classes/view.php @ line 313

308
<?php      */
309
<?php     public function set_filename($file)
310
<?php     {
311
<?php         if (($path = \Fuel::find_file('views', $file, '.'.$this->extension, false, false)) === false)
312
<?php         {
313
<?php             throw new \Fuel_Exception('The requested view could not be found: '.\Fuel::clean_path($file));
314
<?php         }
315
<?php 
316
<?php         // Store the file path locally
317
<?php         $this->_file = $path;
318
<?php 

Backtrace

  1. COREPATH/classes/view.php @ line 90
    85
    <?php     {
    86
    <?php         $encode === null and $encode = static::$auto_encode;
    87
    <?php 
    88
    <?php         if ($file !== null)
    89
    <?php         {
    90
    <?php             $this->set_filename($file);
    91
    <?php         }
    92
    <?php 
    93
    <?php         if ($data !== null)
    94
    <?php         {
    95
    <?php             if ($encode)
  2. COREPATH/classes/view.php @ line 71
    66
    <?php      * @param   array   array of values
    67
    <?php      * @return  View
    68
    <?php      */
    69
    <?php     public static function factory($file = null, array $data = null, $auto_encode = null)
    70
    <?php     {
    71
    <?php         return new static($file, $data, $auto_encode);
    72
    <?php     }
    73
    <?php 
    74
    <?php     /**
    75
    <?php      * Sets the initial view filename and local data.
    76
    <?php      *
  3. APPPATH/classes/controller/error.php @ line 34
    29
    <?php                 $this->template->content = View::factory('pages/'.$uri_arr[0]);
    30
    <?php         }
    31
    <?php         catch (Exception $e) {
    32
    <?php             // Set a HTTP 404 output header
    33
    <?php             $this->response->status = 404;
    34
    <?php             $this->template->content = View::factory('error/404');
    35
    <?php         }
    36
    <?php     }
    37
    <?php }
  4. COREPATH/classes/request.php @ line 381
    376
    <?php                 logger(Fuel::L_INFO, 'Calling '.$class.'::before', __METHOD__);
    377
    <?php                 $controller->before();
    378
    <?php             }
    379
    <?php 
    380
    <?php             logger(Fuel::L_INFO, 'Calling '.$class.'::'.$method, __METHOD__);
    381
    <?php             call_user_func_array(array($controller, $method), $this->method_params);
    382
    <?php 
    383
    <?php             // Call the after method if it exists
    384
    <?php             if (method_exists($controller, 'after'))
    385
    <?php             {
    386
    <?php                 logger(Fuel::L_INFO, 'Calling '.$class.'::after', __METHOD__);
  5. COREPATH/classes/request.php @ line 166
    161
    <?php             $response->send(true);
    162
    <?php             exit;
    163
    <?php         }
    164
    <?php         else
    165
    <?php         {
    166
    <?php             $request = \Request::factory(\Config::get('routes._404_'), $route_request)->execute();
    167
    <?php 
    168
    <?php             if ($return)
    169
    <?php             {
    170
    <?php                 return $request->response;
    171
    <?php             }
  6. COREPATH/classes/request.php @ line 339
    334
    <?php     {
    335
    <?php         logger(Fuel::L_INFO, 'Called', __METHOD__);
    336
    <?php 
    337
    <?php         if ( ! $this->route)
    338
    <?php         {
    339
    <?php             $this->response = static::show_404(true);
    340
    <?php             static::reset_request();
    341
    <?php             return $this;
    342
    <?php         }
    343
    <?php 
    344
    <?php         $controller_prefix = '\\'.($this->module ? ucfirst($this->module).'\\' : '').'Controller_';
  7. DOCROOT/index.php @ line 42
    37
    <?php 
    38
    <?php // Boot the app
    39
    <?php require_once APPPATH.'bootstrap.php';
    40
    <?php 
    41
    <?php // Generate the request, execute it and send the output.
    42
    <?php $response = Request::factory()->execute()->response();
    43
    <?php 
    44
    <?php // This will add the execution time and memory usage to the output.
    45
    <?php // Comment this out if you don't use it.
    46
    <?php $bm = Profiler::app_total();
    47
    <?php $response->body(str_replace(array('{exec_time}', '{mem_usage}'), array(round($bm[0], 4), round($bm[1] / pow(1024, 2), 3)), $response->body()));