VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 City name with union in it - HELP!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

39 Posts

Posted - October 07 2009 :  23:37:04  Show Profile  Reply with Quote
We are processing quite a few orders a day on our system and we got a compaint from a customer stating that they couldn't order from our website. Each time they entered the Billing information it would kick back stating that City is required. Apparently anytime you have a two word city with Union in it ( Union City, Union Turnpike, etc..) it will kick it back out and the customer can't order.

Has anyone experienced this? I tried it on a demo site and the same thing happened. Any ideas on a fix?


4284 Posts

Posted - October 08 2009 :  00:17:54  Show Profile  Visit support's Homepage  Reply with Quote
Hi there,

Union is a reserved word as a result of SQL injections however you can remove it from the list following these steps.

Try this.

1. Open file shop$db.asp using notepad.

2. Locate these codes below :

strWords = replace(strWords, "''", "'")

3. After the codes above, please insert these codes :

strWords = replace(strWords,"Union", "Union*")

4. Save the file and upload to your site.

Hope this helps.


VPASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000