Error on this website - 'obj' is undefined
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexThis Site
Author Message
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Error on this website - 'obj' is undefined
Posted: Thu Apr 09, 2009 6:01 am
Reply with quote

IE7 is throwing up an error for me on this site these days:

Line:29
Char:32
Error: 'obj' is undefined

Seems to appear on every page I view. Anything I should do?


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
rlgura
1000+ Posts Club


Joined: Mar 27, 2006
Posts: 1148
Location: Cleveland, OH USA

PostPost subject: Re: Error on this website - 'obj' is undefined
Posted: Thu Apr 09, 2009 6:41 pm
Reply with quote

Code:
<script type="text/javascript">
var gat = function(){
	if (typeof(_gat) != "undefined")
	{
		try{var pageTracker=_gat._getTracker("UA-6671839-1");pageTracker._trackPageview();}catch(e){}
	}
};
if (window.addEventListener) { window.addEventListener("load", gat, false); }
else if (window.attachEvent) { window.attachEvent(obj, "onload", gat); }
</script>

yep, attachEvent takes only 2 parameters

_________________
Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
Back to top
View user's profile Visit poster's website
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Error on this website - 'obj' is undefined
Posted: Thu Apr 09, 2009 7:50 pm
Reply with quote

So the bug is at the DragonflyCMS end?

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Error on this website - 'obj' is undefined
Posted: Sat Apr 11, 2009 10:26 am
Reply with quote

Thanks for noticing. I've modified it and hope it works.

I'm testing google analytics in XHTML Wink


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Error on this website - 'obj' is undefined
Posted: Sat Apr 11, 2009 10:48 am
Reply with quote

That's fixed it DJ. I presume this was just an error affecting this site rather than one we might see in the next upgrade on our own sites?

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexThis Site All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.3997 seconds with 16 DB Queries in 0.0322 seconds
Memory Usage: 2.89 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy