Parse error: syntax error, unexpected T_STRING in .js line 42
hey guys I get this error
Parse error: syntax error, unexpected T_STRING in /home/ebookrev/public_html/themeframe/templates/javascript/DD_roundies_0.0.2a.js on line 42
First of all, it looks like the JS page is being built dynamically. The <? ... ?> tags are probably being processed by a compiler if it is set up that way. That doesn't look like an error you would get in a browser console, but since you did not provide any other useful information I am just speculating.
If that .js file is in fact being built in PHP then you need to change the + to .
Otherwise, without useful information I cannot help. Give more detail bud.
First of all, it looks like the JS page is being built dynamically. The <? ... ?> tags are probably being processed by a compiler if it is set up that way. That doesn't look like an error you would get in a browser console, but since you did not provide any other useful information I am just speculating.
If that .js file is in fact being built in PHP then you need to change the + to .
Otherwise, without useful information I cannot help. Give more detail bud.
It's not a JavaScript error. I think this is being parsed when you don't want it to be. You want the following, or something similar, to appear on the page?
Well, the server thinks (I imagine), that you have PHP or some other server-side language embedded there, and is trying to parse that. So you'll have to change your server settings so that all files aren't being parsed.
There's probably another solution to deal with this specific file, but without knowing the precise details of your set-up, I don't know enough to say what it is.
Great wit and madness are near allied, and fine a line their bounds divide.
Bookmarks