eZ Community » Forums » Developer » TwigBundle:Exception:error500.html.tw...
expandshrink

TwigBundle:Exception:error500.html.twig after login

TwigBundle:Exception:error500.html.twig after login

Wednesday 27 November 2013 2:40:54 pm - 3 replies

Hello all,

I have just pushed a site from test server to production server.

This site is running fine but it crashes after login.

The prod.log :

[2013-11-27 14:19:50] security.DEBUG: Read SecurityContext from the session [] []

[2013-11-27 14:19:50] security.DEBUG: Reloading user from user provider. [] []

[2013-11-27 14:19:50] security.DEBUG: Username "anonymous" was reloaded from user provider. [] []

[2013-11-27 14:19:50] app.DEBUG: Checking secure context token: PreAuthenticatedToken(user="anonymous", authenticated=false, roles=""blunk.gif Emoticon [] []

[2013-11-27 14:19:50] app.DEBUG: Trying to pre-authenticate user "4567" [] []

[2013-11-27 14:19:50] app.INFO: Cleared security context due to exception: Could not find 'Content' with identifier 'array (  'id' => '4567',  'languages' => NULL,  'versionNo' => 29,)' [] []

[2013-11-27 14:19:50] security.INFO: Authentication exception occurred; redirecting to authentication entry point (A Token was not found in the SecurityContext.) [] []

[2013-11-27 14:19:50] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException: "A Token was not found in the SecurityContext." at /var/www/numaparis/sise/application/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php line 56 [] []

[2013-11-27 14:19:50] security.DEBUG: Write SecurityContext in the session [] []

--

all my siteaccess are running in legacy_mode. Do you have any clue about it ?

 

TwigBundle:Exception:error500.html.twig

Saturday 30 November 2013 12:16:45 pm

Hi Paul,

the problem is related with 

[2013-11-27 14:19:50] app.INFO: Cleared security context due to exception: Could not find 'Content' with identifier 'array (  'id' => '4567',  'languages' => NULL,  'versionNo' => 29,)' [] []

Tuesday 14 January 2014 5:59:21 pm

Any further troubleshooting suggestions would be appreciated as the error is occurring here

Modified on Tuesday 14 January 2014 8:49:03 pm by Dom T

Wednesday 21 May 2014 9:12:01 am

Hi,

 

I have the same problem on my site. Did you use the ezpublish user content class or is it a custom one ?

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from