cloudy cloudy

Author Topic: Web address change problem (Resolved)  (Read 90 times)

0 Members and 1 Guest are viewing this topic.

Offline eastbourne

  • Posts: 6
  • OS/Browser:
  • Mac OS X 10.11.6
  • Safari 11.1.2
Web address change problem (Resolved)
« on: September 11, 2019, 10:52:24 AM »
Hi, 
I have included steel gauges in my web site for many years but have had to change to a new domain.
I thought it would be easy - just copy the steel folder to the new site, change the realTimeURL_WD entry in gauges.js to the new domain and bosh-bash-bosh it will be done.  No so!
As it's a long time since I set it up, I can't remember if anything else needs to be changed.
Any help would be appreciated.
http://www.itsfine.uk/wx1/steel/web_server/gauges-ss1.php

« Last Edit: September 11, 2019, 03:18:10 PM by eastbourne »

Offline mcrossley

  • Posts: 658
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win NT 10.0
  • Chrome 76.0.3809.132
    • WilmslowAstro Weather
Re: Web address change problem
« Reply #1 on: September 11, 2019, 10:59:41 AM »
It looks like your server is blocking access to the realtime data file...

Quote
Access to XMLHttpRequest at 'http://www.itsfine.org/wx1/customclientraw.txt?_=1568199437431' from origin 'http://www.itsfine.uk' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It looks like a cross domain problem, the web site www.itsfine.uk is requesting data from www.itsfine.org
Mark

Offline eastbourne

  • Posts: 6
  • OS/Browser:
  • Mac OS X 10.11.6
  • Safari 11.1.2
Re: Web address change problem
« Reply #2 on: September 11, 2019, 01:54:24 PM »
Thanks Mark for your reply.  I do not understand why it would be requesting from the old site as CCR is being generated in the new directory.
The WD flash version is working ok on the new site. Do you know where I should be looking to find this request, WD or Steel Gauges?

Offline mcrossley

  • Posts: 658
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win NT 10.0
  • Chrome 77.0.3865.75
    • WilmslowAstro Weather
Re: Web address change problem
« Reply #3 on: September 11, 2019, 02:04:46 PM »
Went to look, but its working now :)
Mark

Offline eastbourne

  • Posts: 6
  • OS/Browser:
  • Mac OS X 10.11.6
  • Safari 11.1.2
Re: Web address change problem
« Reply #4 on: September 11, 2019, 02:49:47 PM »
Nice - Obviously knew you were on the case and decided to behave!
Thanks very much.
How do I mark this thread as resolved?

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,250
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 76.0.3809.132
Re: Web address change problem
« Reply #5 on: September 11, 2019, 03:00:33 PM »
Go back to your first post in the thread and edit (modify) the title.

Offline eastbourne

  • Posts: 6
  • OS/Browser:
  • Mac OS X 10.11.6
  • Safari 11.1.2
Re: Web address change problem (Resolved)
« Reply #6 on: September 11, 2019, 03:18:45 PM »
Thanks Niko