PHP 5.3.6 breaking javascript?
-
All of my WordPress installs on my windows 2003 server have javascript errors (both in jquery and tinymce), causing the editing post/page window to show in a ‘plain’ form, with mosst of the functionality broken.
the FIRST error shows below – with it pointing at the first \” escaped quote? later errors show jQuery not defined, and tinymce not defined – all appears due to the javascript not parsing;
Error: illegal character
Source File: http://www.dev-decor.co.uk/wp-admin/load-scripts.php?c=1&load=jquery,utils&ver=7bb5fde83e0949a753f31e184d1c6ac7
Line: 16, Column: 77
Source Code:
(function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute(\”data-\”+b);if(typeof d===\”string\”){try{d=d===\”true\”?true:d===\”false\”?false:d===\”null\”?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?\”events\”:\”__events__\”);if(typeof h===\”function\”)h=I thought my upgrades to 3.2 had caused an issue (that or installing wincache php extension which i’ve since disabled), but I have a single 3.14 wordpress blog on the same server, which shows exactly the same symptons – all were working before i upgraded the PHP to 5.3.6 to enable me to upgrade to wordpress 3.2.
so I believe the problem (and others may be having it too), is that the PHP 5.3.6 version with WordPress is causing issues with the javascript files that are used?
another website I run on the server which I wrote myself, which also uses tinymce is working and displaying the editor fine – so it’s def something to do with how wordpress is using those javascript files?
please dont’ tell me to turn plugins off in my 3.2 upgraded sites, because the 3.14 site I’ve not touched in any way has broken overnight, at the time i upgraded php.
- The topic ‘PHP 5.3.6 breaking javascript?’ is closed to new replies.