peanut Posted May 14, 2014 Share Posted May 14, 2014 Hi I use statcounter to track visit to my site but its no longer working with PS1.6, does anyone know how to make it work? I get this error now: Code corrupted. Insert fresh copy. Link to comment Share on other sites More sharing options...
peanut Posted May 14, 2014 Author Share Posted May 14, 2014 Solved! there was a tag </noscript> just changed it to </script> Link to comment Share on other sites More sharing options...
peanut Posted June 2, 2014 Author Share Posted June 2, 2014 Unfortunately, it didn't work. I was not able to resolve this. Can anyone else please help? Link to comment Share on other sites More sharing options...
sarah0173 Posted June 24, 2014 Share Posted June 24, 2014 I have exactly the same problem. Did you solve this issue ? Link to comment Share on other sites More sharing options...
sarah0173 Posted June 25, 2014 Share Posted June 25, 2014 Solved ! You need to override Media.php : create a new document Media.phpwith code that i can't post (file attached) And then, save the file in override/classes Next, add the code data-keepinline="true" in your scriptExemple : <script type="text/javascript" data-keepinline="true"> // this script will remain here when rendered alert( "hello!" ); </script> <script type="text/javascript"> // this script will be forced to the bottom of the page alert( "hello again!" ); </script> Media.php Link to comment Share on other sites More sharing options...
peanut Posted June 28, 2014 Author Share Posted June 28, 2014 Solved ! You need to override Media.php : create a new document Media.php with code that i can't post (file attached) And then, save the file in override/classes Next, add the code data-keepinline="true" in your script Exemple : <script type="text/javascript" data-keepinline="true"> // this script will remain here when rendered alert( "hello!" ); </script> <script type="text/javascript"> // this script will be forced to the bottom of the page alert( "hello again!" ); </script> I tried this but it still didn't work. Code corrupted. Insert fresh copy error again. Link to comment Share on other sites More sharing options...
Recommended Posts