user warning: Table 'magic_database.uc_restrict_qty_products' doesn't exist query: SELECT * FROM uc_restrict_qty_products WHERE nid = 343 AND model = 'FreeTrial' in /www/magic/public_html/sites/all/modules/uc_restrict_qty 2/uc_restrict_qty.module on line 151.
user warning: Table 'magic_database.uc_restrict_qty_products' doesn't exist query: INSERT INTO uc_restrict_qty_products (pfid, nid, model, qty, lifetime) VALUES (6, 343, 'FreeTrial', 1, 1) in /www/magic/public_html/includes/common.inc on line 3467.
Comments
Comment #1
abemonkey commentedI'm getting the same errors here. I really need to get this site up with quantity restrictions so any help would be appreciated. Thanks.
Comment #2
jalane81 commentedJust tested after posting the bug and verified that the product was NOT restricted.
Comment #3
Stanto commentedTo fix it, it's pretty easy.
Just open the file uc_restrict_qty.install, and remove line 19 :
'unsigned' => TRUE,You could also remove line 20.
The serial type is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE so there is no need to repeat that again.
Should be enough.
Comment #4
abemonkey commentedDid exactly as you said and it didn't fix the warning. Any other ideas?
Comment #5
raulmuroc commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).