Fuel\Core\FuelException [ Error ]:
The requested view could not be found: compass/needs.okadamari
435 \Finder::instance()->flash($this->request_paths); 436 437 // locate the view file 438 if (($path = \Finder::search('views', $file, '.'.$this->extension, false, false)) === false) 439 { 440 throw new \FuelException('The requested view could not be found: '.\Fuel::clean_path($file).'.'.$this->extension); 441 } 442 443 // Store the file path locally 444 $this->file_name = $path; 445
121 122 $this->filter_closures = \Config::get('filter_closures', true); 123 124 if ($file !== null) 125 { 126 $this->set_filename($file); 127 } 128 129 if ($data !== null) 130 { 131 // Add the values to the current data
91 * @param bool $auto_filter 92 * @return View 93 */ 94 public static function forge($file = null, $data = null, $auto_filter = null) 95 { 96 return new static($file, $data, $auto_filter); 97 } 98 99 /** 100 * Sets the initial view filename and local data. 101 *
224 */ 225if ( ! function_exists('render')) 226{ 227 function render($view, $data = null, $auto_filter = null) 228 { 229 return \View::forge($view, $data, $auto_filter)->render(); 230 } 231} 232 233/** 234 * A wrapper function for Lang::get()
0 1<?php echo render($mainview); ?> 2 3
239 ob_start(); 240 241 try 242 { 243 // Load the view within the current scope 244 include $__file_name; 245 } 246 catch (\Exception $e) 247 { 248 // Delete the output buffer 249 ob_end_clean();
255 // Get the captured output and close the buffer 256 return ob_get_clean(); 257 }; 258 259 // import and process the view file 260 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 261 262 // disable sanitization on objects that support it 263 $this->unsanitize($data); 264 265 // return the result
626 { 627 throw new \FuelException('You must set the file to use within your view before rendering'); 628 } 629 630 // combine local and global data and capture the output 631 $return = $this->process_file(); 632 633 // restore the current language setting 634 $this->active_language and \Config::set('language', $current_language); 635 636 // and the active request class
208 */ 209 public function __toString() 210 { 211 try 212 { 213 return $this->render(); 214 } 215 catch (\Exception $e) 216 { 217 \Errorhandler::exception_handler($e); 218
60</div> 61</div> 62<!-- //header --> 63 64<!-- main --> 65<?php echo $wrap; ?> 66<!-- //main --> 67 68 69<!-- //container --> 70
239 ob_start(); 240 241 try 242 { 243 // Load the view within the current scope 244 include $__file_name; 245 } 246 catch (\Exception $e) 247 { 248 // Delete the output buffer 249 ob_end_clean();
255 // Get the captured output and close the buffer 256 return ob_get_clean(); 257 }; 258 259 // import and process the view file 260 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 261 262 // disable sanitization on objects that support it 263 $this->unsanitize($data); 264 265 // return the result
626 { 627 throw new \FuelException('You must set the file to use within your view before rendering'); 628 } 629 630 // combine local and global data and capture the output 631 $return = $this->process_file(); 632 633 // restore the current language setting 634 $this->active_language and \Config::set('language', $current_language); 635 636 // and the active request class
208 */ 209 public function __toString() 210 { 211 try 212 { 213 return $this->render(); 214 } 215 catch (\Exception $e) 216 { 217 \Errorhandler::exception_handler($e); 218
377 * 378 * @return string 379 */ 380 public function __toString() 381 { 382 return (string) $this->body; 383 } 384}
108 $response = $routerequest('_500_', $e); 109} 110 111// This will add the execution time and memory usage to the output. 112// Comment this out if you don't use it. 113$response->body((string) $response); 114if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false) 115{ 116 $bm = Profiler::app_total(); 117 $response->body( 118 str_replace(