Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Seperate Pricing per Customer Mod -Error-


MaTBoY

Recommended Posts

Hi Guys,

I need some help!

I recently installed the 'Seperate Pricing per Customer' mod to my site exactly as per instructions.

When you click down the product tree you get this error

 

1064 - You have an error in your SQL syntax near '-_db' at line 1

show table status from soccerstop_com_au_-_db

[TEP STOP]

 

It only occurs when clicking through the tree. If you click through via the actual items in the main page the site works fine.

 

I have STS Template system also installed, and the server is running MySQL 3.23.58

 

If any of you have advice or a fix I'd be exceptionally grateful!

Thanks in advance guys! :thumbsup:

Link to comment
Share on other sites

1064 - You have an error in your SQL syntax near '-_db' at line 1

show table status from soccerstop_com_au_-_db

[TEP STOP]

The problem is the hyphen in the database name. It was mentioned in the changelog_v411.txt file ;)
- includes/functions/database.php see: http://www.oscommerce.com/forums/index.php?sho...ndpost&p=563454 (the sql statement "show table status from" has a problem with hyphens in the table name, therefore backticks should be placed around it in that case)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...