www.uburst.com www.uburst.com

"error trying to use uShopOrderButton"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

CGI Script Related Problems
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"error trying to use uShopOrderButton"
Posted by chris flynn on Dec-19-00 at 08:43 PM (EST)
Whenever I use this class I get error "Object doesn't support this property or method." Anyone know what this generally implies. Out of time now and will look at this in the morning. I'm using this on my display_cart.html page to show a user what his/her cart looks like and when I click the gif "demo_order_button" to activate the
uShopOrderButton I get this error. I haven't yet moved things to my server, but it should be able to display the cart without this error I would think. Thank!
Chris
Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: error trying to use uShopOrderB..., Bill Weiner, Dec-20-00, (1)
re: error on line 33 says Explorer, Chris Flynn, Dec-20-00, (2)
re: error on line 33 says Explorer, Bill Weiner, Dec-21-00, (3)
got it to work but why.., chris flynn, Dec-28-00, (4)
RE: got it to work but why.., Bill Weiner, Dec-29-00, (5)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: error trying to use uShopOrderButton"
Posted by Bill Weiner on Dec-20-00 at 06:11 AM (EST)
I would need to look at it myself, but normally any error such as "Object doesn't support this property or method"... indicates that you are using a mixture of old and new class files. For example, if you are using an older version of the uShopLibrary class... but a newer version of the uShopOrderButton class... the uShopOrderButton might be trying to call a new method that was added to a newer version of the uShopLibrary class. So in other words, just make sure all the class files that you are using came from the same download file.

On a side note, it sounds like you are trying to put the uShopOrderButton applet on the special "display_cart.html" page? That really can't/shouldn't be done. If anything, you could possibly add it to your "template_cart.html" page (which is the template that gets displayed by the "display_cart.html page)... but really, you should not be linking directly to the "display_cart.html" page at all. Rather, the uShopOrderButton applet should be placed on one of your regular store pages.... and the uShopOrderButton will automatically handle loading the "display_cart.html" page when the customer wishes to begin the checkout process.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "re: error on line 33 says Explorer"
Posted by Chris Flynn on Dec-20-00 at 06:57 PM (EST)
Thanks for your help. Looking at the second answer,
When I try to call the display_cart directly from my store I get the error that at line 33, pointing to:

var html = document.uShopJSI.getCartHTML();

This lead me to put the display_cart or what it is doing with the button on another page. Does this indicate anything further or am I still mixing old and new classes, would this error indicate??

If so, I'll just buy the product and do a fresh install maybe.

Thanks much.
Chris

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "re: error on line 33 says Explorer"
Posted by Bill Weiner on Dec-21-00 at 06:25 AM (EST)
I'd have to see the page myself to understand what is going on, so if you give me the URL, I will take a look at it. My guess, however, is that your uShopJSI applet is not being loaded on that page....most likely due to the CODEBASE setting. See the following reference page for more information on the CODEBASE setting:

http://www.uburst.com/uShop/codebase.html

But again, that "display_cart.html" page should really be located in your classes directory and you really should not be linking directly to it. Instead, you should just use the uShopOrderButton applet... which will handle loading that page (just as we have it setup in our demo).

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "got it to work but why.."
Posted by chris flynn on Dec-28-00 at 08:00 PM (EST)
When I hit the back key after invoking the uShopOrderButton just html source is displayed and not the HTML.. This seems to happen when I hit the back key all the time!! I've got everything else working but this.. After I fix this I can convince management that this is the way to go and by the product..
thanks!!
Chris
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
5 . "RE: got it to work but why.."
Posted by Bill Weiner on Dec-29-00 at 06:06 AM (EST)
Which "back key" are you using? The browser's "Back" button or the "Back" button that automatically get's put on the first "Review Cart" page that is displayed when your press the uShopOrderButton? For that specific "Review Cart" page, you must use the "Back" button that is located on that page (as opposed to the browser's "Back" button). If that IS the "Back" button that you are using... but you are still seeing the HTML source when you press it, then give me the URL and I will take a look at it.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.