DanK Posted February 18, 2003 Posted February 18, 2003 Greetings, I recently added QTPro to a mildly modified OSC shop. After performing the installation and swapping the following in (provided in another post): http://www.msu.edu/~sloughwi/order_details.php I still have the following error in my admin, stock area? 1064 - You have an error in your SQL syntax near 'where products_id=' at line 1 update products set products_quantity= where products_id= [TEP STOP] Please help...many gracious thank yous ahead of time :-) Quote
sloughwi Posted February 19, 2003 Posted February 19, 2003 Please let me know which file is generating that error by looking in the address bar when that error occurs. <something>.php Quote Nothing Unreal Exists
DanK Posted March 14, 2003 Author Posted March 14, 2003 If someone has the time I would greatly appreciate some assistance. Everyone seems to have good things to say about qtpro 2, but the only change I see is "stock" in the admin section. And that fails with the previously mentioned error. :?: Quote
zookerman Posted March 14, 2003 Posted March 14, 2003 Does anyone have QTPro running on the latest milestone - 2.2MS1? I tried adding the contribution to a box stock installation and receive the following errors when updating stock. Warning: Variable passed to each() is not an array or object in /home/sites/site21/web/zadmin/stock.php on line 17 Warning: Wrong datatype in sort() call in /home/sites/site21/web/zadmin/stock.php on line 25 Warning: Bad arguments to join() in /home/sites/site21/web/zadmin/stock.php on line 26 1064 - You have an error in your SQL syntax near ''',)' at line 1 insert into products_stock values (0,,'',) [TEP STOP] Any ideas? Quote
zookerman Posted March 15, 2003 Posted March 15, 2003 Found the answer to the 1064 error for anyone else who sees it. Check your version of PHP. It needs to be 4.1 or higher. Then all is well with QTPro v2 and 2.2MS1. Quote
Recommended Posts
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.