Skip to Content Skip to Menu

[SOLVED][#5333] error in your SQL syntax

  • paxx
  • paxx
  • OFFLINE
  • Posts: 80
  • Thanks: 17
  • Karma: 0
9 years 5 months ago - 9 years 5 months ago #265683 by paxx
Hi
In user profile -> Rate my profile.
When clicking on a star this error occours:

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 '01:49:22)' at line 3 SQL=INSERT INTO `jos_comprofiler_ratings` (`user_id`, `type`, `item`, `target`, `rating`, `ip_address`, `date`) VALUES (498, 'field', 57, 486, 2, '80.217.68.100', 2015-06-10 01:49:22)

Any idea what this error is?

If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.
Last edit: 9 years 5 months ago by nant.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 5 months ago - 9 years 5 months ago #265703 by krileon
Replied by krileon on topic [#5333] error in your SQL syntax
Have moved your topic. Please be sure to post in the correct location when having an issue as if I didn't check the 3rd party template news topic this likely wouldn't have been found and fixed for days or weeks.

Was able to confirm your issue. It's due to missing quotes around the date when we change it to a UTC function that doesn't add quotes. Have created a bug ticket and will fix for new nightly release.

forge.joomlapolis.com/issues/5333


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.
Last edit: 9 years 5 months ago by nant.

Please Log in or Create an account to join the conversation.

  • paxx
  • paxx
  • OFFLINE
  • Posts: 80
  • Thanks: 17
  • Karma: 0
9 years 5 months ago - 9 years 5 months ago #265731 by paxx
Replied by paxx on topic [#5333] error in your SQL syntax
Hi
Sorry for this.
Thought it was a template issue since I was testing on jf_connecto_cb_20_v1.2 template.

Will think a little bit more carefully in future before posting.

If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.
Last edit: 9 years 5 months ago by nant.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 5 months ago #265758 by krileon
Replied by krileon on topic [#5333] error in your SQL syntax
This is now fixed in latest CB nightly that you can download below.

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build


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.
The following user(s) said Thank You: paxx

Please Log in or Create an account to join the conversation.

  • paxx
  • paxx
  • OFFLINE
  • Posts: 80
  • Thanks: 17
  • Karma: 0
9 years 5 months ago #265762 by paxx
Replied by paxx on topic [#5333] error in your SQL syntax
Hi
Thanks, can confirm that it´s all working correct now.

If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum