Exception detected!

Warning: file_get_contents(/home/footballfightmus/domains/footballfightmusic.com/tvtunes/app/../web/uploads/audio/Memphis - I'm So Glad.mp3): failed to open stream: No such file or directory

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in src/DDD/AppBundle/Controller/DefaultController.php at line 405  -
    1.         $em->persist($song);
    2.         $em->flush();
    3.         $path $this->container->getParameter('assetic.write_to') . "/uploads/audio/" $song->getFileName();
    4.         $content file_get_contents($path);
    5.         $response = new Response($content200, array(
    6.             'Content-Type' => 'audio/mpeg3',
    7.             'Content-Disposition' => 'attachment; filename="' $song->getFileName() . '"',
  2. at ErrorHandler ->handleError ('2', 'file_get_contents(/home/footballfightmus/domains/footballfightmusic.com/tvtunes/app/../web/uploads/audio/Memphis - I'm So Glad.mp3): failed to open stream: No such file or directory', '/home/footballfightmus/domains/footballfightmusic.com/tvtunes/src/DDD/AppBundle/Controller/DefaultController.php', '405', array('id' => '13413', 'em' => object(EntityManager), 'song' => object(Audio), 'path' => '/home/footballfightmus/domains/footballfightmusic.com/tvtunes/app/../web/uploads/audio/Memphis - I'm So Glad.mp3'))
  3. at file_get_contents ('/home/footballfightmus/domains/footballfightmusic.com/tvtunes/app/../web/uploads/audio/Memphis - I'm So Glad.mp3')
    in src/DDD/AppBundle/Controller/DefaultController.php at line 405  +
  4. at DefaultController ->downloadSongAction ('13413')
  5. at call_user_func_array (array(object(DefaultController), 'downloadSongAction'), array('13413'))
    in app/bootstrap.php.cache at line 3038  +
  6. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3000  +
  7. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3149  +
  8. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2390  +
  9. at Kernel ->handle (object(Request))
    in web/app.php at line 23  +

Logs  -

Stack Trace (Plain Text)  +