claroline / Claroline

Learning management system
https://www.claroline.com
Other
315 stars 188 forks source link

Error during installation of a new instance #444

Closed sleperf closed 10 years ago

sleperf commented 10 years ago

During the php app/console assetic:dump command we have the following error

[RuntimeException] The source file "/var/www/html/claroline/20140218/Claroline/app/../web/bund les/frontend/jquery/plugin/daterangepicker/less/bootstrap-daterangepicker.l ess" does not exist.

stefk commented 10 years ago

Closed by 998cc89edfaf9904e3d9

baptisteCable commented 10 years ago

I cloned the repo this morning and the problem still happens when using claroline:update (I followed all the steps of the documentation for the installation)

[RuntimeException]
The source file "/Users/admin/Sites/Claroline/app/../web/bundles/frontend/jquery/plugin/daterangepicker/less/bootstrap-daterangepicker.less" does not exist.

stefk commented 10 years ago

This error means that assets haven't been installed in the web directory. This installation is the last step of composer execution. Something probably went wrong before that step. Did you have any error of composer ? Anyway, you can always force assets installation using php app/console assets:install.

baptisteCable commented 10 years ago

Solved by doing a assets:install before.

baptisteCable commented 10 years ago

Thank you for the answer, I did not see it before answering!