YAHOO undefined at add to cart??
rdlugosz
Registered Users Posts: 277 Major grins
Is anyone else seeing this? I click (as a logged-out user in MSIE) buy this photo & I see the following error:
I see it in any gallery... thoughts?
http://gallery.rrdphoto.com
I see it in any gallery... thoughts?
http://gallery.rrdphoto.com
0
Comments
Portfolio • Workshops • Facebook • Twitter
Portfolio • Workshops • Facebook • Twitter
edit: Cleared cookies & cache; error still coming up.
Portfolio • Workshops • Facebook • Twitter
I can not validate with any of the browsers I am running. That error means that the one of our yahoo javascript files did not load for some reason.
edit: it's not; see below.
http://gallery.rrdphoto.com/include/js/yui/yahoo/yahoo-min-20060728180535.js
Well, it's not the firewall. I just reproduced the error on a second PC (personal; not with any of the work junk installed) and connected to the net via my verizon phone (so it's absolutely not going through any of my work firewalls). I get the same problems on my site as well as Andy's!
Any updates on this one guys?
Portfolio • Workshops • Facebook • Twitter
update: same behavior at home; we'll see what my friend says.
There's definitely something going on. From a friend in detroit in his javascript console:
I tried your site:
IE6: No problem
FireFox 1.5.0.6: I get an error in the console that YAHOO is not defined.
And,
It happens also on my site. Go to a gallery, click 'buy this photo' and FireFox report the 'YAHOO is not defined' error.
Update:
When on my site (before and after hitting the buy button), i type into the FireFox address bar:
javascript:YAHOO
I get [object Object] as a reply. This is good, since YAHOO is defined.
Strange... YAHOO is there, at least after the page has been loaded. Is there a sync error between the execution of the JavaScript and clicking the 'buy' button?
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
in the function call addCartSingle the following line appears...
addToCartFrame.setAttribute("src", "http://www.smugmug.com/cart/frameaddtocart.mg?ImageIDs="+ImageIDs);
Checking the source for result from frameaddtocart.mg,
This HTML has a reference to the smugmug.js which contains the definitions for the YAHOO aliases, but there is no js reference to YAHOO libraries.
Cheers,
David
SmugMug API Developer
My Photos
You may have script debugging disabled in IE; this could explain why you don't see the error here.
David - you da man! Hopefully the SM guys can put in a quick patch for this one. Thanks for looking into it.
Portfolio • Workshops • Facebook • Twitter