Posted: 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: EE Installed & Activated: EE Installed but Deactivated: |
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. |
|
|
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. |
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. |
|
|
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. |
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? |
|
|
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
|
|
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: 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] |
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/ |
|
|
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? |
|
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” |
Can you check with the host/server admin to see if they do indeed have mod_security enabled? |
|
|
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. |
Hi Philip, Regarding this:
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:
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. |
|
|
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/ |
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); |
|
|
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. |
|
If I purchase a priority support token, would it be possible to receive help before 10am MT on December 19? |
|
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. |
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. |
|
|
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? |
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. |
|
|
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? |
|
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. |
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.