ErrorException [ Warning ]: readfile(/var/www/html2/application/../files/2014/10/30/7ad31750aaf4bd7302192352de377766.json): failed to open stream: No such file or directory

APPPATH/classes/Controller/Www/Public.php [ 60 ]

55 			header("Content-type: text/plain");
56 			header('Content-Disposition: attachment; filename="'.$filename.'"');
57 				
58 			ob_clean();
59 			flush();
60 			readfile($file);
61 			exit;
62 	
63 		}
64 	
65 		$this->redirect('public');
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Www/Public.php [ 60 ] » readfile(arguments)

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Www_Public->action_download()

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

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

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

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

  8. DOCROOT/index.php [ 125 ] » Kohana_Request->execute()

Environment