Support

Home Forums Event Espresso Premium Mobile App shows no events for "All" and "Past" yet some events for "Upcoming"

Mobile App shows no events for "All" and "Past" yet some events for "Upcoming"

Posted: May 23, 2018 at 2:03 pm


smallfryart

May 23, 2018 at 2:03 pm

Hello,

My site has many upcoming events over the next few months yet only two are showing up in “Upcoming” and zero are showing up in “All” or “Past”. Any thoughts on why that would be?


Josh

  • Support Staff

May 23, 2018 at 3:03 pm

Hi there,

I’m afraid I have no thoughts on why that would be, but we can investigate further. May I ask which app platform (iOS or Android)? and what’s the version number of the app?


smallfryart

May 29, 2018 at 6:33 pm

I’m running version 2.6.3 on iOS version 11.3.1. I’m happy to give you whatever access to my site that you need. My wife really wants to start using the checkin functionality. Thanks for the help!


Tony

  • Support Staff

May 30, 2018 at 7:16 am

Hmm, strange.

I just sent the same request the mobile apps would to your site and got a list of events.

Can you send temporary login details using this form:

https://eventespresso.com/send-login-details/

Also, can you update to the latest version of the app? The current version is 2.6.4 – https://itunes.apple.com/gb/app/event-espresso-4/id1095432613?mt=8


smallfryart

June 6, 2018 at 9:23 am

OK i just submitted my credentials. And as it turns out, when i download version 2.6.4 from the app store, the login page of the app still shows version 2.6.3 as the version number.


Tony

  • Support Staff

June 7, 2018 at 4:09 am

Hi there,

Can you remove the other roles set on the account you provided and just have it as an Administrator, please?

I’m currently getting an error message stating I don’t have the correct permissions and I think the multiple roles are causing the problem.


smallfryart

June 7, 2018 at 1:46 pm

Done


Tony

  • Support Staff

June 7, 2018 at 4:29 pm

Hmm, ok.

I’m still getting the same error with Android, with an iPad I’m getting the same results as you with it showing nothing on the Upcoming or All tabs.

For the android requests is looks like the authorization is failing, on iOS (and directly on the site) the requests return a status code of 500, see:

http://smallfryart.studio/wp-json/ee/v4.8.36/events?order_by%5BEVT_name%5D=ASC&include=Datetime.*,Venue.*&calculate=Datetime.spaces_remaining_considering_tickets,Datetime.registrations_checked_in_count,Datetime.registrations_checked_out_count,Datetime.spots_taken_pending_payment,image_thumbnail,image_large&limit=0,20

Scroll to the bottom of the page and you’ll see an error message.

Do you have access to the servers error logs? If you have cPanel you usually have an error log section in that, any errors shown there?


smallfryart

June 18, 2018 at 10:22 am

In CPanel I see a section called “errors” that shows me the last 300 errors on the site and it is currently empty. Any other thoughts??


smallfryart

June 18, 2018 at 10:28 am

Note, when I click on the link you provided above, i don’t believe that i’m getting an error. I’m going to try to paste the results here.


smallfryart

June 18, 2018 at 10:29 am

yeah it won’t let me post that much. But I seem to be getting good results when I click that link. So why can’t my iOS device get these results?


smallfryart

June 18, 2018 at 10:33 am

now when I log into the mobile app on iOS, i see no events in any of the categories.


smallfryart

June 18, 2018 at 10:43 am

Just FYI, I have the following plugins installed for my site. I think they were all installed in an attempt to get event espresso mobile applications working:

– Application Passwords
– JSON Basic Authentication
– Members


Tony

  • Support Staff

June 19, 2018 at 2:59 am

In CPanel I see a section called “errors” that shows me the last 300 errors on the site and it is currently empty. Any other thoughts??

We spent some time investigating this and it looks like you are hitting some kind of limit on the server, likely a query limit.

The strange part now is that requests which failed previously now work, but…. they all seem to return the same response and all return a status code of 500.

Which type of hosting are you using?

Note, when I click on the link you provided above, i don’t believe that i’m getting an error. I’m going to try to paste the results here.

Yeah something has changed on the server side, I’m not getting the error shown on the page any longer but the page does still return a status code of 500 – http://take.ms/fld9N

But I seem to be getting good results when I click that link. So why can’t my iOS device get these results?

Because your server is returning a status code of 500, that’s an error code, not a success code. So when the apps use the status code to confirm the request is valid they see an error 500 which means the request is not valid and they stop there.

now when I log into the mobile app on iOS, i see no events in any of the categories.

Yeah it looks like something has changed so the requests that worked and didn’t return status 500, now do.

Just FYI, I have the following plugins installed for my site. I think they were all installed in an attempt to get event espresso mobile applications working:

– Application Passwords
– JSON Basic Authentication
– Members

De-activate Applcations Passwords and JSON Basic Auth, they aren’t needed.

Members should be fine and I’m assuming you need that plugin?


smallfryart

June 20, 2018 at 8:37 am

Yeah now i’m seeing the 500 response when loading the link you sent me and watching the network traffic. So i’m hosted through godaddy. It’s a linux cpanel setup. Should i call godaddy?


Josh

  • Support Staff

June 20, 2018 at 8:48 am

With GoDaddy hosting we’ve found that you’ll need to edit the site’s .htacess file and add a line of code that forces the Authorization header:

So you can try this. Open up your .htaccess file in a code editor and make an edit. You add the following:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
Immediately before the line that has
# BEGIN WordPress


smallfryart

June 20, 2018 at 9:07 am

I already have that in my .htaccess.


smallfryart

June 20, 2018 at 9:12 am

specifically:

# Begin Custom htaccess
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
# End Custom htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


Josh

  • Support Staff

June 20, 2018 at 9:16 am

It sounds like you’ll need to contact GoDaddy and ask them if they can investigate why those requests are returning a status code of 500. There’s a chance that they’ll reply back and say it’s a plugin error. The thing about that though is the plugin does not return the status code of 500, the server returns the status code.


smallfryart

June 20, 2018 at 9:20 am

yuck…


smallfryart

June 20, 2018 at 9:47 am

this is what I get from godaddy after explaining the problem to them: “As per our specialist, unfortunately, there is no way for us to get an error log that shows why the server returns a 500 for that specific URL 🙁

We apologize for any inconvenience this may cause. I hope you don’t take it against me.”


smallfryart

June 20, 2018 at 9:48 am

Is there any help you guys can provide or is this feature basically not going to work for me?


Josh

  • Support Staff

June 20, 2018 at 2:45 pm

I can help point you in the direction to rule out a plugin/theme conflict, in case this isn’t a hosting issue. What you would do to rule those out is temporarily deactivate all plugins except Event Espresso, and temporarily switch to the default theme (these days the default theme is twentyseventeen).

If the issues continue to persist even with the above temporary changes, then I can help point you in the direction of switching to one of the recommended hosts listed here:
https://eventespresso.com/requirements/


smallfryart

June 27, 2018 at 8:17 am

Dude you rock. I did what you said above and determined that this plugin is what was screwing things up:

https://ssl.webaware.net.au/

Everything is working now! Thanks!!!!

The support post ‘Mobile App shows no events for "All" and "Past" yet some events for "Upcoming"’ 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.

Event Espresso