Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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 :-)

Posted

Please let me know which file is generating that error by looking in the address bar when that error occurs. <something>.php

Nothing Unreal Exists

  • 4 weeks later...
Posted

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

Posted

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?

Posted

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.

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