This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » Problem with css after wizard...

Problem with css after wizard installation

Problem with css after wizard installation

Thursday 18 December 2014 6:57:49 pm - 9 replies

This is the first time for me of kernel 5 of ez. I have installed a fresh ezpublish community latest version and after wizard installation I try to access to a ezdemo site and admin site, I can see text and links but style sheet don't works. If I try to get css or js from url browser (in my case: /css/3c5fbcb.css) i get a 403 forbitten error.

I'm using this apache virtual host config:

with option: ENVIRONMENT=prod

which configuration is missing?

Thursday 18 December 2014 10:15:41 pm

Can it be that you ran assetic dump from root user? So the css is generated with wrong permissions.

Friday 19 December 2014 9:57:06 am

Hi Anders,

I'm under Windows. I have execute this command like administrator:


php ezpublish/console assets:install --symlink webphp ezpublish/console ezpublish:legacy:assets_install --symlink webphp ezpublish/console assetic:dump --env=prod web

Friday 19 December 2014 10:14:48 am

I dont run on windows, so I don`t know if this can be your problem. But are the files located where they should be? And do they have read access for the user that are running the webserver?

Friday 19 December 2014 10:07:28 pm


The symlink option prolly won't work on windows since symbolic links are not possible on this system.

I know on the newer coming 2.6 Symfony there are better support options. But untill then you will need to use the --hardlink option (I think, I've heard of it but never had a chance or reason to use it).


"For symlinks on the first two commands you can either use --relative, --symlink, or none to get the command to copy assets. However make sure to also update "symfony-assets-install" in composer.json if you prefer composer post-cmd to use something else then --relative."

I hope this helps!


Saturday 20 December 2014 10:44:55 am

The reply has been removed because of violation of forum rules.

Monday 22 December 2014 4:42:38 pm

So I cannot be run ezpublish 5 on windows? if so it's very downgrade.

Tuesday 23 December 2014 1:50:34 am

Hello Daniele,

eZ Publish (4/5/etc) does run on windows! Please don't give up!

You just need to use the right command line command options to 'copy' the assets instead of making symbolic links.

So to be clear try omitting the '--symlink' option to get the script to copy the asset files directly instead of trying to use the symbolic link method.

I hope this helps! 


Tuesday 23 December 2014 9:34:47 am

Hi Heath,I run this three command:

  • php ezpublish/console assets:install web
  • php ezpublish/console ezpublish:legacy:assets_install web
  • php ezpublish/console assetic:dump --env=prod web

without symlink option but no success, no css loaded.

Modified on Tuesday 23 December 2014 10:23:01 am by Daniele Nocentini

Monday 05 January 2015 3:10:59 pm

What is the console output saying? If your also executing composer install/update be aware you need to change symfony-assets-install setting in composer.json to hard (aka: copy)

There are some improvements to this in next release eta later this month, which has fixes on eZ side and Symfony so you hopefully don't need to think about this anymore.


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

36 542 Users on board!

Forums menu

Proudly Developed with from