Page 1 of 1

Undefined error !!

Posted: Mon 04 Jan 2010 4:57 pm
by meteotortosa
Hi to all

Sometimes I have this undefined error :shock:. What do you think is happening?
Captura-7.png

Re: Undefined error !!

Posted: Mon 04 Jan 2010 5:18 pm
by daj
Hi

I assume this is your site? http://www.meteotortosa.cat/web2/

Your site is highly customised from the standard template and I would say the error is possibly something to do with your javascript code being unable to find the data to build your page. (Possibly the JS is trying to read data that Cumulus is in the process of uploading). Or there may be a bug in the code which only surfaces occasionally.

Let me look a bit further into your site and see what I can find

Re: Undefined error !!

Posted: Mon 04 Jan 2010 6:25 pm
by meteotortosa
daj wrote:Hi

I assume this is your site? http://www.meteotortosa.cat/web2/

Your site is highly customised from the standard template and I would say the error is possibly something to do with your javascript code being unable to find the data to build your page. (Possibly the JS is trying to read data that Cumulus is in the process of uploading). Or there may be a bug in the code which only surfaces occasionally.

Let me look a bit further into your site and see what I can find
Yes, my web is www.meteotortosa.cat and web data is http://www.meteotortosa.cat/liveview/strict.htm

thanks daj

Re: Undefined error !!

Posted: Mon 04 Jan 2010 6:29 pm
by beteljuice
I suspect, as daj suggests, there are times when the AJAX cannot find realtime.txt and the version you are running can't cope.

In an ideal scenario, if the ajax fails it does nothing - then the last 'good' ajax call remains - or - if it is the first call, you use <#webtags> where you can in the html, then because of the failure that doesn't get overwritten.

Does that make sense ?