Posted: January 21, 2013 at 9:17 am
|
I have installed the mobile api and have a correctly installed EE but when I want to load the mobile app it fails. It will connect to the server and will succesfully logi. After the login it fails though and seems to get stuck in a loop, continously ‘fetching events’. What can I do to solve this? |
Hi Jeroen, Is this a single site installation of WordPress, or a multi-site installation? |
|
|
Hi Josh, It’s about a multisite installation. |
Hi Jeroen, The ticketing add-on does not work with multisite installations out of the box. The reason multisite does not work with our mobile app api is the mobile app api expects to connect to a single site database. It’s possible to work around this by modifying the mobile app api to point to the site’s database where the event info is stored. In a nutshell, this involves opening the entire espresso-services directory in a code editor and do a global find and replace for:
and replace with
Note: the above code example will make the mobile app look for the site with the ID of 7. |
|
|
Hi Josh, I have tried your solutions but have found it not to resolve the issue. The app continues to endlessly show the ‘fetching events’ status. What else can I do? |
Hi Paua, Is the ticketing add-on installed and active for the blog you have set up? Also, what is the blog ID for the site you are using Event Espresso on? |
|
|
The ticketing add-on is installed and active. I have created several e-tickets. The blog ID for the site using EE is ‘1’. |
Hi Jeroen, I made a custom espresso-services api folder for you that is modified to look for a blog ID of 1. You can download it here: https://www.dropbox.com/sh/4ikuh332kcb072b/dMwNSeOn2z/jeroen.zip Can you unzip the downloaded file and upload espresso-services to the location on your server where WordPress is installed, then try the mobile app again? Please note, the endpoint URL will be the location where WordPress is installed, not the blog where Event Espresso is activated. |
|
|
Hi Josh, Thanks for the folder! Unfortunately it still doesn’t work. In this case the blog id 1 where EE is activated has the same url as the location wordpress is installed. Could this be some sort of part of the problem? |
What is the URL for the main site then? You could try that. |
|
|
I have. Doesn’t work. Do you have any other suggestions? |
What are the URL’s for the site that has a blog ID of 1, and the URL for the main site? |
|
|
|
|
Wednesday night 1800h (CET) I have to have this working as an event is then starting. What can we do to fix this? |
Can you please send us login info using the following form? Also, can you check with your host to see if the request from the iPhone app is being blocked by mod_security with a rule that blocks anything without a Content-Length or Content-Type header? If they are, you may have to request that they change this on the server or find a host that is a little less restrictive. |
|
Also, I am seeing really weird redirect when trying to view the espresso services directory on your website, using http://www.nhtvtheater.nl/espresso-services/. However the https://www.nhtvtheater.nl/espresso-services/ version seems to work. So I wonder if that may have something to do with your problem. The redirect goes here: |
|
|
I checked the Android app and it didnt work. I have just sent you the login details as requested via the form. thanks for the support! |
|
I have exactly the same problem, and also want to go live as soon as possible. Mod_security is disabled, the espresso-services folder is in root and at 755, and as I’m using a multi-site install (blog_id = 6), I have edited the files in that folder according to the instructions. Any ideas? |
Hi Stitching festival aangeschotenwild, I’m not seeing the redirect that was posted by the other user when I visit: http://aangeschotenwild.com/espresso-services/ in my browser. So this looks like a different issue. You might check to see if you can get this to work on a test site running on a single site installation of WordPress. Can you start a new topic where we can follow up with you there? |
|
|
I do see the redirect, or what I think you mean with that. Both https://www.nhtvtheater.nl/espresso-services/ (previous user) and http://aangeschotenwild.com/espresso-services/ show the same page. |
|
Hi, By redirect he means that the page does not go to the espresso services page (confirming it is working) but instead redirects to the home page. That is not happening with either the links you posted, thus probably a different issue. Have you tested this on a single site setup? And as Josh requested, is it possible for you to follow up on a new thread once you have confirmed single site is posing no issue. Thanks. |
The support post ‘App keeps on fetching events and seems stuck in a loop’ 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.