Make sure you have not accidentally used the script tag helper with a css file. The error is a JS error and is typically thrown when something that is not JS is run in a script tag.
I have done this myself when copy/pasting HTML::style and HTML::script calls. Getting the fail line from the browser console can help in finding the offending line. At least get you in the right ballpark.
First of all, thanks!
No, I used the correct file. And I have the problem again, but now, it is near to the deadline.
Sometimes it worked for me to put a ?versionasdasdasd
or something like that to the end of the URL but it does not work now. I don't know why.
Update: yeah the error I wrote was only JS, because CSS does not usually tell me the problems. :)
Okay, I found the solution. It occurs only when on vboxes (as I said, I am using Vagrant).
If you are using apache, put this in the config file:
EnableSendfile off
If your choice was nginx, then:
sendfile off;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community