- Posts: 46
- Thank you received: 0
Request more tickets than available generates problem
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
4 days 2 hours ago #173766
by Martin Herzhauser
Request more tickets than available generates problem was created by Martin Herzhauser
Hi,
if I try to book more tickets than available, I get the message that e.g I requested 8 tickets but only 3 are available. So far so good.
But after that I get the registration form presented to enter name and so again, but I cannot change the ticket amount as the field is not shown.
So I have to leave and start from the beginning...
There is a back button or something like this missing.
Regards,
Martin
if I try to book more tickets than available, I get the message that e.g I requested 8 tickets but only 3 are available. So far so good.
But after that I get the registration form presented to enter name and so again, but I cannot change the ticket amount as the field is not shown.
So I have to leave and start from the beginning...
There is a back button or something like this missing.
Regards,
Martin
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Thank you received: 0
4 days 1 hour ago - 3 days 20 hours ago #173767
by Martin Herzhauser
Replied by Martin Herzhauser on topic Request more tickets than available generates problem
-deleted-
Last edit: 3 days 20 hours ago by Martin Herzhauser.
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Thank you received: 0
3 days 22 hours ago #173770
by Martin Herzhauser
Replied by Martin Herzhauser on topic Request more tickets than available generates problem
I made some screenshots to show the problem. The dialogues already translated, but I think you will understand what I mean:
I have a fully booked event with activated waiting list feature...in the waiting list we have three empty places.
I request 3 tickets and press next
I enter my information and click on process
At the top I get a message that I want to add 3 members to the waiting list but there are maximum 3 possible?!
I could now enter all registration infos again, but I cannot change the amount of tickets.
If I press the back button I can't do anythng anymore...
Is this a problem of the template, of my browser (Microsoft Edge) or did I something wrong?
Regards,
Martin
I have a fully booked event with activated waiting list feature...in the waiting list we have three empty places.
I request 3 tickets and press next
I enter my information and click on process
At the top I get a message that I want to add 3 members to the waiting list but there are maximum 3 possible?!
I could now enter all registration infos again, but I cannot change the amount of tickets.
If I press the back button I can't do anythng anymore...

Is this a problem of the template, of my browser (Microsoft Edge) or did I something wrong?
Regards,
Martin
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Thank you received: 0
3 days 22 hours ago - 3 days 20 hours ago #173771
by Martin Herzhauser
Replied by Martin Herzhauser on topic Request more tickets than available generates problem
-deleted-
Last edit: 3 days 20 hours ago by Martin Herzhauser.
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Thank you received: 0
3 days 21 hours ago - 3 days 20 hours ago #173775
by Martin Herzhauser
Replied by Martin Herzhauser on topic Request more tickets than available generates problem
Perhaps this is the point (for the wrong caluclation in the waiting list, not for the point that you cannot access the quantity field anymore)?
if ($numberWaitingListAvailable <= $numberRegistrants)
{
$errors = Text::sprintf(
'EB_NUMBER_WAITING_LIST_REGISTRANTS_ERROR',
$numberRegistrants,
$numberWaitingListAvailable
);
}
File register.php, Line 702. Should be <, not <=
If I'm wrong, forget about...I had never dealt with php...
Update: Just made a change via FTP to that file and now at least the counting is correct, but the behaviour of the site if you try to book more than available not...
if ($numberWaitingListAvailable <= $numberRegistrants)
{
$errors = Text::sprintf(
'EB_NUMBER_WAITING_LIST_REGISTRANTS_ERROR',
$numberRegistrants,
$numberWaitingListAvailable
);
}
File register.php, Line 702. Should be <, not <=
If I'm wrong, forget about...I had never dealt with php...
Update: Just made a change via FTP to that file and now at least the counting is correct, but the behaviour of the site if you try to book more than available not...
Last edit: 3 days 20 hours ago by Martin Herzhauser.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 days 2 hours ago #173783
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Request more tickets than available generates problem
Hi Martin
Yes. It should be <, not <=, so the change you mentioned is correct
Regards,
Tuan
Yes. It should be <, not <=, so the change you mentioned is correct
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Thank you received: 0
3 days 1 hour ago #173786
by Martin Herzhauser
Replied by Martin Herzhauser on topic Request more tickets than available generates problem
Ok, perfect. Than at least I could point to this location in the code.
I tried now for hours to find the behaviour of the element which I showed in the screenshots, but in js I'm even worse than in php. It has something to do with the error handler, but I cannot get it. Do you have an idea here?
I tried now for hours to find the behaviour of the element which I showed in the screenshots, but in js I'm even worse than in php. It has something to do with the error handler, but I cannot get it. Do you have an idea here?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 days 1 hour ago #173787
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Request more tickets than available generates problem
For the error handle issue, honestly, I have no clue. If you click on Back button, you should be able to change number of registrants. Not sure what happens when you click on Back button ?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Thank you received: 0
3 days 1 hour ago #173788
by Martin Herzhauser
Replied by Martin Herzhauser on topic Request more tickets than available generates problem
As shown in Post
joomdonation.com/forum/events-booking-ge...-problem.html#173770
I never have the chance to come back to the quantity field. This only happens if there was the red error handler coming up before. In the "good" case, that I have no error and just want to change the quantity, it works. It seems that if the code for the error message is called the normal work flow is interrrupted.
I never have the chance to come back to the quantity field. This only happens if there was the red error handler coming up before. In the "good" case, that I have no error and just want to change the quantity, it works. It seems that if the code for the error message is called the normal work flow is interrrupted.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
2 days 23 hours ago #173789
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Request more tickets than available generates problem
Hi Martin
Maybe you can send me link to registration form and tell me step by step what I need to do to see the error so that I can understand the issue better?
Tuan
Maybe you can send me link to registration form and tell me step by step what I need to do to see the error so that I can understand the issue better?
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.