ErrorException [ Warning ]: file_get_contents(/application/../assets/download/289.pdf): failed to open stream: No such file or directory

APPPATH/classes/Controller/Web/Downloads.php [ 39 ]

34 			header("Expires: 0");
35 			header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
36 			header("Cache-Control: private", false);
37 
38 			$url = APPPATH.'../assets/download/' . $download->id . '.' . $download->ext;
39 			echo file_get_contents($url);
40 		}
41 		die;
42 	}
43 
44 }
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Web/Downloads.php [ 39 ] » file_get_contents(arguments)

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Web_Downloads->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 [ 986 ] » Kohana_Request_Client->execute(arguments)

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

Environment