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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 Problems and bugs
 Error On Admin Pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kendiala
VP-ASP New User

57 Posts

Posted - April 10 2007 :  14:46:13  Show Profile  Reply with Quote
I'm working on a new installation of v6.50 and getting an error upon logging into the administrative area:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'fldauto in ()'.

/catalog/shopheaders.asp, line 1672


Has anyone else had this problem? Any ideas how to fix it?

Thanks.

zmwang66
Starting Member

USA
2 Posts

Posted - April 17 2007 :  14:49:18  Show Profile  Reply with Quote
I have exactly same problem after new installation of v6.50. Please help.

diaG_dbtest.asp ALL PASS.

============
Henry Wang
Go to Top of Page

support
Administrator

4266 Posts

Posted - April 17 2007 :  22:59:54  Show Profile  Visit support's Homepage  Reply with Quote
Hi!

Can you please post this in our Helpdesk at http://www.vpasp.com/virtprog/helpdesk so we can look into this for you?

Regards,
Claire
VP-ASP Support
Go to Top of Page

Mark Priest
VP-ASP Expert

United Kingdom
570 Posts

Posted - May 10 2007 :  10:34:23  Show Profile  Reply with Quote
I'm getting the same, however i'm running MySQL

It would be nice if when things like this are fixed by support that the fixes are posted here in the forum so we can mend the errors ourselves, otherwise we end up tying up support for the same thing over and over again!

Regards,

Mark
Buy Fireworks

Edited by - Mark Priest on May 10 2007 10:34:56
Go to Top of Page

support
Administrator

4266 Posts

Posted - May 10 2007 :  10:39:39  Show Profile  Visit support's Homepage  Reply with Quote
Hi Mark,

We do not like really posting code on the forum as it can sometimes cause more problems than it solves.

However please try this:
Locate ShowShortcuts in shopheaders.asp.

Change it to use the following code instead:

Sub ShowShortcuts
dim shortdbc, shortrs, shortcutids
shopopendatabase shortdbc
set shortrs = shortdbc.execute("select shortcut from tbluser where fldusername = '" & getsess("shopadmin") & "'")
if not shortrs.eof Then
shortcutids = shortrs("shortcut")
if shortcutids = "" Or IsNull(shortcutids) Then
closerecordset shortrs
shopclosedatabase shortdbc
exit Sub
end If
set shortrs = shortdbc.execute("select * from tblaccess where fldauto in (" & shortcutids & ")")

Hope this helps

Thanks
Cam,

VP-ASP Support
Go to Top of Page

Mark Priest
VP-ASP Expert

United Kingdom
570 Posts

Posted - May 10 2007 :  10:43:51  Show Profile  Reply with Quote
Hi Cam,

Thanks for that, I understand, maybe there should be an area dedicated to this for valid users only.


Regards,

Mark
Buy Fireworks
Go to Top of Page

Mark Priest
VP-ASP Expert

United Kingdom
570 Posts

Posted - May 10 2007 :  10:46:02  Show Profile  Reply with Quote
PS, answer in under 5 minutes!! Now that's good support

Regards,

Mark
Buy Fireworks
Go to Top of Page

support
Administrator

4266 Posts

Posted - May 10 2007 :  10:47:50  Show Profile  Visit support's Homepage  Reply with Quote
That's not a bad idea actually.

We will be releasing our first update in a few weeks which will cover off on this and a few other issues that have popped up.

Most are simple one line fixes so a secure section for customers who want to apply the updates themselves may be a possibility.

We will have a discussion about it at our next weekly meeting and see what comes out.

Thanks
Cam

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