View Full Version : Code corrupted. Insert fresh copy.
07-18-2005, 01:27 PM
This is all I get. What am I doing wrong?
07-18-2005, 01:31 PM
Where are you getting this message? Which page(s) have you installed SC on? I looked at your home page but couldn't find it.
07-19-2005, 05:56 PM
I saw the file corrupt message when I previewed my site, so I didn't bother to upload it.
07-19-2005, 06:04 PM
We cannot tell what you are doing wrong without looking at what you did.
You may have messed up the code, left out the all or part of the security code, or inserted it in the wrong place.
You can upload the page under a diferent name and psot the link if you don't want your live page to be seen with that message.
07-20-2005, 09:40 AM
I just signed up to StatCounter and got the same message:
"Code corrupted. Insert fresh copy."
I have tried reconfiguring the counter by opting for the StatCounter logo option, but this has not helped:
The counter code is at the very bottom of this page, just before the </body> tag:
Any advice or assistance would be much appreciated.
07-20-2005, 09:49 AM
Your page looks fine, no errors. Statcounter logo bottom left of page.
07-20-2005, 09:53 AM
Many thaks Kelly. I think it might be somekind of **** firewall configuration at my work here that is preventing me from seeing the counter and replacing it with the "Code corrupted. Insert fresh copy" message.
many thanks for your help.
07-20-2005, 10:50 AM
quite strange cos i see the corrupt code aswell but only in Firefox, in IE it works 100%
07-20-2005, 11:08 AM
I viewed in IE.
07-20-2005, 11:33 AM
Yes, it shows in Firefox, but not in IE. I see that it collects data successfully from visitors using either browser. Weird!
07-20-2005, 05:10 PM
... I think it might be somekind of **** firewall configuration
Sounds VERY painful Paul. I think you need some "Preparation H" cream for that! :lol:
08-20-2005, 09:54 PM
I'm getting the code corrupted message as well. Everything worked fine on my old site, but the program I used (Serif WebPlus9) has become very corrupted so I'm building a new site using Web Studio. On this program the same code that worked fine on the old site is giving the error message in preview. Will it show ok when I upload? I don't think it's anything to do with a firewall as I'm using the same Norton Security program. By the posts, it seems this is a recent problem that has appeared. Has anything changed at the StatCounter end?
08-20-2005, 10:10 PM
Just make sure you're copying the code correctly and inserting it corectly. WYSIWYG editors are not recommended unless you're able to work in source code mode.
08-20-2005, 10:32 PM
Yes, I am inserting it correctly! It was correct when I did it on my first site and it is correct on this one. It seems to me from the posts on this topic that this is a problem at the StatCounter end rather than the user end.
I was intending to subscribe to the full product, but I shall wait until this bug is sorted out.
08-21-2005, 02:48 AM
Where is this error showing now? You should give a link.
08-21-2005, 12:00 PM
It doen't happen on the existing site, only on the new one I am working on. That won't be uploaded until the end of the month. At present the code error message appears every time I preview (IE) a page with the counter on it.
I have tried all the different types of link - invisible, visible, statcounter button, number etc. The same error message happens with all of them.
Whether this will appear on the new site when it is uploaded I do not know. I really do not want to risk it.
08-21-2005, 12:54 PM
Well, are you viewing the pages you are making on your PC from inside the WYSIWYG program you are using? or are you viewing them using IE (or whatever browser you are using) from your own pc ?
If you are viewing the page stoerd on you pc from the browser and are getting that error, again it must be your security settings which are different for pages stored on your own pc than for pages from the web. Check how you are dealing with Internet Zone and Intranet Zone. You are possibly blocking the script and counter image from an external site in your Intranet Zone security settings.
08-21-2005, 01:24 PM
As I said earlier - I am using IE and all the setting on my computer are exactly the same as when I didn't have this problem. And it appears I am not the only one. This strongly suggests that the problem lies at the Statcounter end.
08-21-2005, 01:56 PM
What can I say? You said yourself you are using a different editor now. Check the source code for the rendered page and you'll see what's what.
I am simply telling you that the problem is on your end, sorry to have to emphasize that.
Upload your page to a test area and see if it works or not there. Check the source code on the rendered page.
It is never advisable to use any WYSIWYG editor UNLESS you really know how to handle working in source code view. It is far better to use Notepad to add code to the source, this way you know precisely that the WYSIWYG editor is not going to add any code you did not intend to have, as is typically the case when accidentally working in layout mode.
08-21-2005, 05:24 PM
I AM working in source code view! I always edit my html codes in this way. Your statcounter does not work.
08-21-2005, 05:58 PM
Sorry to hear that. It's not MY Statcounter, but it is my fav piece of software :) . It works for everybody who doesn't mess up, so you may try to accept the inevitable conclusion that you're doing something wrong. We can't help you sight unseen though, so try to upload your page somewhere, it shouldn't be so hard.
08-25-2005, 12:14 AM
Webmaster, please, work on it!
08-25-2005, 01:14 AM
Guerry, your code is OK, what seems to be the problem?
08-25-2005, 02:38 AM
I can see guerrys site ok also, i agree chrisooc on chocolatefishs issue, i would suggest uploading your test site to the external or internal testing server and see if that works, if it dosn't work internally try and get someone else to test the url and see if it works for them, if it works for them its a case of melted chocolate - if it dos'nt - oh well :lol: :cry:
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.