Posted: December 28, 2016 at 4:41 pm
|
Sorry for the xmas timing but i have a new years event expecting to sell up to 1600 tickets. We are using the HD ios app (version 2,4 does not work and assume hd is newer than the other). I have updated setting on my phone to allow for 1000 attendees which seems to work however when we set this to unlimited only 40 attendees show per event. The issue is attendee numbers in ee admin and in the mysql db say there are 694 attendees. (all completed transaction) the ios app says there are only 576 attendees and has not changed even as people are buying. I assume there is a limit issue or db caching issue – we are not using any caching plugins. What are the end points for the app, i have been testing the rest api at https://homelincoln.co.uk/espresso-api/v1/events/170/registrations/ht9qwtgd2d/ but am not sure what else to do. will the other 1100 attendees be rejected? Thanks Wayne |
Hi Wayne, Can you check the Event Espresso > API settings in your WordPress admin to see if there are limits set there? |
|
|
thanks for the speedy reply. limits are all set at 2000 except events which are at 50 in the admin as are the settings in the phone. Does the rest api cache for 24 hours? |
No the API add-on does not cache results. |
|
|
Not sure if this helps |
No not really. One thing I suspect is your server might hitting a query limit so it’s stopping at 576 registrations when the app sends the request. That’s one of the improvements that they made in EE4 and the EE4 apps where they were able to add pagination. |
|
|
all ask our server guys, however if I manually query https://homelincoln.co.uk/espresso-api/v1/events/170/registrations/ht9qwtgd2d/?status=approved&limit=700 |
|
I have spoken with our hosting providers and they say there is also no limit. What query does the app do when you have selected the the event – so i can test it here. assuming it is similar to above? Thanks |
It might be best if you can send a copy of the database then we can test/troubleshoot on another server. You can send to support |
|
|
Hi Wayne |
Hi Wayne, I checked the app on your test server, and the app loads 726 attendees, which is the same number of attendees that get exported to the CSV file report. Side note, the app didn’t load any attendee data until after I disabled the All In One WP Security plugin. One thing you can try with the app is go to its settings and increase the timeout setting past whatever its set to now. |
|
|
odd, i still get 576 when i log into either account? What phone, ios and app are you using? Thanks for looking into this. |
It’s an iPhone 5s, iOS version 10.1.1, and the app is the Event Espresso HD app version 1.6.4, which is this one: https://itunes.apple.com/us/app/event-espresso-hd/id604494948?mt=8 Did you try changing the timeout settings? Also, have you tried swiping down on the list to force a refresh? |
|
|
I have deleted the app on my phone and so have a few other admins on their phones. We now have 792 which is closer but the event is saying 828, which we are all getting. timeout setting are at max and have refreshed, wp security disabled. |
|
Sorry for the mass of emails. I noticed that around 36 completed transactions in the db had no first or last name (not sure how they managed to submit the form), I have adde their details to the attendee information by cross referencing the paypal transactions. I thought this may fix disparity but it only added a few extra in the attendee list. Is there anything im missing that need to be added to the db, i.e attendee meta? W |
Hi Wayne, You can run the CSV export of registrations for that event and that will give you the correct total. |
|
|
Hi Josh |
The apps for EE3 do not factor in the quantity field of the registration row from the db. So the app is basically only counting the number of completed registration rows in the db. If you view a registration in the app, it will show the Quantity value there. |
|
|
Cheers Josh, all makes sense now. one last thing, potentially, can the json api queries be tweaked i.e in facadereadfunctions file could $totalItemsInDB = intval($wpdb->get_var(“SELECT COUNT(id) FROM {$wpdb->prefix}events_attendee”)); be replaced with |
I don’t think so Wayne, the app will still do its own query for registrations. |
|
The support post ‘ee3 ios app issues’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.