Welcome to Act1 Interactive Ecommerce Marketing Solutions - The best in implementing your ecommerce goals for the future! We offer: shopping cart, shopping cart application, coldfusion ecommerce shopping cart, E-Commerce,The JavaScript.Pro ecommerce shopping cart, shopping cart ,The ColdFusion.Pro Commerce Cart E-Commerce Shopping Cart E-Commerceecommerce shopping cart,E-Commerce Shopping Cart E-Commerce,JSP, coldfusion application development, ecommerce marketing online marketing services international markets worldwide increase sales traffic search engines submission optimization, PR targeted linking online promotion banner advertising, ecommerce marketing online marketing services international markets worldwide increase sales traffic search engines submission optimization, PR targeted linking online promotion banner advertising, wholesale how to create ecommerce website design free shopping cart application, shopping cart software, website online marketing, shopping cart utilities, strict inventory control Visa Mastercard Discover UPS USPS Parcel authorize.net authorize ecommerce cart shopping solution online authorize net act1 interactive coldfusion application server web design cart hosting java script javascript asp CGI order fulfillment script meta-http content revisit after shopping cart application, shopping cart software, website online marketing, shopping cart utilities, strict inventory control ecommerce retail javascript database, jsdb, sales online Coldfusionpro.com javascriptpro.com act1.net www fedex transaction perl SQL 2000 database operations CRM sales email online shopping cart application, shopping cart software, website online marketing, shopping cart utilities, strict inventory control solution 241 http://demo.javascriptpro.com http://javascriptpro.com http://demo.act1.net Home 1 Administration Current Orders Order Details Shipping Prices Product Import Export Related Items Cross Selling Related Items Assignment Product Edit Grid Control Product Specials Orphan Images Search Results Email Specials Product Details Checkout Process Receipt Content Management
Phone: 614.989.9764

  Act1 Interactive
  About
  Cart Features
  Admin Controls
  Product Search
  Checkout Process
  Shipping
  Transactions
  Customization
  Licensing

TOUR LINKS
  Start Tour
  Administration
  Current Orders
  Order Details
  Shipping Prices
  Import/Export
  The Product Editor
  Related Items (A)
  Related Items (B)
  Editting Grid
  Product Specials
  Image Control
  Search Results
  Email Specials
  Product Detail
  Checkout Process
  Receipts
  Cart Statistics
Welcome to Act1 Interactive Ecommerce Marketing Solutions - The best in implementing your ecommerce goals for the future! We offer: shopping cart, shopping cart application, coldfusion ecommerce shopping cart, E-Commerce,The JavaScript.Pro ecommerce shopping cart, shopping cart ,The ColdFusion.Pro Commerce Cart E-Commerce Shopping Cart E-Commerceecommerce shopping cart,E-Commerce Shopping Cart E-Commerce,JSP, coldfusion application development, ecommerce marketing online marketing services international markets worldwide increase sales traffic search engines submission optimization, PR targeted linking online promotion banner advertising, ecommerce marketing online marketing services international markets worldwide increase sales traffic search engines submission optimization, PR targeted linking online promotion banner advertising, wholesale how to create ecommerce website design free shopping cart application, shopping cart software, website online marketing, shopping cart utilities, strict inventory control Visa Mastercard Discover UPS USPS Parcel authorize.net authorize ecommerce cart shopping solution online authorize net act1 interactive coldfusion application server web design cart hosting java script javascript asp CGI order fulfillment script meta-http content revisit after shopping cart application, shopping cart software, website online marketing, shopping cart utilities, strict inventory control ecommerce retail javascript database, jsdb, sales online Coldfusionpro.com javascriptpro.com act1.net www fedex transaction perl SQL 2000 database operations CRM sales email online shopping cart application, shopping cart software, website online marketing, shopping cart utilities, strict inventory control solution 728 http://demo.javascriptpro.com http://javascriptpro.com http://demo.act1.net Home 1 Administration Current Orders Order Details Shipping Prices Product Import Export Related Items Cross Selling Related Items Assignment Product Edit Grid Control Product Specials Orphan Images Search Results Email Specials Product Details Checkout Process Receipt Content Management
TRY OUR DEMO!!!
CLICK BELOW FOR A
LIVE ONLINE DEMO!
GET ADMIN LOGIN
The Act1 Interactive Shopping Cart has both JavaScript and ColdFusion error logging capabilities to help track potential problems within its clients sites. In this help article, we'll show you the simple way to set up error controls which work to help you save time and money by catching the errors right away. By using ANY of these scripts, credit must be provided within your site as to the original copyright of the error handling scripts you are using.

JavaScript Error Handling

  • window.onerror=MyError
  • function MyError(message,url,line)
  • window.open()
  • error log routine
  • window.close()

    "window.onerror"
    The window.onerror javascript handler is typically set by most novice programmers to be: window.onerror=null; however, we can use the variables for the error message, the URL, and the line which was the cause of the error to log this information for use in trouble-shooting. We are able to pass that information to a custom function we have created called: MyError().

    "function MyError()"
    The MyError function will accept the three variables from the error handler and pass them on to do anything we want with them. What we find it best to do is use the MESSAGE and LINE of the error generated and URL encode the page with a CGI variable. If you don't care for Netscape 4.7x users, this is best set with document.location as a javascript variable. With this info we formulate the Str variable which will be set as the URL to go to in the window.open routine.

    function MyError(message,url,line){//Uses ColdFusion
    	var Str="/JSErrorSave.cfm?Message="+message+"&myURL=#URLENCODEDFORMAT(CGI.PATH_INFO)#&Line="+line;
    	var NewError=window.open(Str,"Error","left=0,top=0,width=1,height=1,status=0,location=0")
    }
    
    function MyError(message,url,line){//Uses only javascript
    	var Str="/JSErrorSave.cfm?Message="+message+"&myURL="+document.location+"&Line="+line;
    	var NewError=window.open(Str,"Error","left=0,top=0,width=1,height=1,status=0,location=0")
    }
    

    "window.open()"
    The window.open() function is a native function in javascript which allows you to open a new window and size it with specific parameters. In this instance, we are creating a variable called NewError, which is going to be assigned a value if the function is run. We pass the Str value for the URL to go to and create a window called Error. The additional parameters size the window as small as we can so we run a file called JSErrorSave.cfm.

    var NewError=window.open(Str,"Error","left=0,top=0,width=1,height=1,status=0,location=0")

    "error log routine"
    This part is the section which you can use your own creative freedom in saving the error. We do have custom scripts which can be set up to save the information to a database or file in ASP, Perl, or ColdFusion. If you do not have the capacity to create a CGI script to save the Message, URL, and Line to a file or database, you can contract with us to create this custom routine on your server. We do also recommend saving the date & time combination as well as the Unique ID and/or Remote Host IP Address if you create your own script. In our shopping cart, we use this information to track this back to the user's statistics to see if additional problems occurred for that user.

    "window.close()"
    The last line of the routine for the JSErrorSave.cfm script will be to run a native javascript function called window.close(). At this point, the small window does not need to hang around any longer. Since our site created the new window, we also have the scripting power to close it. This routine makes the user almost unaware that a minor javascript error has occurred. You can create other custom functions to run alerts or redirect the parent page to another location using window.opener.location='someOtherPage.cfm' if you detect certain types of errors occurring.


    This wraps up this section for JavaScript Error Handling. If you need any assistance in working on your own custom script, we are open for business.

  • Act1 Interactive Shopping Cart © 1999-7 Act1 Interactive
    Columbus, Ohio - 614.989.9764