Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi,

 

I am trying to get the Attribute Sets Plus contrib to work on my site. I went through the install instructions step by step and I *think* I've modified all the files necessary. I've run the sql script to alter the database and uploaded the modified/new files. The problem occurs in the Admin area when I click the Attribute Sets link. I get this error:

 

1146 - Table 'skort.TABLE_PRODUCTS_ATTRIBUTES_SETS' doesn't exist

select products_attributes_sets_id, products_attributes_sets_name from TABLE_PRODUCTS_ATTRIBUTES_SETS where 1 order by products_attributes_sets_name

[TEP STOP]

 

I'm not sure what this is telling me. I went into phpMyAdmin to look at the database and the table product_attribute_sets does INDEED exist. What mistake have I made?

 

Please enlighten me! Thanks!

Posted

From the install directions:

 

Step 5.1 Add database table names to /catalog/admin/includes/database_tables.php.

 

Add the following lines to this file: /catalog/admin/includes/database_tables.php

(!!!NOTE!!!)Be sure to put these two new functions BEFORE

the ending PHP tag which looks like this "?>" without the quotes.

 

// BOF Linkmatics attributes sets plus custom tables

define('TABLE_PRODUCTS_ATTRIBUTES_SETS', 'products_attributes_sets');

define('TABLE_PRODUCTS_ATTRIBUTES_SETS_ELEMENTS','products_attributes_sets_elements');

define('TABLE_PRODUCTS_ATTRIBUTES_SETS_TO_PRODUCTS', 'products_attributes_sets_to_products');

// EOF Linkmatics attributes sets plus custom tables

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

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...