Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4021) - 04 May 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

HTTP error on many computers, but.. not mine

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
OliII
Posts: 54
Joined: Mon 19 Mar 2012 11:47 am
Weather Station: WMR 200 by Oregon Scientific
Operating System: WinXP SP3
Location: Belgium

HTTP error on many computers, but.. not mine

Post by OliII »

Hi !
I've installed the SSGauges last version into my website, but with a big problem :
On my computer, that i works on for the website, the jauges are working fine.
But, on another computer, in the same network like my weather computer, my netbook, or at work , the browser get the http request error...
No jauges displayed..
url : http://bit.ly/16lN8r5
Based on phpbb forum templates system. gauges scripts is on root/meteo/scripts, css on root/meteo/css/ and tempalte on a specific system.

Where's the problem ?
Image
http://www.7331.be/meteo website based on the phpBB3 forum and template. WMR200 + UVN 800 - Cumulus 1.9.4 1062 / Windows XP Service Pack 3 build 2600 FR
mikkimii
Posts: 42
Joined: Fri 23 Mar 2012 3:17 pm
Weather Station: Davis VP2
Operating System: Windows 7 x64 Pro
Location: Vilppula, Finland

Re: HTTP error on many computers, but.. not mine

Post by mikkimii »

http://www.7331.be/meteo/jauges.php seems working normally.
Br,
Mika
Image
User avatar
mcrossley
Posts: 12815
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: HTTP error on many computers, but.. not mine

Post by mcrossley »

You have a cross domain issue.

The web page is on "http://7331.be" and you are trying to load the realtime txt file from "http://www.7331.be"

Code: Select all

XMLHttpRequest cannot load http://www.7331.be/styles/7331/template/meteo/realtimegauges.txt?_=1363018923865. Origin http://7331.be is not allowed by Access-Control-Allow-Origin. 
So where you have specified the realtime file location you have included the host name as well...

Code: Select all

            realTimeURL_Cumulus: 'http://www.7331.be/styles/7331/template/meteo/realtimegauges.txt',     //*** Cumulus Users: Change to your location of the realtime file ***
I think this should just be..

Code: Select all

            realTimeURL_Cumulus: 'realtimegauges.txt',     //*** Cumulus Users: Change to your location of the realtime file ***
OliII
Posts: 54
Joined: Mon 19 Mar 2012 11:47 am
Weather Station: WMR 200 by Oregon Scientific
Operating System: WinXP SP3
Location: Belgium

Re: HTTP error on many computers, but.. not mine

Post by OliII »

Ok, solved.
Image
http://www.7331.be/meteo website based on the phpBB3 forum and template. WMR200 + UVN 800 - Cumulus 1.9.4 1062 / Windows XP Service Pack 3 build 2600 FR
Post Reply