Page 1 of 1

Syntax Eror NEED HELP

Posted: Fri Aug 11, 2017 4:27 pm
by btrajano
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

Re: Syntax Eror NEED HELP

Posted: Wed Aug 16, 2017 12:14 pm
by rroux
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

Re: Syntax Eror NEED HELP

Posted: Wed Aug 16, 2017 12:17 pm
by rroux
And sorry for being late, our dev team is pretty low on ressources this month due to vacations.
Have a nice day