21286 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3811 Views |
-
How to debug "Javascript Parse Error"?

19 August 2010 at 6:21pm
I have been now using SS for couple of months and find it quite extensible. But there is one issue which leaves me stumped, the "Javascript Parse Error".
I have no idea why and when this errors pops up. The same code will work fine on one server but will give "Javascript Parse Error" on another.
What are the most common causes of this error? How do I go about finding the cause of this error. Any information will be helpful.
-
Re: How to debug "Javascript Parse Error"?

19 August 2010 at 6:51pm
If its JavaScript the best place to debug is your browsers console panel. Firebug is a useful plugin for firefox, displays the console inline in the webpage.
-
Re: How to debug "Javascript Parse Error"?

19 August 2010 at 8:54pm
Yes, I know I can use firebug to debug JS code.
But the thing is that I am not changing or adding any JS code. The site is using the stock JS code that came with the script. The error is triggered by something in my custom modules (though I have seen the error occur even without any custom modules).
And just to clarify, the "Javascript Parse Error" notice I am referring is to the one the appears sometimes when you are try to save or publish the page.
-
Re: How to debug "Javascript Parse Error"?

20 August 2010 at 3:40am Last edited: 20 August 2010 3:46am
Hi,
I am having the exact same issue... with a recent install of version 2.4.0.
I have not modified or added any javascript but I receive the Javascript Parse Error when I try to save/publish a page. It lets me save/publish the page second time around but it's a bit frustrating having to do this every time.
I have tried the Firebug console but doesn't really help much.
Ciarán
| 3811 Views | ||
|
Page:
1
|
Go to Top |



