This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Installation Error: ContextErrorException: Notice:

Discuss installing Symfony 2 here

Installation Error: ContextErrorException: Notice:

by borg434 » Wed Feb 05, 2014 5:33 pm

Hi All,

Just installed Symfony 2 on a clean server. All Going well until the last hurdle.

config.php reports everything is fine and ready to go.

As soon as I go to app_dev.php I get the following:

ContextErrorException: Notice: include(): 1. h->opened_path=[null] h->filename=[/var/www/Symfony/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php]
in /var/www/Symfony/vendor/composer/ClassLoader.php line 269

in /var/www/Symfony/vendor/composer/ClassLoader.php line 269
at ErrorHandler->handle('8', 'include(): 1. h->opened_path=[null] h->filename=[/var/www/Symfony/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php] ', '/var/www/Symfony/vendor/composer/ClassLoader.php', '269', array('class' => 'Symfony\Component\Debug\DebugClassLoader', 'file' => '/var/www/Symfony/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php')) in /var/www/Symfony/vendor/composer/ClassLoader.php line 269
at ClassLoader::loadClass() in /var/www/Symfony/vendor/composer/ClassLoader.php line 269
at ClassLoader->loadClass('Symfony\Component\Debug\DebugClassLoader')
at spl_autoload_call('Symfony\Component\Debug\DebugClassLoader') in /var/www/Symfony/vendor/symfony/symfony/src/Symfony/Component/Debug/Debug.php line 52
at Debug::enable() in /var/www/Symfony/web/app_dev.php line 21



Any idea what this could mean? Everything is fine as far as I can tell. Have reinstalled twice and still exactly the same.

Regards
borg434
Junior Member
 
Posts: 5
Joined: Wed May 07, 2008 12:17 pm

Re: Installation Error: ContextErrorException: Notice:

by oldtum » Fri May 02, 2014 12:11 pm

This problem is related to APC extension. The error disappeared after change apc.cache_by_default = 0 in PHP.INI
oldtum
Junior Member
 
Posts: 1
Joined: Fri May 02, 2014 11:55 am