Author Topic: Strange things happening  (Read 9685 times)

0 Members and 1 Guest are viewing this topic.

Offline ocala

  • Forecaster
  • *****
  • Posts: 4167
Strange things happening
« on: December 05, 2006, 01:12:15 PM »
This is the url to my site.
http://www.candlerfloridaweather.justfriendsbassin.com/
After clicking on the pic it SHOULD take you to the main page, however now for whatever reason its goes to a NOAA page.
This has never happened before. Anyone have a clue.
The blues had a baby and they named it Rock & Roll

Offline anchorageweather

  • Forecaster
  • *****
  • Posts: 445
    • http://eetee.us/station/station.php
Re: Strange things happening
« Reply #1 on: December 05, 2006, 01:31:23 PM »
Quote from: "ocala"
This is the url to my site.
http://www.candlerfloridaweather.justfriendsbassin.com/
After clicking on the pic it SHOULD take you to the main page, however now for whatever reason its goes to a NOAA page.
This has never happened before. Anyone have a clue.


LOL, I can't even get your page to hang around long enough to look at the source...  its a quick little booger.  Maybe a meta refresh issue?!? :idea:
South of the Tracks, Anchorage, KY

Offline Anole

  • Forecaster
  • *****
  • Posts: 585
    • http://pineislandweather.com
Re: Strange things happening
« Reply #2 on: December 05, 2006, 02:23:49 PM »
Did you fix this? Cause it seem sjust fine to me at the moment.

Offline Anole

  • Forecaster
  • *****
  • Posts: 585
    • http://pineislandweather.com
Re: Strange things happening
« Reply #3 on: December 05, 2006, 02:27:01 PM »
nevermind I just went to the front page. When I clicked I got redirected.

Offline racenet

  • Forecaster
  • *****
  • Posts: 1306
    • NH Weather Data
Re: Strange things happening
« Reply #4 on: December 05, 2006, 02:33:27 PM »
Same here. That is a very fast redirect. Something got added to your web page code. Hey, you are lucky that it goes to NOAA and not a porn site. :)



Bob
www.theamericanflagstore.com - The American Flag Store



www.nhweatherdata.com - NH Weather Data

Offline Anole

  • Forecaster
  • *****
  • Posts: 585
    • http://pineislandweather.com
Re: Strange things happening
« Reply #5 on: December 05, 2006, 02:38:00 PM »
Have you changed something for that top frame? What it's loading is:

http://iwin.nws.noaa.gov/iwin/fl/warnings.html

If you haven't changed anything, something may have changed on that page that is triggerring this. Try a different URL for that top frame just to see if the same thing happens.

Offline ocala

  • Forecaster
  • *****
  • Posts: 4167
Re: Strange things happening
« Reply #6 on: December 05, 2006, 02:43:53 PM »
Yeah but how did it get added?
From what I can tell its a NOAA watches and warnings page that was in the top frame of the page. Its looks like the url to that page changed and somehow that change redirects it.
Of the three frames on the page that is the only one with an outside source but still doesn't explain how it happened.
Has this happened to anyone else?
The blues had a baby and they named it Rock & Roll

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8621
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Strange things happening
« Reply #7 on: December 05, 2006, 02:53:46 PM »
That is a puzzler.  Using SamSpade, I captured the first page's HTML:
Code: [Select]
GET /new_page_16.htm HTTP/1.1

Host: www.candlerfloridaweather.justfriendsbassin.com

Connection: close

User-Agent: Mozilla/5.0 (WinNT)



HTTP/1.1 200 OK

Date: Tue, 05 Dec 2006 19:42:11 GMT

Server: Apache/1.3.31 (Unix) PHP/4.3.11 mod_ssl/2.8.18 OpenSSL/0.9.6b FrontPage/5.0.2.2635 mod_throttle/3.1.2

Last-Modified: Sat, 05 Aug 2006 13:11:27 GMT

ETag: "f782ef-279-44d498ff"

Accept-Ranges: bytes

Content-Length: 633

Connection: close

Content-Type: text/html



<html>



<head>



<meta name="ProgId" content="FrontPage.Editor.Document">



</head>



<frameset cols="199,*">

  <frame name="left" scrolling="auto" noresize target="rtop" src="new_page_17.htm" marginheight="0" marginwidth="0">

  <frameset rows="20%,*">

    <frame name="rtop" target="rbottom" src="http://iwin.nws.noaa.gov/iwin/fl/warnings.html">

    <frame name="rbottom" scrolling="auto" src="http://home.comcast.net/~dmmk1/Weather_Summary_Vantage_Pro.htm">

  </frameset>

  <noframes>

  <body>



  <p>This page uses frames, but your browser doesn't support them.</p>



  </body>

  </noframes>

</frameset>




The link to the NWS yields
Code: [Select]
Fetching http://iwin.nws.noaa.gov/iwin/fl/warnings.html ...
GET /iwin/fl/warnings.html HTTP/1.1

Host: iwin.nws.noaa.gov

Connection: close

User-Agent: Mozilla/5.0 (WinNT)



HTTP/1.1 301 Moved Permanently

Date: Tue, 05 Dec 2006 19:45:06 GMT

Server: Apache/2.0.46 (Red Hat)

Location: http://www.weather.gov/view/prodsByState.php?state=fl&prodtype=warnings

Vary: Accept-Encoding

Content-Length: 369

Connection: close

Content-Type: text/html; charset=iso-8859-1



<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.weather.gov/view/prodsByState.php?state=fl&amp;prodtype=warnings">here</a>.</p>
<hr />
<address>Apache/2.0.46 (Red Hat) Server at iwin.nws.noaa.gov Port 80</address>
</body></html>
which the browser would follow getting
Code: [Select]
Fetching http://www.weather.gov/view/prodsByState.php?state=fl&amp;prodtype=warnings ...
GET /view/prodsByState.php?state=fl&amp;prodtype=warnings HTTP/1.1

Host: www.weather.gov

Connection: close

User-Agent: Mozilla/5.0 (WinNT)



HTTP/1.1 200 OK

Date: Tue, 05 Dec 2006 19:47:02 GMT

Accept-Ranges: bytes

X-Powered-By: PHP/4.3.2

Vary: Accept-Encoding,User-Agent

Cache-Control: max-age=300

Expires: Tue, 05 Dec 2006 19:52:02 GMT

Server: Apache-Coyote/1.1

Content-Type: text/html;charset=iso-8859-1

Via: 1.1 ics_server.xpc-mii.net (XLR 2.3.0.2.23a)

Connection: close



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title> - NOAA's National Weather Service</title>

<meta name="DC.title" content=" - NOAA's National Weather Service" />

<meta name="DC.description" content="National Weather Service Home page. The starting point for official government weather forecasts, warnings, meteorological products for forecasting the weather, and information about meteorology." />

<meta name="DC.subject" content="weather; severe weather warnings; forecasts; forecast models; climate; weather charts; observations; meteorology; weather radar; hydrology; air quality; weather satellite" />

<meta name="DC.date.reviewed" scheme="ISO8601" content="2005-08-31" />

<meta name="DC.date.created" scheme="ISO8601" content="2005-08-31" />

<meta name="DC.format" content="text/html; charset=iso-8859-1" />

<meta name="DC.language" scheme="DCTERMS.RFC1766" content="EN-US" />

<meta name="DC.Distribution" content="Global" />

<meta name="DC.robot" content="all" />

<meta name="DC.creator" content="NOAA's National Weather Service" />

<meta name="DC.contributor" content="NWS Internet Services Team" />

<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />

<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />

<link rel="DC.rights" href="http://www.weather.gov/disclaimer.php" />

<link rel="stylesheet" type="text/css" href="/main.css" />

<script type="text/javascript" language="JavaScript" src="/master.js"></script>

</head>

<body onload="init()" leftmargin="0" topmargin="0" rightmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF" background="/images/background2.gif">
<snip.....>


The master.js Javascript on the weather.gov page is
Code: [Select]
// Master Javascript for weather.gov

// mostly here to support future javascript.

 

function init() {

if (top.frames.length!=0)

top.location=self.document.location;

}



which screws up your frames by loading the weather.gov page over your frames.   Turn off Javascript temporarily and your site should link normally.  To fix, you'll probably have to find a way to get the weather.gov content without a frame link.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ocala

  • Forecaster
  • *****
  • Posts: 4167
Re: Strange things happening
« Reply #8 on: December 05, 2006, 03:47:42 PM »
Thanks Ken. Your right it does work when disabling JS. Probably just remove the whole frame untill I can figure out what I'm going to do.
Been meaning to do a site redesign for a while but just never had a reason to sit down and do it. Guess I do now.
The blues had a baby and they named it Rock & Roll

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8621
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Strange things happening
« Reply #9 on: December 05, 2006, 03:51:49 PM »
If you could find the raw link to the basic text of the advisory (as a .txt file), then you could change the top frame link to refer to that for a while :-)

Check around the www.nws.noaa.gov site and see if they have text links (still).  

Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ocala

  • Forecaster
  • *****
  • Posts: 4167
Re: Strange things happening
« Reply #10 on: December 05, 2006, 04:18:49 PM »
GRRRRR :evil:
New problem now. Removed the top frame but it won't work in FF. However it works in IE just fine.
Could you guys confirm this for me.
The blues had a baby and they named it Rock & Roll

Offline ocala

  • Forecaster
  • *****
  • Posts: 4167
Re: Strange things happening
« Reply #11 on: December 05, 2006, 04:23:27 PM »
Disregard the previous post. Just had to restart FF.
The blues had a baby and they named it Rock & Roll

Offline Anole

  • Forecaster
  • *****
  • Posts: 585
    • http://pineislandweather.com
Re: Strange things happening
« Reply #12 on: December 05, 2006, 04:27:11 PM »
Quote from: "ocala"
Thanks Ken. Your right it does work when disabling JS. Probably just remove the whole frame untill I can figure out what I'm going to do.
Been meaning to do a site redesign for a while but just never had a reason to sit down and do it. Guess I do now.


As a word of advice, when you do the redesign, dump the frames. Proper implementation of frames is a difficult proposition and there are other issues they introduce as well.

Offline kray1000

  • Purveyor of wry
  • Forecaster
  • *****
  • Posts: 1336
    • http://www.roanokevalleyweather.com
Re: Strange things happening
« Reply #13 on: December 05, 2006, 04:30:28 PM »
I was just going to say the same thing.  Lose the frames...

Offline capeweather

  • Administrator
  • Forecaster
  • *****
  • Posts: 1309
    • http://www.capeweather.com
Re: Strange things happening
« Reply #14 on: December 05, 2006, 04:32:27 PM »
Quote from: "kenmtrue"

Check around the www.nws.noaa.gov site and see if they have text links (still).  
Ken


I thought I'd mentions this too! Lots of goodies in there.  :D

ftp://weather.noaa.gov/

Chris
Cape Coral, Florida
Website: http://www.capeweather.com
Website: http://www.fortmyersweather.net

Offline ocala

  • Forecaster
  • *****
  • Posts: 4167
Re: Strange things happening
« Reply #15 on: December 05, 2006, 04:51:50 PM »
Yep, the frames are history. Just got to sit down and do it.
The blues had a baby and they named it Rock & Roll