Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] SQL Error

  • ssvt
  • ssvt
  • OFFLINE
  • Posts: 37
  • Thanks: 4
  • Karma: 0
7 years 5 months ago - 7 years 5 months ago #296482 by ssvt
[SOLVED] SQL Error was created by ssvt
I'm, trying to implement the feature I asked about here: www.joomlapolis.com/forum/153-professional-member-support/237151-beta-test-invites

but I'm getting this error message:

An error has occurred.

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 '' at line 2


when using this query cited in the tutorial:
SELECT * FROM `membercodes`
WHERE `code`='[value]' AND NOT EXISTS( SELECT * FROM `#__comprofiler` WHERE `cb_memberaccesscode`='[value]')


I'm on Joomla 3.7.5. MySQL version 5.6.36-82.1. Any ideas what might be wrong? I'm setting it exactly as in the tutorial. Thanks.
Last edit: 7 years 5 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • ssvt
  • ssvt
  • OFFLINE
  • Posts: 37
  • Thanks: 4
  • Karma: 0
7 years 5 months ago #296483 by ssvt
Replied by ssvt on topic SQL Error
Never mind - solved it!
Big screen = small font + old, tire eyes = spelling error!
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum