Richardlonesteen
Richardlonesteen

Reputation: 594

SyntaxError: syntax error <!DOCTYPE html>

Basically, since i have installed sync, pusher, fayer and redis the app hasn't loaded anything. For the past 2 days been trying to figure out these errors:

I thin it's the two SYNTAX errors that are causing problems here.

https://www.dropbox.com/s/04063s1o8dgy5sg/Screenshot%202014-02-13%2021.18.34.png (big picture) Chrome developers tool also points to the rails,js HTML DOC first line. other than that i don't get any other errors in console ;/

Please help me to end this nightmare of an error

Upvotes: 0

Views: 654

Answers (2)

kobaltz
kobaltz

Reputation: 7070

It looks like your rails.js cannot be found and is instead rendering the 404 page instead of the contents of your rails.js file. Try to fix the route to the javascript file and this should fix your problem.

Upvotes: 1

Maksim Gladkov
Maksim Gladkov

Reputation: 3079

Your assets are not being processed/displayed correctly. There must be some problem with your assets or routes.

Upvotes: 1

Related Questions