General
 A-shop support » General
Subject Topic: checkout problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
catvmark
Newbie
Newbie
Avatar

Joined: 12 September 2009
Online Status: Offline
Posts: 1

Warning level: (0%)
Minus 1 warningCurrent warnlevel: 0%Add 1 warning
Posted: 12 September 2009 at 20:48 | IP Logged Quote catvmark

all seems to be working fine until i test the checkout function. then I get this error.

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'csng'
/a-shop/includes/functions/common.asp, line 72


suggestions?
Back to Top View catvmark's Profile Search for other posts by catvmark
 
Jibon
Admin Group
Admin Group
Avatar
Developer

Joined: 01 October 2003
Location: Bangladesh
Online Status: Offline
Posts: 72

Warning level: (0%)
Minus 1 warningCurrent warnlevel: 0%Add 1 warning
Posted: 13 September 2009 at 14:07 | IP Logged Quote Jibon

csng will fail if it's argument is null, maybe your price value is null or some other error in the code causes the value to be lost.

Whenever you input any product - don't forget to give weight value. If you dont want to give any weight of product, give 0 value. This is important.

Back to Top View Jibon's Profile Search for other posts by Jibon Visit Jibon's Homepage
 
minosgal
Newbie
Newbie
Avatar

Joined: 23 October 2009
Location: United States
Online Status: Offline
Posts: 2

Warning level: (0%)
Minus 1 warningCurrent warnlevel: 0%Add 1 warning
Posted: 06 November 2009 at 13:18 | IP Logged Quote minosgal

Ok, I get the same error on the add to cart function.
I do have weight listed for each item.
I do not have a product url for each item, though. could this cause the problem?
Running on IIS 5.1 on my home computer, so I'm not sure what the product url refers to...
thnx

Back to Top View minosgal's Profile Search for other posts by minosgal
 
minosgal
Newbie
Newbie
Avatar

Joined: 23 October 2009
Location: United States
Online Status: Offline
Posts: 2

Warning level: (0%)
Minus 1 warningCurrent warnlevel: 0%Add 1 warning
Posted: 06 November 2009 at 13:29 | IP Logged Quote minosgal

Nevermind. I had stupidly entered '1 lb' in the weight box, instead of simply entering '1' for the weight
Back to Top View minosgal's Profile Search for other posts by minosgal
 
Jibon
Admin Group
Admin Group
Avatar
Developer

Joined: 01 October 2003
Location: Bangladesh
Online Status: Offline
Posts: 72

Warning level: (0%)
Minus 1 warningCurrent warnlevel: 0%Add 1 warning
Posted: 06 November 2009 at 16:32 | IP Logged Quote Jibon

It is not stupidity dude. It is good thing. You fall in problem and you find the solution.
Back to Top View Jibon's Profile Search for other posts by Jibon Visit Jibon's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum