Symfony2에서 일하고 있습니다. pq 아무도 내 웹 사이트가 자산을 올바르게 사용하지 않는다는 것을 알고 있습니까?Symfony2 자산이 표시되지 않습니다.
$ kernel = new AppKernel ('prod', false);
으로 app.php에서 작업하고 있습니다. 웹 서버에 사이트를 업로드했지만 애셋을 볼 때. 나는 이것을 시도했다 :
assets: installl - symlink web
assets: install web
설치는 동일하지만 여전히.
또한 캐시를 지우고 작동하지 않으려 고 시도했습니다.
[email protected]:~/www/pfc$ app/console assets:install web
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for mio\mioBundle into web/bundles/miomio
Installing assets for FOS\JsRoutingBundle into web/bundles/fosjsrouting
Installing assets for Acme\DemoBundle into web/bundles/acmedemo
Installing assets for Symfony\Bundle\WebProfilerBundle into web/bundles/webprofiler
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution
[email protected]:~/www/pfc$ app/console --env=prod cache:clear
Clearing the cache for the prod environment with debug true
웹 : http://paradasymfony.alwaysdata.net/pfc/web/login
감사합니다.
앱 표시 자산 제대로 나는 제공된 링크에서 –