Support

Home Forums Ticketing Add-on Events not showing in App (2)

Events not showing in App (2)

Posted: October 8, 2012 at 9:14 am

Viewing 11 reply threads


Jesper Kahr Nielsen

October 8, 2012 at 9:14 am

Hi
I made an event, installed the ticket addon, uploaded the mobile with 755 permission and still the event do not show in the android app.

why?

  • This topic was modified 4 years, 9 months ago by Garth.


Josh

  • Support Staff

October 8, 2012 at 2:43 pm

Has the xml-rpc remote publishing been enabled on the WordPress>Settings>Writing settings? Also, are you seeing any errors when you load up the app?


Jesper Kahr Nielsen

October 8, 2012 at 10:35 pm

Yes, it has been enabled. No errors and I can login but not events show in the panel.
Past, today or the last one…


Josh

  • Support Staff

October 9, 2012 at 9:49 am

Hi Jesper,

We can try to log in using one of our mobiles to investigate further. Please send WordPress admin level log in credentials via the contact form on this page: https://eventespresso.com/contact/

Select the “I am sending login info as requested” department form.


Jesper Kahr Nielsen

October 9, 2012 at 11:29 pm

Ok. I have sent the information to you.


Dean

October 10, 2012 at 4:08 am

Hi Jesper,

Have you updated to the latest version of the API and addon?

https://eventespresso.com/2012/10/update-iphoneipod-touch-app-mobile-ticketing-api-and-ticketing-addon/


Jesper Kahr Nielsen

October 10, 2012 at 6:01 am

It is new install not a update.
Back-end services for Event Espresso mobile ticketing application
Version: 2.1
The permission on the folder is 755 and on the files is 644
Is that the correct?

The version of ticketing plugin is: Version 2.0.7


Josh

  • Support Staff

October 10, 2012 at 11:53 am

Hi Jesper,

Is this a WordPress multi-site installation?


Jesper Kahr Nielsen

October 11, 2012 at 11:37 pm

Yes.


Josh

  • Support Staff

October 12, 2012 at 10:48 am

Hi Jesper,

The mobile app api does not work out of box in a multi-site environment. It will by default point the main database, so if Event Espresso is on another blog in the network, it will not be able to fetch the event data.

This can be worked around by specifying the blog ID in the mobile app api files.

For example in espresso-services/events.php where it says:

$query FROM {$wpdb->prefix}events_detail WHERE

and the blog ID was ‘5’ it could be changed to:

“espresso-services/events.php”

$query FROM {$wpdb->prefix}5_events_detail WHERE


Jesper Kahr Nielsen

October 23, 2012 at 5:07 am

Hi Josh

I tried changing at line 53 and 70
$countQuery = “SELECT id FROM {$wpdb->prefix}7_events_detail WHERE event_status != ‘D'” ;
$query .= ” FROM {$wpdb->prefix}7_events_detail e “;

now the mobile does not login but gives me a “java.net.UnknownHostException: [mydomain.se]”
Can the mobile app do offline scanning some venues have poor internet connection?


Josh

  • Support Staff

October 29, 2012 at 4:08 pm

Hi Jesper,

Are those the only changes that were made to the mobile app api?

There are other calls to the database that will need to changed in the same way. A quick and thorough method would be to open the entire espresso-services directory in a code editor and do a global find and replace for:

{$wpdb->prefix}events

and replace with

{$wpdb->prefix}7_events

The mobile app needs a connection to the internet in order to communicate with the server where Event Espresso is installed. It does not have offline scanning capabilities.

Viewing 11 reply threads

The support post ‘Events not showing in App (2)’ 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