Syntax Eror NEED HELP

btrajano
Posts: 4
Joined: Mon Aug 07, 2017 1:41 pm

Syntax Eror NEED HELP

Postby btrajano » Fri Aug 11, 2017 4:27 pm

I posted 3 times but no one resounded yet!
Every time I start loca server with index and multiple media I'm getting syntax error and i spend 4 days trying to figure it out!. Can anyone help me!!!
This is the screenshot of the error
Attachments
Screen Shot 2017-08-11 at 11.18.14 AM.png
ERROR Im GETTING
Screen Shot 2017-08-11 at 11.18.14 AM.png (47.32 KiB) Viewed 106 times

User avatar
rroux
ForgeJS Team
Posts: 108
Joined: Wed Oct 26, 2016 12:19 pm

Re: Syntax Eror NEED HELP

Postby rroux » Wed Aug 16, 2017 12:14 pm

Hello,

It sounds like your browser try to access your code through the file:// protocol instead of the http:// protocol
The browser will not allow this for security reasons.

Your url should look like this :
http://localhost/path-to-the-project-fr ... rver-root/

This way the browser will use http:// protocol and everything should work, do not open your project by double clicking the index file, this will use file:// protocol

https://html5hive.org/how-to-setup-a-localhost/

Hope this helps
- Raphaël

User avatar
rroux
ForgeJS Team
Posts: 108
Joined: Wed Oct 26, 2016 12:19 pm

Re: Syntax Eror NEED HELP

Postby rroux » Wed Aug 16, 2017 12:17 pm

And sorry for being late, our dev team is pretty low on ressources this month due to vacations.
Have a nice day
- Raphaël

Who is online

Users browsing this forum: Bing [Bot] and 2 guests