Hey All,

I decided to set up a personal project at home for symfony2, and I
decided to use nginx instead of Apache2.

Everything works perfectly until I try and enable APC on Ubuntu, I
receive the following errors:
Notice: require(): 1. h->opened_path=[null]  h->filename=[/home/josh/
www/MYAPP/app/../vendor/symfony/src/Symfony/Component/ClassLoader/
DebugUniversalClassLoader.php]
 in /home/josh/www/MYAPP/app/bootstrap.php.cache on line 2041

Notice: require(): 2. h->opened_path=[/home/josh/www/MYAPP/vendor/
symfony/src/Symfony/Component/ClassLoader/
DebugUniversalClassLoader.php]  h->filename=[/home/josh/www/MYAPP/
app/../vendor/symfony/src/Symfony/Component/ClassLoader/
DebugUniversalClassLoader.php]
 in /home/josh/www/MYAPP/app/bootstrap.php.cache on line 2041

Notice: require(): apc_cache_make_file_entry: entry-
>data.file.filename is [/home/josh/www/MYAPP/vendor/symfony/src/
Symfony/Component/ClassLoader/DebugUniversalClassLoader.php]
 in /home/josh/www/MYAPP/app/bootstrap.php.cache on line 2041

Notice: require(): Inserting [/home/josh/www/MYAPP/vendor/symfony/src/
Symfony/Component/ClassLoader/DebugUniversalClassLoader.php]
 in /home/josh/www/MYAPP/app/bootstrap.php.cache on line 2041

Fatal error: Uncaught exception 'ErrorException' with message 'Notice:
require(): 1. h->opened_path=[null]  h->filename=[/home/josh/www/MYAPP/
app/../vendor/symfony/src/Symfony/Bundle/FrameworkBundle/
FrameworkBundle.php]
 in /home/josh/www/MYAPP/vendor/symfony/src/Symfony/Component/
ClassLoader/DebugUniversalClassLoader.php line 55' in /home/josh/www/
MYAPP/app/bootstrap.php.cache:382
Stack trace:
#0 /home/josh/www/MYAPP/vendor/symfony/src/Symfony/Component/
ClassLoader/DebugUniversalClassLoader.php(55): Symfony\Component
\HttpKernel\Debug\ErrorHandler->handle(8, 'require(): 1. h...', '/home/
josh/www/...', 55, Array)
#1 /home/josh/www/MYAPP/vendor/symfony/src/Symfony/Component/
ClassLoader/DebugUniversalClassLoader.php(55): Symfony\Component
\ClassLoader\DebugUniversalClassLoader::loadClass()
#2 [internal function]: Symfony\Component\ClassLoader
\DebugUniversalClassLoader->loadClass('Symfony\Bundle\...')
#3 /home/josh/www/MYAPP/app/AppKernel.php(13):
spl_autoload_call('Symfony\Bundle\...')
#4 /home/josh/www/MYAP in /home/josh/www/MYAPP/app/bootstrap.php.cache
on line 382





When I refresh, I get the following (so APC is caching, or something):

Notice: require(): 1. h->opened_path=[null]  h->filename=[/home/josh/
www/MYAPP/app/../vendor/symfony/src/Symfony/Component/ClassLoader/
DebugUniversalClassLoader.php]
 in /home/josh/www/MYAPP/app/bootstrap.php.cache on line 2041

Fatal error: Uncaught exception 'ErrorException' with message 'Notice:
require(): 1. h->opened_path=[null]  h->filename=[/home/josh/www/MYAPP/
app/../vendor/symfony/src/Symfony/Bundle/FrameworkBundle/
FrameworkBundle.php]
 in /home/josh/www/MYAPP/vendor/symfony/src/Symfony/Component/
ClassLoader/DebugUniversalClassLoader.php line 55' in /home/josh/www/
MYAPP/app/bootstrap.php.cache:382
Stack trace:
#0 /home/josh/www/MYAPP/vendor/symfony/src/Symfony/Component/
ClassLoader/DebugUniversalClassLoader.php(55): Symfony\Component
\HttpKernel\Debug\ErrorHandler->handle(8, 'require(): 1. h...', '/home/
josh/www/...', 55, Array)
#1 /home/josh/www/MYAPP/vendor/symfony/src/Symfony/Component/
ClassLoader/DebugUniversalClassLoader.php(55): Symfony\Component
\ClassLoader\DebugUniversalClassLoader::loadClass()
#2 [internal function]: Symfony\Component\ClassLoader
\DebugUniversalClassLoader->loadClass('Symfony\Bundle\...')
#3 /home/josh/www/MYAPP/app/AppKernel.php(13):
spl_autoload_call('Symfony\Bundle\...')
#4 /home/josh/www/MYAP in /home/josh/www/MYAPP/app/bootstrap.php.cache
on line 382





The APC page loads up fine, and I'm clueless as why this is happening.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to