fabpot/Silex — Issue #203: GetResponseForException
Author: aerialls
Created: 2011-10-29 14:16:26+00:00
State: open

Hi!
I have a weird problem with Silex when my application throws an exception.

```php
Warning: require(phar:///path/to/website/vendor/Silex/silex.phar/vendor/Symfony/Component/HttpKernel/Event/GetResponseForExceptionEvent.php): failed to open stream: phar error: Cannot open phar archive "/path/to/website/vendor/Silex/silex.phar" for reading in phar:///path/to/website/vendor/Silex/silex.phar/vendor/Symfony/Component/ClassLoader/UniversalClassLoader.php on line 69 Fatal error: require(): Failed opening required
'phar:///path/to/website//vendor/Silex/silex.phar/vendor/Symfony/Component/HttpKernel/Event/GetResponseForExceptionEvent.php' (include_path='.:/usr/share/php:/usr/share/pear') in phar:///path/to/website/vendor/Silex/silex.phar/vendor/Symfony/Component/ClassLoader/UniversalClassLoader.php on line 69
```

Otherwise, the silex.phar is read correctly. So PHP can access (and read) silex.phar so I don't understand the error. I use the latest silex.phar available on silex-project.