Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

QTPro problems, 1064 error


Recommended Posts



I recently added QTPro to a mildly modified OSC shop. After performing the installation and swapping the following in (provided in another post):




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=



Please help...many gracious thank yous ahead of time :-)

Link to comment
Share on other sites

  • 4 weeks later...

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

Link to comment
Share on other sites

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,,'',)



Any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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