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. 3 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. 2 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. 33 posts
  2. 17 subcategories
Sales & Billing
  1. 2 posts
  2. 2 subcategories
Welcome
  1. 2 posts
  2. 2 subcategories

Recent Discussions

Using EU VAT Compliant as existing customer
Hi, I've purchased EU VAT Compliant and believe I've installed it correctly, ...
380 Hits
0 Votes
Posted on Saturday, November 28 2020, 09:58 AM
  • Resolved
  • Error after installing
    Password proctected content
    192 Hits
    0 Votes
    Posted on Thursday, December 24 2020, 06:33 PM
  • Resolved
  • $$$ doesn't work as a separator of the keywords
    check here please https://www.screencast.com/t/wiBfHBxmP the $$$ doesn't wor...
    360 Hits
    0 Votes
    Posted on Friday, November 20 2020, 07:11 PM
  • Resolved
  • Teveel issues na installatie
    Hallo, We hebben zojuist jullie module gekocht en install gedaan, maar lopen ...
    320 Hits
    0 Votes
    Posted on Monday, November 09 2020, 03:30 PM
  • Resolved
  • for opencart module "Product Page Extra Field
    for opencart module "Product Page Extra Fields" is it possibility for ...
    381 Hits
    0 Votes
    Posted on Tuesday, September 08 2020, 02:21 AM