Support

Home Forums Event Espresso Premium Cannot Log in to Either of EE iOS Mobile Apps

Cannot Log in to Either of EE iOS Mobile Apps

Posted: December 6, 2013 at 10:04 am


summitangel

December 6, 2013 at 10:04 am

I deleted all EE apps on my iPhone 5s. I then downloaded EE HD app (v 1.6.2) from the Apple app store. Next, to log in to the EE HD app, I carefully input my site url where EE plugins are loaded as well as the admin id and password there. I get an error message returned that says “Sorry, can’t log in… 404 – not found” Having researched the issue on the forum, I found a post (http://bit.ly/1aG9aU4) and can confirm I have version 2.2 of espresso services folder properly loaded. In fact, all mobile apps worked in Dec. 2012 when we last did an event.

So, I then downloaded the EE app (v 2.1) from the Apple app store. Once again, to log in to the EE app, I carefully input my site url where EE plugins are loaded as well as the admin id and password there. This time, the error message is “Sorry, can’t log in… HTTP/1.1 406 Not Acceptable” Having researched this error on the forum, I found a post (http://bit.ly/18dnfxL) and tried the urbangiraffe .htaccess addition. I still can’t log in.

Any ideas on troubleshooting?

Site Installation details:
Wordpress 3.7.1
http://summitangel.org (no online registration page – all of our attendees are imported)
WP Super Cache (loaded but deactivated)

EE Installed & Activated:
Event Espresso – Version 3.1.36.1.P
Event Espresso Attendee Import – Version 0.1
Event Espresso Permissions – Version 1.5.3
Event Espresso Ticketing – Version 2.1.p

EE Installed but Deactivated:
Event Espresso Multi Event Registration – Version 1.0.4
Event Espresso Recurring Events – Version 1.1.7


Tony

  • Support Staff

December 6, 2013 at 10:21 am

Hi Phillip,

The HD ios app uses the JSON API so you would need to install this.

The espresso-services folder is currently used for the Android app which will again be moving over to the API also.


summitangel

December 6, 2013 at 10:40 am

Thanks for the quick response, Tony. Added the JSON API plugin & then configured the JSON API to allow public access. Went back to iPhone and opened EE HD app (v 1.6.2). There’s still an error message, but it’s different –> “Sorry, can’t log in… Server response is zero-length; no data”

Without any troubleshooting yet on the regular EE app (v 2.1), it’s stil of course returning the same message as initially reported.


Josh

  • Support Staff

December 6, 2013 at 12:00 pm

Hi Phillip,

Can you try reactivating WP-super-cache, then clear the cache and turn caching off within its settings? If you deactivate WP-super-cache while caching is enabled it can cause problems.


summitangel

December 6, 2013 at 12:09 pm

Josh:

I reactivated WP Super Cache, cleared the cache and then turned caching off within its settings. Leaving that plugin activated but caching turned off within its settings, I deleted the EE apps from my phone and reinstalled them. Went ahead and tried to log in with both EE apps and received same error messages.


Tony

  • Support Staff

December 6, 2013 at 1:05 pm

To test the API is functioning you can visit this page:

http://summitangel.org/espresso-api/v1/events/public.pretty_json

You’ll notice it is just a white screen currently.

Can you try enabling WE_DEBUG and see if that page displays any errors?


summitangel

December 6, 2013 at 1:42 pm

Enable WP_DEBUG as “true” in wp-config.php. Here are the error messages returned when I visited the link you provided:

Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /home/summita/public_html/wp-includes/functions.php on line 3019

Notice: Undefined index: page in /home/summita/public_html/wp-content/plugins/wordpress-nextgen-galleryview/nggGalleryView.php on line 444

Notice: Undefined index: page in /home/summita/public_html/wp-content/plugins/wordpress-nextgen-galleryview/nggGalleryView.php on line 446

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/summita/public_html/wp-includes/functions.php:3019) in /home/summita/public_html/wp-content/plugins/event-espresso/espresso.php on line 55


summitangel

December 6, 2013 at 1:43 pm

Enable WP_DEBUG as “true” in wp-config.php. Here are the error messages returned when I visited the link you provided:

[code language=”php”]
Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /home/summita/public_html/wp-includes/functions.php on line 3019

Notice: Undefined index: page in /home/summita/public_html/wp-content/plugins/wordpress-nextgen-galleryview/nggGalleryView.php on line 444

Notice: Undefined index: page in /home/summita/public_html/wp-content/plugins/wordpress-nextgen-galleryview/nggGalleryView.php on line 446

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/summita/public_html/wp-includes/functions.php:3019) in /home/summita/public_html/wp-content/plugins/event-espresso/espresso.php on line 55

[/code]


Josh

  • Support Staff

December 6, 2013 at 4:18 pm

It’s the next generation gallery plugin that’s causing this. We are working on an update that will help prevent Next Gen gallery from breaking the API plugin. In the meantime, you can copy this to your theme’s functions.php (or in a custom snippet plugin) file as a temporary solution:

Custom snippet plugin instructions:

http://ottopress.com/2011/creating-a-site-specific-snippets-plugin/


summitangel

December 8, 2013 at 2:12 pm

I loaded the above code snippet without turning off next gen plug-ins. Still returning same errors on both apps.

I then tried turning off all next gen plugins. Same errors on both apps.

In the debug mode, the flickr gallery plugin came up in the error messages. So, I turned that off too. Same error messages on both apps.

While I probably can’t leave both the next gen and flickr apps off permanently, they are off for now – just to try and get EE apps working. When I turn the debug functionality back on on in wp-config.php and then click on http://summitangel.org/espresso-api/v1/events/public.pretty_json — here is what comes up –> http://summitangel.org/error-page.txt

Any other ideas?


summitangel

December 8, 2013 at 4:31 pm

With Flickr and NextGen plugins turned off, I added the .htaccess code from this site back in (http://urbangiraffe.com/2005/08/20/mysterious-406-error/) and now the EE HD app (v 1.6.2) is working. I can log in and perform ticket scans.

The regular EE app (v 2.1) is still giving the same error message – “Sorry, can’t log in… HTTP/1.1 406 Not Acceptable”


Josh

  • Support Staff

December 9, 2013 at 9:09 am

Can you check with the host/server admin to see if they do indeed have mod_security enabled?


summitangel

December 13, 2013 at 12:03 am

With mod_security now disabled by my web host and the the flickr and NextGen plugins still deactivated, EE HD app (v 1.6.2) appears to list all attendees for our 2013 event as far as I can tell. However, within tbe 2013 event after the attendees load, if I enter names in the search bar at the top of the attendee list, I can occasionally bring up registrations from 2012 – which I don’t think should happen. Regarding the regular EE app (v 2.1), I can log into it and search to find the 2013 event… however, when I try to fetch all attendees for our 12-19-2013 event, it hangs with the “loading – fetching attendees message” It never actually loads any attendees.

With mod_security disabled by my web host but the flickr and NextGen plugins reactivated as they should be, EE HD app (v 1.6.2) returns this error message –> “Sorry, can’t log in… Server response is zero-length; no data” Regarding the regular EE app (v 2.1), same result as above.


Josh

  • Support Staff

December 16, 2013 at 1:06 pm

Hi Philip,

Regarding this:

However, within tbe 2013 event after the attendees load, if I enter names in the search bar at the top of the attendee list, I can occasionally bring up registrations from 2012 – which I don’t think should happen.

I tried reproducing this on my test site and was not able to. Are the registrations that are from 2012 from an event that has the same name as the 2013 event?

Regarding:

the flickr and NextGen plugins reactivated as they should be, EE HD app (v 1.6.2) returns this error message –> “Sorry, can’t log in… Server response is zero-length; no data”

We’re working on adding a compatibility fix for the NextGen plugin for an upcoming release for the JSON API plugin. Can you let us know the exact name of the Flickr plugin (or even better a link to where we can download it?) so we can look into this further? Thanks.


summitangel

December 16, 2013 at 1:36 pm

In the EE dashboard on the website, there are three total events from the past and present. Two have a status of “closed” from last year. This year’s event has a status of “open”. While this year’s event and one of last year’s events share the same venue, I changed the event names so that they’re slightly different – one starts with “2012” and this year’s starts with “2013”. When I turn off the flickr and nextgen-related plugins and log into EE HD app (v 1.6.2), only one future event appears – the one with the “open” status on the EE dashboard on the site. I click on it and it goes to the list of attendees. If I search by last name on some of the attendees, I get back registrants within the app from the differently named event that took place in 2012.

The Flickr plugin is here -> http://wordpress.org/plugins/flickr-gallery/


Josh

  • Support Staff

December 17, 2013 at 10:01 am

Thanks for clarifying. I’ve created a ticket on the search issue for the developers to review.

I’ve tested the Flickr plugin and the next version’s compatibility fix works for this one too. It turns out that it’s a one line fix. If you’d to add it to what you have now it’s in espresso-json-api/includes/EspressoAPI_Router.class.php.

On lines 95 and 96 you will see:

EspressoAPI_Response_Formatter::setContentType($format);
echo EspressoAPI_Response_Formatter::format($response,$format);

In between those two lines you’ll add the fix so it becomes:

EspressoAPI_Response_Formatter::setContentType($format);
// prevent other plugins from breaking this
wp_ob_end_flush_all();
echo EspressoAPI_Response_Formatter::format($response,$format);


summitangel

December 18, 2013 at 11:59 am

Update… with mod_security disabled by my web host but the flickr and NextGen plugins reactivated as they should be – and then the code fixes implemented that you’ve previously suggested for NextGen and Flickr plugins, here are the results after deleting and re-installing both apps to my iPhone 5S:

The EE HD app (v 1.6.2) returns this error message –> “Sorry, can’t log in… Server response is zero-length; no data”

The regular EE app (v 2.1), I can log into it and search to find the 2013 event… however, when I try to fetch all attendees for our 12-19-2013 event, it hangs with the “loading – fetching attendees message” It never actually loads any attendees.

Our event is tomorrow, and I’m a little panicked at this point about getting everything functioning properly in time.


summitangel

December 18, 2013 at 12:00 pm

If I purchase a priority support token, would it be possible to receive help before 10am MT on December 19?


summitangel

December 18, 2013 at 12:19 pm

Correction —

With mod_security disabled by my web host but the flickr and NextGen plugins reactivated as they should be – and then the code fixes implemented that you’ve previously suggested for NextGen and Flickr plugins, here are the results

The EE HD app (v 1.6.2) returns this error message –> “Sorry, can’t log in… cannot decode raw data”

The regular EE app (v 2.1), I can log into it and search to find the 2013 event… however, when I try to fetch all attendees for our 12-19-2013 event, it hangs with the “loading – fetching attendees message” It never actually loads any attendees.


Josh

  • Support Staff

December 18, 2013 at 7:23 pm

Hi Philip,

There is a new version of the JSON API available that has the compatibility fixes. We may not be able to fix any further issues within your time frame (or within the 30 minutes of priority support time). If the new version of the JSON API does not fix the issues between the Flickr and NextGen plugins they could be temporarily deactivated in order to use the HD app.


summitangel

December 18, 2013 at 9:03 pm

As suggested, I updated the API plugin through the site dashboard. Oddly, while the plugin shows the new version, the update message is still appearing below the plugin itself (here’s a snip => http://summitangel.org/wp-content/uploads/2013/12/API-snip.jpg) There are no changes in the status as to how either app works.

At the outset of this post, you suggested the android versions of the event espresso app still use the espresso-services folder. Since it worked last year, is the EE app on android likely to still work with our site with the photo gallery plugins activated?


Josh

  • Support Staff

December 18, 2013 at 9:20 pm

The current android app and the non-HD IOS app both use the old espresso-services API. If the non-HD IOS app doesn’t work with your set up it’s likely that the android app will not work either.

I’m not sure what’s going on with the update notification, but I can check with the developer of the plugin update engine tomorrow and he will look into it.


summitangel

December 18, 2013 at 11:04 pm

I turned off the flickr and nexgen plugins. Then, I deleted and reinstalled the two apps. Roughly the same problems continue – I am unable to get back to a list of participants.

The EE HD app (v 1.6.2) returns this error message –> “Sorry, can’t log in… Server response is zero-length; no data”

The regular EE app (v 2.1), I can log into it and search to find the 2013 event… however, when I try to fetch all attendees for our 12-19-2013 event, it hangs with the “loading – fetching attendees message” It never actually loads any attendees.

Any suggestions?


summitangel

December 19, 2013 at 12:22 am

Started this forum post almost two weeks ago and am disappointed. Our annual nonprofit event starts in 9 hours, and I’m unable to pull an attendance list through either of the phone apps. Also probably unable to use android phones to check in. Will be difficult to explain to the rest of my team handling the physical event set-up why EE worked so much better last year than it will this year.


Tony

  • Support Staff

December 19, 2013 at 1:03 am

Hi Phillip,

If you would like to send your log in details using https://eventespresso.com/send-login-details/ I’ll take a look and see if I can see anything.

Unfortunately I can’t promise anything as this is something we can not re-create currently, but I’ll have a look and see with a fresh pair of eyes.

I will need to turn WP_DEBUG on/off a couple of times, if your ok with that please also ensure you include FTP details.

The support post ‘Cannot Log in to Either of EE iOS Mobile Apps’ 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