cloudy

Author Topic: Startup Problem  (Read 207 times)

0 Members and 1 Guest are viewing this topic.

Offline GordonG

  • Posts: 4
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 9.0.1
Startup Problem
« on: January 18, 2012, 10:05:59 PM »
Okay, I'm new here. I've used the search function and can't find what I'm looking for, so...

If I reboot my computer (or turn my work computer on in the morning), I start Firefox and it automatically loads multiple home pages, one of which is my weather station. In almost all cases, I get the error message shown attached.

The first couple of times it happened, I figured I'd messed up and wandered through all the files to make sure everything was at home and happy, which it was. Then I found that if I simply hit refresh, it all starts working properly and the world is rotating in its rightful place.

So... Wot I dun rong?  :?

www.gordong.com/weather

G

Online JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,376
  • VP 2 w/FARS - WML Station: WD00007
  • Jacksonville, Fl. USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 10.0
    • JaxWeather.net
Re: Startup Problem
« Reply #1 on: January 18, 2012, 10:16:00 PM »
Does your browser have http://gordong.com/weather bookmarked instead of http://www.gordong.com/weather

-Bob

Offline GordonG

  • Posts: 4
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 9.0.1
Re: Startup Problem
« Reply #2 on: January 18, 2012, 10:54:15 PM »
Thanks for the quick reply - the browser has http://www.gordong.com/weather listed as a startup.

The rest of the page loads just fine, it just errors on the live display - once.

Online JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,376
  • VP 2 w/FARS - WML Station: WD00007
  • Jacksonville, Fl. USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 10.0
    • JaxWeather.net
Re: Startup Problem
« Reply #3 on: January 19, 2012, 12:20:46 AM »
In your main.html change:

var pathToWdlconfig = "wdlconfig.xml";

To:

var pathToWdlconfig = "http://www.gordong.com/weather/wdlconfig.xml";

See if that helps...

You probably will have to force a browser reload/refesh by using SHIFT+reload, CTRL+F5 (or in some cases Shift+CTRL+Reload) for your browser to see the difference the first time...

-Bob

Offline GordonG

  • Posts: 4
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 9.0.1
Re: Startup Problem
« Reply #4 on: January 19, 2012, 12:30:49 AM »
Thanks Bob, I'll give that a try tonight when I get home, then I can test it when I get to work in the morning.

Page still needs more work, but it's a start :) The main site is a photo site, (gordong.com) and this is just a sub-hobby which I threw together on the weekend.

G

Offline GordonG

  • Posts: 4
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 9.0.1
Re: Startup Problem
« Reply #5 on: January 19, 2012, 10:17:55 AM »
In your main.html change:
var pathToWdlconfig = "wdlconfig.xml";
To:
var pathToWdlconfig = "http://www.gordong.com/weather/wdlconfig.xml";
See if that helps...
You probably will have to force a browser reload/refesh by using SHIFT+reload, CTRL+F5 (or in some cases Shift+CTRL+Reload) for your browser to see the difference the first time...
-Bob

Didn't work. So a bit more playing around showed that just by shutting down the browser, the problem continued occurring. Cool, now I can experiment! So I did just that and after about 20 different attempts, nothing had changed. So I got the Configurator to generate a new html page, named it as main.html, uploaded it and it didn't do anything. At all. So I remembered to make the change in the pathToWdlconfig variable (it's been a long day, believe me!), uploaded that and it's working perfectly...

Next was to compare the two files, the old main.html and the new main.html. They look identical, with the exception that the old one was edited in Microsoft Expression Web, the new one was edited in Notepad. The old one had the variables indented, the new one doesn't. And that is the only difference I can see, except that one works and the other doesn't.

I tells ya, these darn 'puter thingys ain't gonna catch on!

Thanks for the help.

G

Online JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,376
  • VP 2 w/FARS - WML Station: WD00007
  • Jacksonville, Fl. USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 10.0
    • JaxWeather.net
Re: Startup Problem
« Reply #6 on: January 19, 2012, 02:09:36 PM »
They look identical, with the exception that the old one was edited in Microsoft Expression Web, the new one was edited in Notepad. The old one had the variables indented, the new one doesn't. And that is the only difference I can see, except that one works and the other doesn't.


Editing in anything other than Notepad can introduce issues as these HTML editors all have a bad habit of formatting their own way or adding unwanted code.

Glad you got it sorted,
Bob

 

cumulus