[#5092] CBSubs Payments Center - Error 1064: You have an error in your SQL syntax...

9 years 2 months ago - 9 years 2 months ago #259098 by giecie
J 3.3.6
CB 2.0.5 - pkg_communitybuilder_2.0.5.ci.2015.02.11.00.20+ade62a1e8
CBSubs-4.0.0-rc.1.ci.2015.02.07.00.20-unzip1st-85b2ccd27.zip

E.g.: CBSubs Payments Center overview as showed in the attachment.

When I click the 'Paid On' dates, 'Completed' amounds and 'Pending' amounds the filter works fine.
When I click the 'New Registrations, 'Upgrades' and/or 'Renewals' I get the following errors;

E.g.: For 'New Registrations';
1064 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 '= '1' ) AND ( a.`time_paid_date` = '2015-02-18' )' at line 2 SQL=SELECT COUNT(*) FROM `xyz_cbsubs_payments` AS a WHERE ( (.`newregs` = '1' ) AND ( a.`time_paid_date` = '2015-02-18' )

E.g.: For 'Upgrades';
1064 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 '= '1' )' at line 2 SQL=SELECT COUNT(*) FROM `xyz_cbsubs_payments` AS a WHERE ( a.`time_paid_date` = '2015-02-18' ) AND ( (.`upgrades` = '1' )

E.g.: For 'Renewals';
1064 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 '= '1' )' at line 2 SQL=SELECT COUNT(*) FROM `xyz_cbsubs_payments` AS a WHERE ( a.`time_paid_date` = '2015-02-18' ) AND ( (.`renewals` = '1' )

Are these known issues in CBSubs?

Br.
Attachments:

Please Log in to join the conversation.

9 years 2 months ago #259121 by krileon
Was able to confirm your issue. Unsure if it's a problem in CB XML library or CBSubs at this time, but have created a CB ticket for further investigation until a cause can be determined and the appropriate ticket made.

forge.joomlapolis.com/issues/5092


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.150 seconds

Facebook Twitter LinkedIn