Posted: March 10, 2017 at 5:33 pm
|
Hello, I installed the Event Espresso app on my iPhone. Then I logged into the app with my WordPress admin login. When the Event Espresso app loads, it’s empty and gives an alert window for errors. The first one says: Error Sorry, you are not allowed to list events. [ok] When I click OK to close the alert, I get a blank page that says “No records found” To my knowledge, everything is active on the site that should be. And we have sold many tickets to many events. And we have many upcoming events in the system through many future months. Here’s a screenshot of the active EE plugins: https://www.screencast.com/t/FhijzdjqWq I need to get this app going for my client who desires to use phones/apps to check in ticket buyers at the next event. Thank you for your help. Chris |
Hi Chris, You can get the app up and running by following this guide: https://eventespresso.com/wiki/ee4-event-apps/#troubleshooting |
|
|
Thank you Josh, I went through the troubleshooting checklist and verified each applicable item: 1. Permalinks have been set to Post name since the beginning of the site. I worked with my host support for literally one hour and five minutes, as they went through the server and site testing and trying things. Nothing changed, I still get the same error, and they reported that nothing appears in error logs. BTW – I’m logged into the app on my iPhone as a site admin. And with each test, I closed the app and re-opened it. The app logs me in without issue (automatically) each time, then the spinner appears, and then the same alert window appears. Any new ideas? Chris |
Do you know what your host checked and tested? I did an unauthenticated GET request to http://yoursite.com/wp-json/ee/v4.8.36/events/ and that’s correctly a JSON response of event data. A GET request to the /registrations/ route requires authentication, and that’s where you’re having problems, the authorization header isn’t getting passed. So can your host identify what’s causing the Authorization header to not get passed? |
|
|
Thank you for the help. |
|
I’m going rounds with my host and not getting results. I’ve created a new ticket with them, and hope they can make sense of this thread and the page linked in it. The htaccess fix didn’t work. I wish this app worked out of the box (as I thought it would have). I told my client I’d have them up and running, checking in their ticket sales at their events. Eff me 🙂 Chris |
Hi Chris, The app does work out of the box with most hosts. May I ask which hosting company do you use to host the website on? |
|
|
Thank you Josh, This is hosted on a managed dedicated, physical server at LiquidWeb. If you have the smarts to look at what’s causing this I can get you the server, SFTP, cpanel and others logins required. Chris |
Hi Chris, You mentioned earlier that the server is running Apache with FCGI. Can you change it so PHP is installed as an Apache module instead? |
|
|
Josh, Thank you for letting me know about this option. I will find out if it can be done. |
|
Hello Josh, Here is what my host has looked into and done. (we’re still not able to use the ticket check-in app–same error) – – – Jeff Ruedger (Liquid Web) Hi I logged into the server and started looking more deeply into this. I have the following installed in the .htaccess file of http://xxxxxxxxxx.com # Begin Custom htaccess I put it at the top, before WP begins. I then made sure that you have the module for Apache required to run that command. [root@host public_html]# httpd -L | grep -i mod_setenvif Those are installed. So, when I run the link you sent I still get this error. [the link which requires authentication and which is the issue: {“code”:”rest_registrations_cannot_list”,”message”:”Sorry, you are not allowed to list registrations. Missing permissions: ee_read_registrations,ee_read_others_registrations”,”data”:{“status”:403}} ;; ANSWER SECTION: I verified that they were clear in your firewall. There is no information in the apache error log regarding this, and the domain error log has not registered a fault since Mar 2. Just to clarify the server configuration. I also verified you have the most current WP-json. I have looked for modsec errors caused by that call out. I’m adding a curl -i for him to see if he can identify the problem. cyberman@cyberman:~$ curl http://xxxxxxxxxx.com/wp-json/ee/v4.8.36/registrations/ {“code”:”rest_registrations_cannot_list”,”message”:”Sorry, you are not allowed to list registrations. Missing permissions: ee_read_registrations,ee_read_others_registrations”,”data”:{“status”:403}} I’ll keep looking for something on the server. Jeff Ruedger Liquid Web Inc – – – |
Did they actually send a valid username and password combination in the Authorization header when they sent a request to the /registrations/ route? |
|
|
This wasn’t mentioned. Can you give me a sample to give to them? Thank you. But–my login works on the app, but I still get the data error, after everything so far the app still won’t work. So, I doubt a username/pass test will do anything. Thoughts? |
A request to the /registrations/ route requires authorization. So if they didn’t include a username and password in the request via Basic Auth, then it’s expected that they’d get a response that says “Sorry, you are not allowed to list registrations”. If you use a tool like Postman, then you can follow this screenshot that shows how to set up the request. |
|
The support post ‘Event App Error: You are not allowed to list events. Missing permissions: ee_rea’ 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.