Support

Home Forums Event Espresso Premium json api problem getting events (3)

json api problem getting events (3)

Posted: May 31, 2014 at 10:50 am

Viewing 16 reply threads


Gabriel Solano

May 31, 2014 at 10:50 am

hello
other thread was closed to further replies.

http://ticketdog.es/espresso-api/v1/events/public.pretty_json

still cannot access events on iphone after doing the following:
Hi Gabriel,
It may help to try removing the translation of the OK string. You can do so by opening the event_espresso-ES.po file and doing a search for OK (case sensitive) then remove the “Aceptar” translation. When you save the .po file, Poedit will generate an mo file that you can upload in place of the original that’s in the /languages folder.

  • This topic was modified 10 years, 5 months ago by Gabriel Solano.
  • This topic was modified 4 years, 8 months ago by Garth.


Josh

  • Support Staff

June 2, 2014 at 9:23 am

Hi Gabriel,

Was the location where you uploaded the newly generated .mo file to /wp-content/uploads/espresso/languages?


Gabriel Solano

June 2, 2014 at 9:28 am

yes thats correct.
also to the languages folder in the main core plugin folder.


Josh

  • Support Staff

June 2, 2014 at 6:01 pm

Maybe you could try this:

You open up the JSON API’s plugins files and do a search and replace for:

return array(EspressoAPI_STATUS => __("OK","event_espresso"),

where you replace with:

return array(EspressoAPI_STATUS=>"OK",


Gabriel Solano

June 3, 2014 at 2:48 pm

ok do you mean
espresso-json-api (folder)
and EventEspresso-API.php file in that folder? if so i did find return array(EspressoAPI_STATUS => __(“OK”,”event_espresso”),
in this file

would it be in the includes folder?


Josh

  • Support Staff

June 3, 2014 at 8:55 pm

Yes, specifically these two files:

espresso-json-api/includes/controllers/EspressoAPI_Authentication_Controller.class.php
espresso-json-api/includes/controllers/EspressoAPI_Generic_Controller.class.php


Gabriel Solano

June 4, 2014 at 10:26 am

ok
done to both files specified in your prev. post.
still nothing?


Gabriel Solano

June 5, 2014 at 8:28 am

hello i’m sorry i need an answer or anther solution i have a big event this Saturday. thanks

sorry for the rush.

-g


Gabriel Solano

June 6, 2014 at 4:22 am

hello? can i get a reply?


Tony

  • Support Staff

June 7, 2014 at 3:26 am

Hi Gabriel,

Can you provide login details so I can test the app please?

If so please use https://eventespresso.com/send-login-details/

The only notable difference in your JSON output is the blank space at the beginning. Can you enabled WP_Debug and see if any errors are thrown on that page?


Gabriel Solano

June 7, 2014 at 4:16 am

hello sent login details
once the Api Debug Mode is turned ON
i get this error:
{
“status”: “Query parameter ‘q’ not a valid parameter of resource ‘Event'”,
“status_code”: 400
}

from http://ticketdog.es/espresso-api/v1/events/public.pretty_json


Tony

  • Support Staff

June 7, 2014 at 10:36 am

Hi Gabrial,

I am sorry for the delay.

I see no issues with your events using the iOS app. I can login and view all the events, I can see the attendee list for the event on today.

What exactly is happening on the app?

If you swipe down on the event list to re-refresh, do you see any events at all?


Gabriel Solano

June 7, 2014 at 10:42 am

ok i reinstalled
json api
ticketing addon
espresso-services

then i download
https://itunes.apple.com/es/app/event-espresso-hd/id604494948?l=en&mt=8

the HD version of the iphone app
then i got in, however my event has 175 confirmed sales (attendees) but the app says 57 Attendees in the screen once you click on the event that you want.

Is this correct?


Tony

  • Support Staff

June 7, 2014 at 11:21 am

Check your setting within Event Espresso -> API Settings.

You’ll find ‘Default Query Limits’ settings – http://take.ms/0lkh9

The app also has these settings. If you go to Settings -> Event Espresso on the iOS device you’ll find the same settings.

If you increase these values are all your attendees then shown?


Gabriel Solano

June 7, 2014 at 11:34 am

hi up the limit to 9999 for both Attendees & Registrations
and now i get on the iOs app 152 attendees but on the web admin i have
175 user confirmed sales.
any ideas?
will all my 175 users be in the database in the iOs app?


Tony

  • Support Staff

June 7, 2014 at 12:20 pm

will all my 175 users be in the database in the iOs app?

The iOS app does not have its own ‘database’ but simply reads the information from your site, you will need an active internet connection to use the app at all times.

I do not often use the iOS app unfortunately as I am an Android user. However from looking on your site and comparing to app it appears the App is incorrectly labelling registrations as attendees. Some of those ‘attendees’ are group registrations.

There is 123 registrations, within those may be multiple attendees.

I will raise a ticket to investigate this further.


Gabriel Solano

June 7, 2014 at 12:42 pm

I plan on using the iOS app offline will it still work?
Will all my attendees be sycned from online Inspite of the group thing?


Tony

  • Support Staff

June 7, 2014 at 1:05 pm

I plan on using the iOS app offline will it still work?

No, the app only works with an active internet connection.

The apps check for valid registrations, if the user is checked in etc with your site on each scan. They do NOT store the information locally.

Will all my attendees be sycned from online Inspite of the group thing?

All of your attendees appear to be there, just that they are labelled incorrectly.

Viewing 16 reply threads

The support post ‘json api problem getting events (3)’ 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