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

Symfony into production

Discuss installing Symfony 2 here

Symfony into production

by kimy82 » Thu Nov 21, 2013 10:41 pm

Dear,

I have the project running localy but went I go to the server in internet I get this error.

Someone knows how to solve this?



RuntimeException: Failed to start the session because headers have already been sent by "/usr/home/llibreria22-nova.net/web/repo22/app/AppKernel.php" at line 1.
in /usr/home/llibreria22-nova.net/web/repo22/app/cache/dev/classes.php line 3165
at NativeSessionStorage->start() in /usr/home/llibreria22-nova.net/web/repo22/app/cache/dev/classes.php line 3241
at NativeSessionStorage->getBag('attributes') in /usr/home/llibreria22-nova.net/web/repo22/app/cache/dev/classes.php line 2993
at Session->set('_security.secured_area.target_path', 'http://llibreria22-nova.net.mialias.net/repo22/web/app_dev.php/admin/secured/menu') in /usr/home/llibreria22-nova.net/web/repo22/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 184
at ExceptionListener->setTargetPath(object(Request)) in /usr/home/llibreria22-nova.net/web/repo22/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 170
at ExceptionListener->startAuthentication(object(Request), object(AuthenticationCredentialsNotFoundException)) in /usr/home/llibreria22-nova.net/web/repo22/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 93
at ExceptionListener->onKernelException(object(GetResponseForExceptionEvent))
at call_user_func(array(object(ExceptionListener), 'onKernelException'), object(GetResponseForExceptionEvent)) in /usr/home/llibreria22-nova.net/web/repo22/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 450
at Symfony\Component\HttpKernel\Debug\{closure}(object(GetResponseForExceptionEvent))
at call_user_func(object(Closure), object(GetResponseForExceptionEvent)) in /usr/home/llibreria22-nova.net/web/repo22/app/cache/dev/classes.php line 2701
at EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure)), 'kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/llibreria22-nova.net/web/repo22/app/cache/dev/classes.php line 2634
at EventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/llibreria22-nova.net/web/repo22/app/cache/dev/classes.php line 2798
at ContainerAwareEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/llibreria22-nova.net/web/repo22/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 139
at TraceableEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/llibreria22-nova.net/web/repo22/app/bootstrap.php.cache line 2800
at HttpKernel->handleException(object(AuthenticationCredentialsNotFoundException), object(Request), '1') in /usr/home/llibreria22-nova.net/web/repo22/app/bootstrap.php.cache line 2753
at HttpKernel->handle(object(Request), '1', true) in /usr/home/llibreria22-nova.net/web/repo22/app/bootstrap.php.cache line 2878
at ContainerAwareHttpKernel->handle(object(Request), '1', true) in /usr/home/llibreria22-nova.net/web/repo22/app/bootstrap.php.cache line 2179
at Kernel->handle(object(Request)) in /usr/home/llibreria22-nova.net/web/repo22/web/app_dev.php line 28
kimy82
Junior Member
 
Posts: 1
Joined: Thu Nov 21, 2013 10:34 pm

Re: Symfony into production

by smugford » Sun Jan 05, 2014 11:13 am

99.9 % of the time it's not clearing the cache.
User avatar
smugford
Faithful Member
 
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm