Error!

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

COREPATH/classes/view.php @ line 326

321        \Fuel::$volatile_paths $this->request_paths;
322
323        // locate the view file
324        if (($path = \Fuel::find_file('views'$file'.'.$this->extensionfalsefalse)) === false)
325        {
326            throw new \Fuel_Exception('The requested view could not be found: '.\Fuel::clean_path($file));
327        }
328
329        // Store the file path locally
330        $this->_file $path;
331

Backtrace

  1. COREPATH/classes/view.php @ line 93
    88    {
    89        $encode === null and $encode = static::$auto_encode;
    90
    91        if ($file !== null)
    92        {
    93            $this->set_filename($file);
    94        }
    95
    96        if ($data !== null)
    97        {
    98            if ($encode)
    
  2. COREPATH/classes/view.php @ line 74
    69     * @param   array   array of values
    70     * @return  View
    71     */
    72    public static function factory($file null, array $data null$auto_encode null)
    73    {
    74        return new static($file$data$auto_encode);
    75    }
    76
    77    /**
    78     Sets the initial view filename and local data.
    79     *
    
  3. APPPATH/classes/controller/content.php @ line 7
     2class Controller_Content extends Controller {
     3    public function action_index($session_id$content_id)
     4    {
     5        $content = new Content($session_id$content_id);
     6        $layout $content->getLayout();
     7        $view View::factory('layouts/'.$layout);
     8        $content->viewData($view);
     9        
    10        $block = new Block($session_id$content_id);
    11        $block->viewData($view);
    12        //print_r($layout);
    
  4. COREPATH/classes/request.php @ line 429
    424                logger(Fuel::L_INFO'Calling '.$class.'::before'__METHOD__);
    425                $controller->before();
    426            }
    427
    428            logger(Fuel::L_INFO'Calling '.$class.'::'.$method__METHOD__);
    429            call_user_func_array(array($controller$method), $this->method_params);
    430
    431            // Call the after method if it exists
    432            if (method_exists($controller'after'))
    433            {
    434                logger(Fuel::L_INFO'Calling '.$class.'::after'__METHOD__);
    
  5. DOCROOT/index.php @ line 42
    37
    38// Boot the app
    39require_once APPPATH.'bootstrap.php';
    40
    41// Generate the request, execute it and send the output.
    42$response Request::factory()->execute()->response();
    43
    44// This will add the execution time and memory usage to the output.
    45// Comment this out if you don't use it.
    46$bm Profiler::app_total();
    47$response->body(str_replace(array('{exec_time}''{mem_usage}'), array(round($bm[0], 4), round($bm[1] / pow(10242), 3)), $response->body()));