Forums

This topic is locked

Javascript insert error

Posted 27 Mar 2005 17:36:49
1
has voted
27 Mar 2005 17:36:49 Mike Dubrick posted:
I am converting my site from less that html loose dtd to xhtml 1.0 strict. The pages check fine using the w3c validator and the tidy extension in FireFox when I view them locally. When I post the pages, just before the closing head tag, <script language='javascript' src='127.0.0.1:3008/js.cgi?pca&r=11942'></script> is added. Also, <script language='javascript'>postamble();</script> is added at the very end of the page, after the closing body and html tags. I don't know where this code is coming from. It's not there until I post. Can anyone help?

Replies

Replied 27 Mar 2005 21:00:29
27 Mar 2005 21:00:29 Chris Charlton replied:
Are you on some free hosting service?

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 28 Mar 2005 02:50:14
28 Mar 2005 02:50:14 Mike Dubrick replied:
No, I have two sites with the same problem. One is hosted by Sausage Hosting and the other by Lunar Pages. Both sites have been developed on my local machine with Dreamweaver MX 2004.
Replied 28 Mar 2005 04:34:36
28 Mar 2005 04:34:36 Chris Charlton replied:
I'd seriously check your hosting provider and see if they add <i>any</i> code to files FTP'd up, to track pages or something like that. It's very strange, but that's where I'd look after checking all my includes/code, of course.

Are you using DW or an FTP program to upload your pages, or a web-based file manager from your host?

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 28 Mar 2005 04:49:08
28 Mar 2005 04:49:08 Mike Dubrick replied:
I upload directly from Dreamweaver. I noticed the first line of code looks like a reference to port 3005. I did a search for js.cgi which is mentioned in the first line of code and found someone with a similar problem using Zone Alarm Pro, which I also use. I have posted a message in that forum and will keep you posted if you like.

Mike
Replied 28 Mar 2005 22:14:21
28 Mar 2005 22:14:21 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>I noticed the first line of code looks like a reference to port 3005. I did a search for js.cgi which is mentioned in the first line of code and found someone with a similar problem using Zone Alarm Pro, which I also use. I have posted a message in that forum and will keep you posted if you like.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Please do, as I'm sure many Windows users here use a version of Zone Alarm. I myself use the free one and have never seen an issue like this before. Thanks for hunting! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 29 Mar 2005 04:21:24
29 Mar 2005 04:21:24 Mike Dubrick replied:
I sent the problem to Zone Alarm and this is what I got: "Turn off the privacy settings in ZA before uploading the files. Once they are uploaded you can turn them back on. This is a problem they are aware of." So, all those of you with Zone Alarm, please check. If it wasn't for HTML Tidy, I never would have known about this. If you use Fire Fox, you can get the extension HTML Validator 0.5.3. I don't know about IE.

Mike
Replied 31 Mar 2005 04:40:16
31 Mar 2005 04:40:16 Mike Dubrick replied:
My last message from Zone Alarm "Go to your Privacy's Main panel and if you see 'sliders' for cookies & ad-blocking, move the sliders to 'off' and tick the off button on mobile code control. If you do not see sliders, click on the 'custom' button in cookies and ad-blocking, uncheck everything, then click 'apply'." was very helpful. It worked exactly as described.

Mike

Reply to this topic