Attributes & Products

Posts: 96
Joined: 09/24/2007
Getting busy with the Ubercode.

Right now I cannot assign a attribute to a product, the page is there, I set up my attribute list and when i add it to the product and click continue, it says n/a i cannot set it to be required or remove it. Not sure if this has been fixed but I didn't see anythign similar to it. I will try and track down the problem in the code unless someone tells me its fixed in the cvs.

edit:
im running beta3 & drupal 5.6, all is a clean install

Posts: 96
Joined: 09/24/2007
Getting busy with the Ubercode.

I just pulled the updated files from the csv and that fixed it. glad that thing has a change log associated with it

Posts: 96
Joined: 09/24/2007
Getting busy with the Ubercode.

now I am seeing something else, i cannot choose the options. I am getting the %d options have been saved. im looking at the code to see if i can find my problem, think it is in uc_object_options_form (line 876ish)

if i find it i will post it here.

[code]

* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE = AND aid = 1' at line 1 query: DELETE FROM WHERE = AND aid = 1 in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(, aid, ordering, required, default_option) VALUES (, 1, 1, 0, 0)' at line 1 query: INSERT INTO (, aid, ordering, required, default_option) VALUES (, 1, 1, 0, 0) in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE = AND oid = 1' at line 1 query: DELETE FROM WHERE = AND oid = 1 in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(, oid, cost, price, weight, ordering) VALUES (, 1, 1, 0, 0, 0)' at line 1 query: INSERT INTO (, oid, cost, price, weight, ordering) VALUES (, 1, 1, 0, 0, 0) in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE = AND oid = 1' at line 1 query: DELETE FROM WHERE = AND oid = 1 in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(, oid, cost, price, weight, ordering) VALUES (, 1, 2, 0, 0, 0)' at line 1 query: INSERT INTO (, oid, cost, price, weight, ordering) VALUES (, 1, 2, 0, 0, 0) in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE = AND oid = 1' at line 1 query: DELETE FROM WHERE = AND oid = 1 in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(, oid, cost, price, weight, ordering) VALUES (, 1, 3, 0, 0, 0)' at line 1 query: INSERT INTO (, oid, cost, price, weight, ordering) VALUES (, 1, 3, 0, 0, 0) in C:\websites\monkeybizusa.com\includes\database.mysql.inc on line 172.
[/code]
this is after I loaded it on a dev box. I should have the fix shortly