Ok i found the problem (well, at least I found a solution). I had created some events with the “single ticket mode” flag set to ‘no’. Later, i changed that setting to ‘yes’, and that seems to have caused the problem with the tickets created previously with the flag set to ‘no’. I created a new event with the flag set to ‘yes’, and i now get the ‘you must login…’ text for guest users, as I wanted.
So the problem is that these previous events created with single ticket mode = no, don’t work when set to yes. I even went in and tried to marked the event as not allowing registration (to delete the tickets), and re-enabling it, but that didn’t seem to work either.
I think there’s a bug in this logic somewhere – flipping this flag shouldn’t break the logic of the ‘bookings closed’ vs. ‘please login…’ text. I started looking at the php code and debugging, but once i found this solution i stopped. I suspect there’s some broken logic in the bookings/tickets classes where an invalid ticket is returned when an event created with single ticket mode = no, and then the single ticket mode is set to yes.
Hope this helps to correct the problem.
Thanks
Alan