Closed (fixed)
Project:
Ubercart
Version:
6.x-2.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2012 at 19:49 UTC
Updated:
9 Jan 2013 at 19:57 UTC
Jump to comment: Most recent file
The sales tax report does not output any data, neither on-screen or Exported as CSV.
Store Admin > Reports > Sales Tax Report
Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''(\'order_transmitted\')' AND ucoli.type = 'tax'' at line 1 query: SELECT ucoli.amount, ucoli.title, ucoli.data FROM uc_orders ucord LEFT JOIN uc_order_statuses ON order_status_id = order_status LEFT JOIN uc_order_line_items ucoli ON ucord.order_id = ucoli.order_id WHERE 1262325600 <= created AND created <= 1335851999 AND order_status IN '(\'order_transmitted\')' AND ucoli.type = 'tax' in /home/MYSITE/public_html/sites/all/modules/ubercart/uc_tax_report/uc_tax_report.admin.inc on line 52.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1555082.patch | 1.15 KB | tr |
Comments
Comment #1
tr commentedTry this:
Comment #2
nelslynn commentedPatch works... thanks for the quick fix.
Comment #3
tr commentedCommitted.
Comment #4
remco75 commentedPatch works.
Comment #6
ambientdrup commentedJust confirming - patch works for me as well.
-Trevor
Comment #7
odisey commentedI got to learn how to apply patches ..... =) Any input or where I can learn this .... Thanks all!
Comment #8
longwaveSee http://drupal.org/patch/apply or just download Ubercart 6.x-2.x-dev which includes this patch already.
Comment #9
odisey commentedTHX longwave ..... I will do that!
Comment #10
SchwebDesign commentedthis patched fixed the issue for us too, thanks!
Comment #10.0
SchwebDesign commentedEdit