wordpress - How to debug this angularjs error? -


I am working on a Wordpress and AngularRescue project on the Linux Mint 17 machine.

Install the managed project on my development machine correctly, and everything works well.

However, I used it on git clone from the same repo used on my repo. Everything apparently got cured, but when I try to load a certain page, it does not appear correctly. So I look at the Chrome Developer Tools console and this is what says:

  Error: [$ parse: syntax] http://errors.angularjs.org/1.2.16/ $ Parse / syntax? P0 =% 3F and p1 = No% 20a% 20 Primary% 20 Expression & amp; P2 = 60 and P3 =% 7 bilineanues% 3 asholn% 2c% 20mod% 3 applicationx '% 2c' & lt; Div class = "code mirror cm -s-default-ng-pristine ng-valid" ui-codemirror-opts = "{lineNumbers: showLn, mode: 'plain text', onload: config editor & lt; if (! $ Can_write ):? & Gt; "nLoad% 3AconfigEditor% 3C% 3Fif (% can_write!)% 3A% 3F% 3E% 2C% 20readOnly% 3A'nocursor '% 3C% 3Fendif% 3B% 3F% 3E% 7D In & amp; P4 =% 3Fif (!% Can_write)% 3A% 3F% 3E Http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/ Error on error (original)% 2C% 20read only 3% Encosser '% 3C% 3Fendif% 3B% 3F% 3E% 7D .min.js: 6: 450 $ a.throwError (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16 /angular.min.js:165:1241) Primary in $ $ (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular.min.js:164:330) $ a (Http://cdnjs.cloudflare.com/jax/libs/Angu Lar.js/1.2.16 / angular .js: 171: 73) at $ a.multiplicative (http: //cdnjs.cloudflare .com / ajax / libs / angular.js / 1.2.16 / angular.min js: 170: 310) at $ a.relational ($ http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2 .16 / angular.min.js: 170: 170) at $ a.relational (Http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular.min.js:170:34 ) At $ a.relational (http://cdnjs.cloudflare.com/ajax/ Libs / angular.j S / 1.2.16 / angular ms Js: 170: 111) at $ a.equality (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular Min.js: 16 9: 397)  

I'm very new to Angulus, so I do not know what the problem might be or how to debug it. Also, it is strange that I am using the exact code ( git clone ) that I did at work, where it works fine, do I have something Have not installed properly? Browser Incompatibilities?

I have already installed the Chrome extension bell but it has not been found useful (or it is not known about using it properly).

Update: Error looks like here:

  & lt; Form category = "contenido-evento" & gt; & Lt; Textarea ui-codemirror = "{lineNumbers: showLn, mode: 'plain text', onload: config editor & lt; if (! $ Can_write):? & Gt ;, read only: 'nocursor' & lt ;? endif ;; & gt;} "ng model =" evento.texto "& gt; & Lt; / Text field & gt; & Lt; / Form & gt;  

And this is an error message:

  Error: [$ parse: syntax] Syntax Error: Token '?' The expression is not a primary expression in column 60 [{line number: showln, mode: 'plain text', onload: config editor & lt ;? (If !! $ Can_write):? & Gt;, Read-only: 'Knockers' & lt ;? Endif ;? & Gt;}] [[If? ($ Can_write):? & Gt;, Read-only: 'Knockers' & lt ;? Endif ;; & Gt;}]  

What is any problem?

Copy paste is the first line of error in the browser (which is the http link), it gives you errors .angularjs.org and you can see the exact error there

$ parse / syntax? P0 =% 3F & amp; P1 = no% 20a% 20primary% 20expression & amp; P2 = 60 & amp; (!% Can_write) p3 =% 7BlineNumbers% 3AshowLn% 2C% 20mode% 3A'plaintext '% 2C "" nLoad% 3AconfigEditor% 3C% 3Fif% 3A% 3F% 3E% 2C% 20readOnly% 3Anocursor'% 3 C% 3Fendif% 3B% 3F% 3E% 7D & amp; P4 =% 3Fif (!% Can_write)% 3A% 3F% 3E% 2C% 20readOnly% 3Anocursor '% 3C% 3Fendif% 3B% 3F% 3E% 7D

this case Error in

Syntax Error: Starting from token '{0}' {1} [{4}] [[3}] On the column {2} of expression.

I do not know what is above the error, but I start debugging errors like this ...


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -