marketing1.excellentpublicity.com Open in urlscan Pro
159.89.166.113  Public Scan

Submitted URL: https://u21998668.ct.sendgrid.net/ls/click?upn=u001.BlB6-2FsS3WKSZwFdcRlY4v02uW-2BYqND7ponrVC-2BR-2F-2BrpEg6oWb-2BmWKAr8WXiXBMU0u9...
Effective URL: https://marketing1.excellentpublicity.com/assets/campaigns/660bf3326b4fe/kunal@excellentpublicity.com
Submission: On April 09 via manual from IN — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

SYMFONY EXCEPTION

Symfony Docs
Symfony Support


ERROREXCEPTION


HTTP 500 INTERNAL SERVER ERROR


FINFO_FILE(/VAR/WWW/MARKETING/STORAGE/APP/USERS/60B0747D058E9/CAMPAIGNS/660BF3326B4FE/KUNAL@EXCELLENTPUBLICITY.COM):
FAILED TO OPEN STREAM: NO SUCH FILE OR DIRECTORY


 * Exception
 * Stack Trace


EXCEPTION


ERROREXCEPTION

in /var/www/marketing/app/Library/File.php (line 79)
 74.         $ext = strtolower(array_pop($arr));
 75.         if (array_key_exists($ext, $mime_types)) {
 76.             return $mime_types[$ext];
 77.         } elseif (function_exists('finfo_open')) {
 78.             $finfo = finfo_open(FILEINFO_MIME);
 79.             $mimetype = finfo_file($finfo, $filename);
 80.             finfo_close($finfo);
 81. 
 82.             return $mimetype;
 83.         } else {
 84.             return 'application/octet-stream';

HandleExceptions->handleError()
finfo_file() in /var/www/marketing/app/Library/File.php (line 79)
 74.         $ext = strtolower(array_pop($arr));
 75.         if (array_key_exists($ext, $mime_types)) {
 76.             return $mime_types[$ext];
 77.         } elseif (function_exists('finfo_open')) {
 78.             $finfo = finfo_open(FILEINFO_MIME);
 79.             $mimetype = finfo_file($finfo, $filename);
 80.             finfo_close($finfo);
 81. 
 82.             return $mimetype;
 83.         } else {
 84.             return 'application/octet-stream';

File::getFileType() in /var/www/marketing/routes/web.php (line 40)
 35. 
 36. // assets path for template
 37. Route::get('/assets/campaigns/{uid}/{name?}', [ function ($uid, $name) {
 38.     $campaign = \Acelle\Model\Campaign::findByUid($uid);
 39.     $path = $campaign->getStoragePath($name);
 40.     $mime_type = \Acelle\Library\File::getFileType($path);
 41.     if (\File::exists($path)) {
 42.         return response()->file($path, array('Content-Type' => $mime_type));
 43.     }
 44. }])->where('name', '.+')->name('campaign_assets');
 45. 

in /var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Route.php
-> {closure} (line 225)
 220.     protected function runCallable()
 221.     {
 222.         $callable = $this->action['uses'];
 223. 
 224.         return $callable(...array_values($this->resolveMethodDependencies(
 225.             $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
 226.         )));
 227.     }
 228. 
 229.     /**
 230.      * Run the route action and return the response.

in /var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Route.php
-> runCallable (line 199)
 194.         try {
 195.             if ($this->isControllerAction()) {
 196.                 return $this->runController();
 197.             }
 198. 
 199.             return $this->runCallable();
 200.         } catch (HttpResponseException $e) {
 201.             return $e->getResponse();
 202.         }
 203.     }
 204. 

in /var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> run (line 685)
 680.         return (new Pipeline($this->container))
 681.                         ->send($request)
 682.                         ->through($middleware)
 683.                         ->then(function ($request) use ($route) {
 684.                             return $this->prepareResponse(
 685.                                 $request, $route->run()
 686.                             );
 687.                         });
 688.     }
 689. 
 690.     /**

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> Illuminate\Routing\{closure} (line 128)
 123.      */
 124.     protected function prepareDestination(Closure $destination)
 125.     {
 126.         return function ($passable) use ($destination) {
 127.             try {
 128.                 return $destination($passable);
 129.             } catch (Throwable $e) {
 130.                 return $this->handleException($passable, $e);
 131.             }
 132.         };
 133.     }

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
-> Illuminate\Pipeline\{closure} (line 41)
 36.     {
 37.         $this->router->substituteBindings($route = $request->route());
 38. 
 39.         $this->router->substituteImplicitBindings($route);
 40. 
 41.         return $next($request);
 42.     }
 43. }
 44. 

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 167)
 162.                         // since the object we're given was already a fully instantiated object.
 163.                         $parameters = [$passable, $stack];
 164.                     }
 165. 
 166.                     $carry = method_exists($pipe, $this->method)
 167.                                     ? $pipe->{$this->method}(...$parameters)
 168.                                     : $pipe(...$parameters);
 169. 
 170.                     return $this->handleCarry($carry);
 171.                 } catch (Throwable $e) {
 172.                     return $this->handleException($passable, $e);

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
-> Illuminate\Pipeline\{closure} (line 78)
 73.             $this->isReading($request) ||
 74.             $this->runningUnitTests() ||
 75.             $this->inExceptArray($request) ||
 76.             $this->tokensMatch($request)
 77.         ) {
 78.             return tap($next($request), function ($response) use ($request) {
 79.                 if ($this->shouldAddXsrfTokenCookie()) {
 80.                     $this->addCookieToResponse($request, $response);
 81.                 }
 82.             });
 83.         }

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 167)
 162.                         // since the object we're given was already a fully instantiated object.
 163.                         $parameters = [$passable, $stack];
 164.                     }
 165. 
 166.                     $carry = method_exists($pipe, $this->method)
 167.                                     ? $pipe->{$this->method}(...$parameters)
 168.                                     : $pipe(...$parameters);
 169. 
 170.                     return $this->handleCarry($carry);
 171.                 } catch (Throwable $e) {
 172.                     return $this->handleException($passable, $e);

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
-> Illuminate\Pipeline\{closure} (line 49)
 44. 
 45.         // Putting the errors in the view for every view allows the developer to just
 46.         // assume that some errors are always available, which is convenient since
 47.         // they don't have to continually run checks for the presence of errors.
 48. 
 49.         return $next($request);
 50.     }
 51. }
 52. 

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 167)
 162.                         // since the object we're given was already a fully instantiated object.
 163.                         $parameters = [$passable, $stack];
 164.                     }
 165. 
 166.                     $carry = method_exists($pipe, $this->method)
 167.                                     ? $pipe->{$this->method}(...$parameters)
 168.                                     : $pipe(...$parameters);
 169. 
 170.                     return $this->handleCarry($carry);
 171.                 } catch (Throwable $e) {
 172.                     return $this->handleException($passable, $e);

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
-> Illuminate\Pipeline\{closure} (line 116)
 111.             $this->startSession($request, $session)
 112.         );
 113. 
 114.         $this->collectGarbage($session);
 115. 
 116.         $response = $next($request);
 117. 
 118.         $this->storeCurrentUrl($request, $session);
 119. 
 120.         $this->addCookieToResponse($response, $session);
 121. 

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
-> handleStatefulRequest (line 62)
 57. 
 58.         if ($this->manager->shouldBlock() ||
 59.             ($request->route() && $request->route()->locksFor())) {
 60.             return $this->handleRequestWhileBlocking($request, $session, $next);
 61.         } else {
 62.             return $this->handleStatefulRequest($request, $session, $next);
 63.         }
 64.     }
 65. 
 66.     /**
 67.      * Handle the given request within session state.

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 167)
 162.                         // since the object we're given was already a fully instantiated object.
 163.                         $parameters = [$passable, $stack];
 164.                     }
 165. 
 166.                     $carry = method_exists($pipe, $this->method)
 167.                                     ? $pipe->{$this->method}(...$parameters)
 168.                                     : $pipe(...$parameters);
 169. 
 170.                     return $this->handleCarry($carry);
 171.                 } catch (Throwable $e) {
 172.                     return $this->handleException($passable, $e);

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
-> Illuminate\Pipeline\{closure} (line 37)
 32.      * @param  \Closure  $next
 33.      * @return mixed
 34.      */
 35.     public function handle($request, Closure $next)
 36.     {
 37.         $response = $next($request);
 38. 
 39.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
 40.             $response->headers->setCookie($cookie);
 41.         }
 42. 

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 167)
 162.                         // since the object we're given was already a fully instantiated object.
 163.                         $parameters = [$passable, $stack];
 164.                     }
 165. 
 166.                     $carry = method_exists($pipe, $this->method)
 167.                                     ? $pipe->{$this->method}(...$parameters)
 168.                                     : $pipe(...$parameters);
 169. 
 170.                     return $this->handleCarry($carry);
 171.                 } catch (Throwable $e) {
 172.                     return $this->handleException($passable, $e);

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
-> Illuminate\Pipeline\{closure} (line 67)
 62.      * @param  \Closure  $next
 63.      * @return \Symfony\Component\HttpFoundation\Response
 64.      */
 65.     public function handle($request, Closure $next)
 66.     {
 67.         return $this->encrypt($next($this->decrypt($request)));
 68.     }
 69. 
 70.     /**
 71.      * Decrypt the cookies on the request.
 72.      *

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 167)
 162.                         // since the object we're given was already a fully instantiated object.
 163.                         $parameters = [$passable, $stack];
 164.                     }
 165. 
 166.                     $carry = method_exists($pipe, $this->method)
 167.                                     ? $pipe->{$this->method}(...$parameters)
 168.                                     : $pipe(...$parameters);
 169. 
 170.                     return $this->handleCarry($carry);
 171.                 } catch (Throwable $e) {
 172.                     return $this->handleException($passable, $e);

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> Illuminate\Pipeline\{closure} (line 103)
 98.      {
 99.          $pipeline = array_reduce(
 100.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
 101.         );
 102. 
 103.         return $pipeline($this->passable);
 104.     }
 105. 
 106.     /**
 107.      * Run the pipeline and return the result.
 108.      *

in /var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> then (line 687)
 682.                         ->through($middleware)
 683.                         ->then(function ($request) use ($route) {
 684.                             return $this->prepareResponse(
 685.                                 $request, $route->run()
 686.                             );
 687.                         });
 688.     }
 689. 
 690.     /**
 691.      * Gather the middleware for the given route with resolved class names.
 692.      *

in /var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> runRouteWithinStack (line 662)
 657.         });
 658. 
 659.         $this->events->dispatch(new RouteMatched($route, $request));
 660. 
 661.         return $this->prepareResponse($request,
 662.             $this->runRouteWithinStack($route, $request)
 663.         );
 664.     }
 665. 
 666.     /**
 667.      * Run the given route within a Stack "onion" instance.

in /var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> runRoute (line 628)
 623.      * @param  \Illuminate\Http\Request  $request
 624.      * @return \Symfony\Component\HttpFoundation\Response
 625.      */
 626.     public function dispatchToRoute(Request $request)
 627.     {
 628.         return $this->runRoute($request, $this->findRoute($request));
 629.     }
 630. 
 631.     /**
 632.      * Find the route matching a given request.
 633.      *

in /var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> dispatchToRoute (line 617)
 612.      */
 613.     public function dispatch(Request $request)
 614.     {
 615.         $this->currentRequest = $request;
 616. 
 617.         return $this->dispatchToRoute($request);
 618.     }
 619. 
 620.     /**
 621.      * Dispatch the request to a route and return the response.
 622.      *

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
-> dispatch (line 165)
 160.     protected function dispatchToRouter()
 161.     {
 162.         return function ($request) {
 163.             $this->app->instance('request', $request);
 164. 
 165.             return $this->router->dispatch($request);
 166.         };
 167.     }
 168. 
 169.     /**
 170.      * Call the terminate method on any terminable middleware.

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> Illuminate\Foundation\Http\{closure} (line 128)
 123.      */
 124.     protected function prepareDestination(Closure $destination)
 125.     {
 126.         return function ($passable) use ($destination) {
 127.             try {
 128.                 return $destination($passable);
 129.             } catch (Throwable $e) {
 130.                 return $this->handleException($passable, $e);
 131.             }
 132.         };
 133.     }

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
-> Illuminate\Pipeline\{closure} (line 63)
 58.             }
 59. 
 60.             throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
 61.         }
 62. 
 63.         return $next($request);
 64.     }
 65. 
 66.     /**
 67.      * Determine if the request has a URI that should be accessible in maintenance mode.
 68.      *

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 167)
 162.                         // since the object we're given was already a fully instantiated object.
 163.                         $parameters = [$passable, $stack];
 164.                     }
 165. 
 166.                     $carry = method_exists($pipe, $this->method)
 167.                                     ? $pipe->{$this->method}(...$parameters)
 168.                                     : $pipe(...$parameters);
 169. 
 170.                     return $this->handleCarry($carry);
 171.                 } catch (Throwable $e) {
 172.                     return $this->handleException($passable, $e);

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> Illuminate\Pipeline\{closure} (line 103)
 98.      {
 99.          $pipeline = array_reduce(
 100.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
 101.         );
 102. 
 103.         return $pipeline($this->passable);
 104.     }
 105. 
 106.     /**
 107.      * Run the pipeline and return the result.
 108.      *

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
-> then (line 140)
 135.         $this->bootstrap();
 136. 
 137.         return (new Pipeline($this->app))
 138.                     ->send($request)
 139.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
 140.                     ->then($this->dispatchToRouter());
 141.     }
 142. 
 143.     /**
 144.      * Bootstrap the application for HTTP requests.
 145.      *

in
/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
-> sendRequestThroughRouter (line 109)
 104.     public function handle($request)
 105.     {
 106.         try {
 107.             $request->enableHttpMethodParameterOverride();
 108. 
 109.             $response = $this->sendRequestThroughRouter($request);
 110.         } catch (Throwable $e) {
 111.             $this->reportException($e);
 112. 
 113.             $response = $this->renderException($request, $e);
 114.         }

Kernel->handle() in /var/www/marketing/public/main.php (line 53)
 48. */
 49. 
 50. $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 51. 
 52. $response = $kernel->handle(
 53.     $request = Illuminate\Http\Request::capture()
 54. );
 55. 
 56. $response->send();
 57. 
 58. $kernel->terminate($request, $response);

require('/var/www/marketing/public/main.php') in
/var/www/marketing/public/index.php (line 61)
 56. if (!(file_exists('../bootstrap/cache') && is_dir('../bootstrap/cache') && (is_writable('../bootstrap/cache')))) {
 57.     echo "ERROR: The directory [/bootstrap/cache] must be writable by the web server.<br />";
 58.     exit(0);
 59. }
 60. 
 61. require 'main.php';
 62. 


STACK TRACE


ERROREXCEPTION

ErrorException:
finfo_file(/var/www/marketing/storage/app/users/60b0747d058e9/campaigns/660bf3326b4fe/kunal@excellentpublicity.com): failed to open stream: No such file or directory

  at /var/www/marketing/app/Library/File.php:79
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
  at finfo_file()
     (/var/www/marketing/app/Library/File.php:79)
  at Acelle\Library\File::getFileType()
     (/var/www/marketing/routes/web.php:40)
  at Acelle\Providers\RouteServiceProvider->{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Route.php:225)
  at Illuminate\Routing\Route->runCallable()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Route.php:199)
  at Illuminate\Routing\Route->run()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php:685)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662)
  at Illuminate\Routing\Router->runRoute()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617)
  at Illuminate\Routing\Router->dispatch()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63)
  at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/var/www/marketing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/var/www/marketing/public/main.php:53)
  at require('/var/www/marketing/public/main.php')
     (/var/www/marketing/public/index.php:61)