22. Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
…/­vendor/­symfony/­http-foundation/­File/­File.php37
21. Symfony\Component\HttpFoundation\File\File __construct
…/­vendor/­symfony/­http-foundation/­BinaryFileResponse.php92
20. Symfony\Component\HttpFoundation\BinaryFileResponse setFile
…/­vendor/­symfony/­http-foundation/­BinaryFileResponse.php51
19. Symfony\Component\HttpFoundation\BinaryFileResponse __construct
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Response.php102
18. Illuminate\Support\Facades\Response download
…/­app/­controllers/­HomeController.php1032
17. HomeController download
<#unknown>0
16. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controller.php231
15. Illuminate\Routing\Controller callAction
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php93
14. Illuminate\Routing\ControllerDispatcher call
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php62
13. Illuminate\Routing\ControllerDispatcher dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php967
12. Illuminate\Routing\Router Illuminate\Routing\{closure}
<#unknown>0
11. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php109
10. Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1033
9. Illuminate\Routing\Router dispatchToRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1001
8. Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php781
7. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php745
6. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
5. Illuminate\Session\Middleware handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
4. Illuminate\Cookie\Queue handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
3. Illuminate\Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
2. Stack\StackedHttpKernel handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641
1. Illuminate\Foundation\Application run
…/­public/­index.php49
0. require_once
…/­server.php19

Symfony \ Component \ HttpFoundation \ File \ Exception \ FileNotFoundException

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException thrown with message "The file "/home/alilmia/public_html/public//" does not exist" Stacktrace: #22 Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException in /home/alilmia/public_html/vendor/symfony/http-foundation/File/File.php:37 #21 Symfony\Component\HttpFoundation\File\File:__construct in /home/alilmia/public_html/vendor/symfony/http-foundation/BinaryFileResponse.php:92 #20 Symfony\Component\HttpFoundation\BinaryFileResponse:setFile in /home/alilmia/public_html/vendor/symfony/http-foundation/BinaryFileResponse.php:51 #19 Symfony\Component\HttpFoundation\BinaryFileResponse:__construct in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Response.php:102 #18 Illuminate\Support\Facades\Response:download in /home/alilmia/public_html/app/controllers/HomeController.php:1032 #17 HomeController:download in <#unknown>:0 #16 call_user_func_array in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:231 #15 Illuminate\Routing\Controller:callAction in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:93 #14 Illuminate\Routing\ControllerDispatcher:call in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:62 #13 Illuminate\Routing\ControllerDispatcher:dispatch in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:967 #12 Illuminate\Routing\Router:Illuminate\Routing\{closure} in <#unknown>:0 #11 call_user_func_array in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:109 #10 Illuminate\Routing\Route:run in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1033 #9 Illuminate\Routing\Router:dispatchToRoute in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001 #8 Illuminate\Routing\Router:dispatch in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:781 #7 Illuminate\Foundation\Application:dispatch in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745 #6 Illuminate\Foundation\Application:handle in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72 #5 Illuminate\Session\Middleware:handle in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47 #4 Illuminate\Cookie\Queue:handle in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51 #3 Illuminate\Cookie\Guard:handle in /home/alilmia/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #2 Stack\StackedHttpKernel:handle in /home/alilmia/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641 #1 Illuminate\Foundation\Application:run in /home/alilmia/public_html/public/index.php:49 #0 require_once in /home/alilmia/public_html/server.php:19

The file "/home/alilmia/public_html/public//" does not exist

     * @param bool   $checkPath Whether to check the path or not
     *
     * @throws FileNotFoundException If the given path is not a file
     */
    public function __construct($path, $checkPath = true)
    {
        if ($checkPath && !is_file($path)) {
            throw new FileNotFoundException($path);
        }
 
     */
    public function setFile($file, $contentDisposition = null, $autoEtag = false, $autoLastModified = true)
    {
        if (!$file instanceof File) {
            if ($file instanceof \SplFileInfo) {
                $file = new File($file->getPathname());
            } else {
                $file = new File((string) $file);
            }
        }
     * @param bool                $autoEtag           Whether the ETag header should be automatically set
     * @param bool                $autoLastModified   Whether the Last-Modified header should be automatically set
     */
    public function __construct($file, $status = 200, $headers = array(), $public = true, $contentDisposition = null, $autoEtag = false, $autoLastModified = true)
    {
        parent::__construct(null, $status, $headers);
 
        $this->setFile($file, $contentDisposition, $autoEtag, $autoLastModified);
 
        if ($public) {
	 * @param  string  $name
	 * @param  array   $headers
	 * @param  null|string  $disposition
	 * @return \Symfony\Component\HttpFoundation\BinaryFileResponse
	 */
	public static function download($file, $name = null, array $headers = array(), $disposition = 'attachment')
	{
		$response = new BinaryFileResponse($file, 200, $headers, true, $disposition);
 
		if ( ! is_null($name))
        Session::put('mobile', $value);
        return Redirect::Back();
    }

   public function download($file) {
        $link = Subjects::where('id',$file)->first();
        $file = public_path().'/' . $link['path'] .'/'. $link['file'];
        return Response::download($file);
    }

<#unknown>
	 * @param  array   $parameters
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function callAction($method, $parameters)
	{
		$this->setupLayout();
 
		$response = call_user_func_array(array($this, $method), $parameters);
 
		// If no response is returned from the controller action and a layout is being
	 * @param  string  $method
	 * @return mixed
	 */
	protected function call($instance, $route, $method)
	{
		$parameters = $route->parametersWithoutNulls();
 
		return $instance->callAction($method, $parameters);
	}
 
		$response = $this->before($instance, $route, $request, $method);
 
		// If no before filters returned a response we'll call the method on the controller
		// to get the response to be returned to the router. We will then return it back
		// out for processing by this router and the after filters can be called then.
		if (is_null($response))
		{
			$response = $this->call($instance, $route, $method);
		}
 
			$request = $this->getCurrentRequest();
 
			// Now we can split the controller and method out of the action string so that we
			// can call them appropriately on the class. This controller and method are in
			// in the Class@method format and we need to explode them out then use them.
			list($class, $method) = explode('@', $controller);
 
			return $d->dispatch($route, $request, $class, $method);
		};
	}
<#unknown>
	 *
	 * @return mixed
	 */
	public function run()
	{
		$parameters = array_filter($this->parameters(), function($p) { return isset($p); });

		return call_user_func_array($this->action['uses'], $parameters);
	}

		// Once we have successfully matched the incoming request to a given route we
		// can call the before filters on that route. This works similar to global
		// filters in that if a response is returned we will not call the route.
		$response = $this->callRouteBefore($route, $request);
 
		if (is_null($response))
		{
			$response = $route->run($request);
		}
 
		// If no response was returned from the before filter, we will call the proper
		// route instance to get the response. If no route is found a response will
		// still get returned based on why no routes were found for this request.
		$response = $this->callFilter('before', $request);
 
		if (is_null($response))
		{
			$response = $this->dispatchToRoute($request);
		}
 
		}
 
		if ($this->runningUnitTests() && ! $this['session']->isStarted())
		{
			$this['session']->start();
		}
 
		return $this['router']->dispatch($this->prepareRequest($request));
	}
 
	{
		try
		{
			$this->refreshRequest($request = Request::createFromBase($request));
 
			$this->boot();
 
			return $this->dispatch($request);
		}
		catch (\Exception $e)
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);
 
			$request->setSession($session);
		}
 
		$response = $this->app->handle($request, $type, $catch);
 
		// Again, if the session has been configured we will need to close out the session
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		foreach ($this->cookies->getQueuedCookies() as $cookie)
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
	}
 
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @return void
	 */
	public function run(SymfonyRequest $request = null)
	{
		$request = $request ?: $this['request'];
 
		$response = with($stack = $this->getStackedClient())->handle($request);
 
		$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
 
$app->run();
 
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' and file_exists($requested))
{
	return false;
}
 
require_once $paths['public'].'/index.php';
 
 
empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT /home/alilmia/public_html
CONTEXT_PREFIX
DOCUMENT_ROOT /home/alilmia/public_html
GATEWAY_INTERFACE CGI/1.1
HTTPS on
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION Keep-Alive
HTTP_HOST alilmia.net
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_HTTPS 1
PATH /bin:/usr/bin
PHP_INI_SCAN_DIR /opt/cpanel/ea-php56/root/etc:/opt/cpanel/ea-php56/root/etc/php.d:.
QUERY_STRING
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://alilmia.net/download/qfbXI.خطبة صلاة الخسوف
REDIRECT_SCRIPT_URL /download/qfbXI.خطبة صلاة الخسوف
REDIRECT_SSL_TLS_SNI alilmia.net
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID XbAD8JAFihxdpNvlQVIeMQAAAAw
REDIRECT_URL /download/qfbXI.خطبة صلاة الخسوف
REMOTE_ADDR 18.204.227.250
REMOTE_PORT 40718
REQUEST_METHOD GET
REQUEST_SCHEME https
REQUEST_URI /download/qfbXI.%D8%AE%D8%B7%D8%A8%D8%A9%20%D8%B5%D9%84%D8%A7%D8%A9%20%D8%A7%D9%84%D8%AE%D8%B3%D9%88%D9%81
SCRIPT_FILENAME /home/alilmia/public_html/server.php
SCRIPT_NAME /server.php
SCRIPT_URI https://alilmia.net/download/qfbXI.خطبة صلاة الخسوف
SCRIPT_URL /download/qfbXI.خطبة صلاة الخسوف
SERVER_ADDR 188.165.61.208
SERVER_ADMIN webmaster@alilmia.net
SERVER_NAME alilmia.net
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SSL_TLS_SNI alilmia.net
TZ UTC
UNIQUE_ID XbAD8JAFihxdpNvlQVIeMQAAAAw
PHP_SELF /server.php
REQUEST_TIME_FLOAT 1571816432.1922
REQUEST_TIME 1571816432
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler