php - Symfony2 : cannot load resource "." -
i'm having issue assets management in symfony2. keep getting following error :
cannot load resource ".".
i've been trying fix in config , routing files dev environment, thing did changing use_controller
false
in config_dev.yml
file.
i keep summoning resources in templates with
{% stylesheets '@mybundle/resources/public/css/style.css' filter='cssrewrite' %} <link rel="stylesheet" href="{{ asset_url }}" type="text/css" /> {% endstylesheets %}
and keep getting exception :
cannot load resource ".".
any tips on go wrong? (i've cleared cache several times)
thanks in advance
edit :
i've tried removing :
_assetic: resource: . type: assetic
from routing_dev.yml file, , error disappears (with, of course, resources in page)
reedit :
after complete reinstallation, seems working again. property had changed unvoluntarily... case closed.
try run following commands:
php app/console assets:install web php app/console assetic:dump
Comments
Post a Comment