eZ Community » Forums » Install & configuration » Cannot load the CSS & JS files...
expandshrink

Cannot load the CSS & JS files located in web directory (500 Internal Server Error)

Cannot load the CSS & JS files located in web directory (500 Internal Server Error)

Tuesday 17 January 2017 1:26:42 pm

Hello all,

I experienced a strange error while installing and configuring eZ Publish 2014.07 (dev mode) for one of my projects. When I try to access the frontend, the CSS & JS files aren't loaded and this error is shown : 

The security context contains no authentication token. One possible reason may be that there is no firewall configured for this URL.

All assetic commands and ezpublish/console works perfectly. The CMS is configured via the Symfony stack and all previous attempts that I made worked without errors.

Here is my security.yml extract with the current 

    firewalls:

<span style="white-space: pre;"> </span>dev:

<span style="white-space: pre;"> </span>pattern:  ^/(_(profiler|wdt)|css|images|js)/
<span style="white-space: pre;"> </span>security: false

Do you have any ideas ?

Thanks in advance

Best regards

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from