![]() |
| Home | Demo | Services | Features | Help | User Forum | Blog | About | |
|
|
|
#1
|
|||
|
|||
|
I have encountered this problem with one template I have been using. I have tested the template and found that it has to be the statcounter code causing it. When the statcounter code is removed, the error message disappears.
The url of the page is currently EbaySalesAdvice.com My username is ukvariety The error message can be seen at the bottom left of the page. It says "Code corrupted. Insert fresh copy" I have searched online but can not find a solution. I have checked the code to make sure that it has not been reformatted. The statcounter code is exactly as it is provided from your website. The statcounter works, it just displays this message. I have checked all other javascripts to make sure they are all closed correctly and everything seems fine. Thanks in advance for your help. |
|
#2
|
||||
|
||||
|
I don't know. You should fix your page, yuo have some validation errors:
http://validator.w3.org/check?verbos...lesadvice.com/ Probably by the time it gets to that part of the source code somehtign is already messed up. The code by itself works fine. You will in fact see a hit coming from my own pc from a simple temporary test page with your Statcounter code taken from your online page, that I made and viewed in my browser. You have an invisible counter. No error message was given.
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#3
|
||||
|
||||
|
It looks like your Peel Code is messing up a part of the Statcounter code, making the SC code as a part of Peel Code and that makes the SC code corrupted.
Delete the code for both, in the bottom of the page. Then insert them again carefully, no to close to eatch other so they get mixed again. |
|
#4
|
|||
|
|||
|
Thanks for your help. I have tried everything.
I removed all other javascript code including the peel code and the header, but the message still appeared. This error only shows in this template. I cant understand why the validation keeps saying that the boardercolor is invalid. Everytime I remove the one it mentions, it just moves on to the next boardercolor. Am I missing something? I have now removed the peel code and I still get the error. This error is caused by the statcounter code. It has some conflict with this template. This is the only template that I have seen it happen on, but there are a lot of people online with the same problem. The bordercolor="#000000" problem should only effect netscape. It should be fine with most other browsers. However I have removed all errors shown in dreamweaver and have ran another validation and it shows a green light. http://validator.w3.org/check?uri=ht...up=0&verbose=1 However the error is still there. So, just to recap, I have removed all errors and peel code. any suggestions? |
|
#5
|
||||
|
||||
|
Quote:
Ok, bordercolor is not valid html but it doesn't break code. It's just that you should be using a style for that. I don't se the peel script so no idea what it does and how. Right now your Statcounter code is ok. If the peel scritp uses some fo the same variable names as Statcounter or if it plays around in the DOM, it could well interfere, depending on what it does and how.
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#6
|
|||
|
|||
|
I have put the peel code after the statcounter code instead of the other way around and that seems to have done it.
Weird how it only works one way on this template. I have checked my other domains and some are one way round while other are the other way round. Any ideas why it does it just on this template? Thanks for all your help. |
|
#7
|
||||
|
||||
|
Well look at that code!
Quote:
Why didn't you use the validator? it would have shown you that you have a problem right there. http://validator.w3.org/check?uri=ht...up=0&verbose=1
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#8
|
|||
|
|||
|
Nope, scrap that it's working.
I'll add the peel code and see what it does. |
|
#9
|
|||
|
|||
|
Ok, it seems that statcounter code does conflict with the peel code...
Why does that only happen on this template? I have the peel code on over 23 other domains and this is the only template that has this error. Any ideas? |
|
#10
|
||||
|
||||
|
Ok, the Statcounter code looks good now, you should see my visits. But I don't see any Peel Code there anymore? If you removed it, then please put it back so we can see where and how it apperars in the source of the page. I can't see any other reason for the code to corrupt than if the Peel code is not going to the "right" place it will mix up with the SC code.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|