Support the ongoing development of Laravel.io →
posted 10 years ago
Views
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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. :)

Last updated 2 years ago.
0

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;
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

balintant balintant Joined 2 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.