View_Exception [ 0 ]: You must set the file to use within your view before rendering

SYSPATH/classes/Kohana/View.php [ 344 ]

339 			$this->set_filename($file);
340 		}
341 
342 		if (empty($this->_file))
343 		{
344 			throw new View_Exception('You must set the file to use within your view before rendering');
345 		}
346 
347 		// Combine local and global data and capture the output
348 		return View::capture($this->_file, $this->_data);
349 	}
  1. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  2. APPPATH/views/ads.php [ 19 ] » Kohana_View->__toString()

  3. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  6. APPPATH/classes/Controller/Base.php [ 179 ] » Kohana_Controller_Template->after()

  7. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Base->after()

  8. {PHP internal call} » Kohana_Controller->execute()

  9. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  10. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  11. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  12. DOCROOT/index.php [ 120 ] » Kohana_Request->execute()

Environment