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


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/" at line 1.
in /usr/home/ line 3165
at NativeSessionStorage->start() in /usr/home/ line 3241
at NativeSessionStorage->getBag('attributes') in /usr/home/ line 2993
at Session->set('_security.secured_area.target_path', '') in /usr/home/ line 184
at ExceptionListener->setTargetPath(object(Request)) in /usr/home/ line 170
at ExceptionListener->startAuthentication(object(Request), object(AuthenticationCredentialsNotFoundException)) in /usr/home/ line 93
at ExceptionListener->onKernelException(object(GetResponseForExceptionEvent))
at call_user_func(array(object(ExceptionListener), 'onKernelException'), object(GetResponseForExceptionEvent)) in /usr/home/ line 450
at Symfony\Component\HttpKernel\Debug\{closure}(object(GetResponseForExceptionEvent))
at call_user_func(object(Closure), object(GetResponseForExceptionEvent)) in /usr/home/ line 2701
at EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure)), 'kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/ line 2634
at EventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/ line 2798
at ContainerAwareEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/ line 139
at TraceableEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in /usr/home/ line 2800
at HttpKernel->handleException(object(AuthenticationCredentialsNotFoundException), object(Request), '1') in /usr/home/ line 2753
at HttpKernel->handle(object(Request), '1', true) in /usr/home/ line 2878
at ContainerAwareHttpKernel->handle(object(Request), '1', true) in /usr/home/ line 2179
at Kernel->handle(object(Request)) in /usr/home/ line 28
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
Faithful Member
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm