iRail / hyperRail

The repo for the iRail.be webapp
https://iRail.be
Creative Commons Zero v1.0 Universal
46 stars 17 forks source link

404 Not found CSS file on Station - Departure overview #192

Open SerkanYildiz opened 8 years ago

SerkanYildiz commented 8 years ago

I'm getting an error on the production site, station departure overview. It's trying to load, animate.css, a file that doesn't exists. 404notfound-animate css

SerkanYildiz commented 8 years ago

Btw it's not only on the stations - departure overview, but the whole website..

xavez commented 8 years ago

Investigating

xavez commented 8 years ago

Don’t have the problem locally. Might also be a caching problem?

SerkanYildiz commented 8 years ago

Don't think so, I cleared my cache and tried again, same problem. Stan had the same 404 not found with css on production

xavez commented 8 years ago

Do you have the problem locally?

SerkanYildiz commented 8 years ago

Nope, locally no errors

xavez commented 8 years ago

I think there is some other caching going on as well on the server, so clearing locally won't necessary fix it.

Tjoosten commented 8 years ago

It seems that that the page also keep on loading in seconds.

schermafbeelding 2016-07-20 om 20 14 38
xavez commented 8 years ago

Real funky stuff.

Is it possible that it is injected by some part of the Angular code, and only on the server (non-dev environment)?

SerkanYildiz commented 8 years ago

While I was re-installing the iRail/hypeRail repo, Composer asked me this:

Unable to find a suitable version for angular, please choose one by typing one of the numbers below:
    1) angular#1.2.29 which resolved to 1.2.29 and is required by hyperRail
    2) angular#>=1 which resolved to 1.2.29 and is required by angular-bootstrap#0.11.2
    3) angular#1.2.30 which resolved to 1.2.30 and is required by angular-animate#1.2.30

When I selected option 3. I don't have this error. Maybe that is the problem?

xavez commented 8 years ago

I don’t see any relevant fixes in the changelog though: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#1230-patronal-resurrection-2016-07-21

SerkanYildiz commented 8 years ago

I don't have a idea :-) AngularJS can be weird sometimes..

xavez commented 8 years ago

@SerkanYildiz well, the thing is that on my local dev environment, I don’t see the 404 error, while on the irail.be server, I do, so something must have changed between the local dev env and the server . . .