Error on Back End when manually registering a user

  • Matt Hankosky
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 6 months ago #68866 by Matt Hankosky
When we try to manually register a user to an event on the back end, we get this error

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 BY registrant_number DESC LIMIT 0, 1' at line 4 SQL=SELECT price FROM JOM_eb_event_group_prices WHERE event_id = 2 AND registrant_number <= ORDER BY registrant_number DESC LIMIT 0, 1



This started happening after upgrading to 2.0.4


Matt

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

More
10 years 6 months ago #68880 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error on Back End when manually registering a user
Hi Matt

I think the reason is because when you create the registration record, you forgot to enter Number Registrants. Please try again, make sure you enter number registrants (for example, enter 1 to that input box)

After that, it should work as expected

Regards,

Tuan
The following user(s) said Thank You: Matt Hankosky

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

  • Matt Hankosky
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 6 months ago #68882 by Matt Hankosky
Replied by Matt Hankosky on topic Error on Back End when manually registering a user
Yes, That did the trick.. Can we default that Box to "1" or throw up an error like "Missing Registration Count"

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

More
10 years 6 months ago #68883 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error on Back End when manually registering a user
Yes. Will work on it on tomorrow. When it is empty, I think we can safe set it to 1. You don't have to enter it, so it will save sometime :)

Tuan
The following user(s) said Thank You: Matt Hankosky

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

  • Matt Hankosky
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 6 months ago #68884 by Matt Hankosky
Replied by Matt Hankosky on topic Error on Back End when manually registering a user
Excellent!

Thanks!!!

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

More
10 years 6 months ago #68930 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error on Back End when manually registering a user
Hi Matt

This is now implemented. You can download latest version from My Downloads section, upgrade it to your site to have this option / feature

Tuan

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

Moderators: Tuan Pham Ngoc