1. Robert Morrison
  2. Product Sale and Cost Price
  3. Wednesday, February 08 2017, 05:50 PM
  4.  Subscribe via email
I purchased your Product Sale and Cost Price extension for Opencart and when reports are activated the page shows this php error

Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Error No: 1064
SELECT op.name, op.model, SUM(op.quantity) AS quantity, SUM((op.price + op.tax) * op.quantity) AS total, SUM(op.price * op.quantity) AS total_ex, SUM(p.cost_price * op.quantity) AS cost_price FROM expo_order_product op LEFT JOIN `expo_order` o ON (op.order_id = o.order_id) LEFT JOIN expo_product` p ON (p.product_id = op.product_id) WHERE o.order_status_id > '0' GROUP BY op.product_id ORDER BY total DESC LIMIT 0,20 in /var/www/clients/client0/web2/web/system/storage/modification/system/library/db/mysqli.php:47 Stack trace: #0 /var/www/clients/client0/web2/web/system/storage/modification/system/library/db.php(16): DB\MySQLi->query('SELECT op.name,...', Array) #1 /var/www/clients/client0/web2/web/vqmod/vqcache/vq2-admin_model_report_product.php(78): DB->query('SELECT op.name,...') #2 /var/www/clients/client0/web2/w in /var/www/clients/client0/web2/web/system/storage/modification/system/library/db/mysqli.php on line 47

and can't access report page.

Please fix,
Robert
Comment
There are no comments made yet.
Add Comment
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi Robert

Please download new version from the OpenCart website, verion 1.1.

1.1 - 08-02-2017
# -> Bug Fix, database table prefix solved.

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 1
Robert Morrison Accepted Answer
0
Votes
Undo
Downloaded and installed. Problem still there.
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 2
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi Robert

GR, sorry, I forgot a ' character!

Please try download again, also version 1.1!

Sorry for the discomfort!

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 3
Robert Morrison Accepted Answer
0
Votes
Undo
Now fixed.

Thanks
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 4
Emeka Okwusi Accepted Answer
0
Votes
Undo
I just purchased the extension as well, using the 2.3.x but when am trying to install it it giving me error
Fatal error: Class 'VQMod' not found in /home/girlrtng/public_html/admin/controller/extension/module/owc_productsalecostprice.php on line 2

Also I can't find it in the User Group Access section, Pls what could be issue ? Kindly Help ASAP. If you need my FTP and Admin access kindly let me knw so you can assist me ASAP
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 5
Emeka Okwusi Accepted Answer
0
Votes
Undo
Thanks it worked
Comment
Very good!
  1. Dennis Buijs
  2. 5 years ago
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 6
irvin Accepted Answer
0
Votes
Undo
When i enable the plugin it goes to a white screen. Also, after installing this plugin i can no longer modify store settings.
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 7
dfn Accepted Answer
0
Votes
Undo
clip-on ponytail for black hair balmain hair extensions review hair extensions sale kids hairstyles for girls tape in hair extensions before and after hair extensions uk how to make your own hair tracks dark blonde real hair extensions human hair small hair clips hair extensions sydney cbd lace wigs uk
Comment
https://www.google.com
google.com/
[url=https://www.google.com]google.com/[/url]
  1. Guest
  2. 4 years ago
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Sale and Cost Price
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Welcome

Categories

OpenCart Free Extension
  1. 1 post
  2. 2 subcategories
OpenCart Commercial Extension
  1. 60 posts
  2. 17 subcategories
Sales & Billing
  1. 0 posts
  2. 2 subcategories
Welcome
  1. 4 posts
  2. 2 subcategories

Recent Discussions

Bug in module settings
Some problems with last update 2.99, All module settings are on one page and not...
86 Hits
0 Votes
Posted on Wednesday, September 13 2023, 10:26 AM
  • Resolved
  • Short description extension is not working
    I purchased the extension ( Order I'd : #1287623 ) and installed it. Licence cod...
    193 Hits
    0 Votes
    Posted on Thursday, July 27 2023, 10:43 AM
    Region / State problem
    When the module is enabled and a valid VAT number is entered, it fills in the da...
    493 Hits
    0 Votes
    Posted on Thursday, April 06 2023, 08:09 AM
    EU VAT Compliant with Quick Checkout -> Empty f
    Hello, we have bought your extension EU VAT Compliant in the Opencart Marketplac...
    526 Hits
    0 Votes
    Posted on Wednesday, January 04 2023, 02:22 PM
  • Resolved
  • Support Inventory Report
    Hi I need to get Inventory Report (https://www.opencart.com/index.php?route=m...
    563 Hits
    0 Votes
    Posted on Wednesday, November 23 2022, 04:09 PM
  • Resolved