Support

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

json api problem getting events (2)

Posted: May 3, 2014 at 1:49 pm


Gabriel Solano

May 3, 2014 at 1:49 pm

hello
my iphone with iOs 7 and EE app ver. 2.1 can not retrieve events.

when i go to
http://ticketdog.es/espresso-api/v1/events/public.pretty_json
i get this error
{
“status”: “Query parameter ‘q’ not a valid parameter of resource ‘Event'”,
“status_code”: 400
}

i disabled all plugins except EE and EE api
and still got same message.

Event Espresso version 3.1.36.5.P
WordPress version WP 3.8.3
Installed plugins
Gravity Forms by rocketgenius version 1.8.7,
Admin Menu Editor Pro by Janis Elsts version 1.93,
All In One Schema.org Rich Snippets by Brainstorm Force version 1.1.9,
Event Espresso – Calendar by Event Espresso version 2.2.3.p,
Event Espresso – Pasarela de pago para CECA (modulosdepago.es) by Mikel Martin (ZhenIt Software) version 1.0,
Event Espresso – Ticketing by Event Espresso version 2.1.p,
Event Espresso by Event Espresso version 3.1.36.5.P,
Pretty Link Pro by Caseproof version 1.6.5,
WordPress HTTPS by Mike Ems version 3.3.6
Configuración
Home URL http://ticketdog.es
Site URL http://ticketdog.es
Páginas de inscripción

  • This topic was modified 6 years, 1 month ago by  Gabriel Solano.
  • This topic was modified 4 months ago by  Garth.


Gabriel Solano

May 3, 2014 at 1:55 pm

my server is hosted at digital ocean
Active 2GB Ram 40GB SSD Disk New York 2 CentOS 6.4 x64


Dean

May 5, 2014 at 12:58 am

Hi,

Can you provide the settings you are using (screenshot would be great) for the API? example http://take.ms/WNfQX


Gabriel Solano

May 5, 2014 at 1:30 am

hi yes


Dean

May 5, 2014 at 2:38 am

Hi,

Thanks for that. Does turning debug off affect the error?


Gabriel Solano

May 5, 2014 at 3:37 am

of turned it off
still cannot see events on the iphone

now i have this code:
{
“status”: “Aceptar”,
“status_code”: 200,
“body”: {
“Events”: [
{
“id”: 3,
“code”: “1-5228ab37c91e8”,
“name”: “TROPICAL SESSIONS by Latin Project”,
“description”: “<p><\/a>COLECTIVO SALSAMUR\u00c1I \/ La Salsera band + Dj Moysaoco<br \/>\n<\/strong>Tropical sessions es Salsa, Latin Jazz, descarga, Forro, tambores afrocolombianos, Forr\u00f3, Reggae. Musica en vivo,djs, cocteles y comida en el centro de Barcelona.<br \/>\n6\u20ac ENTRADA CON TAPEO INCLUIDO!! (s\u00e1bados clase de baile incluida con salsa tap 22h)<\/strong><\/p>\n<p>22h -\u00a0 Clase de Baile y tapeo<br \/>\n23:30 -\u00a0 Dj\u00a0 y tapeo<br \/>\n00:30\u00a0 -\u00a0 1er pase concierto<br \/>\n02:00\u00a0 -\u00a0 2do pase concierto<br \/>\n04:00 – \u00a0 cierre<\/p>\n”,
“status”: “active”…….


Dean

May 5, 2014 at 3:52 am

Hi,

OK, well that data is good, it looks valid and correct. As such it should be showing on an iphone.

Is the app not bringing up any data at all? Are you logged in as an Admin?


Gabriel Solano

May 5, 2014 at 3:57 am

yes i’m logged in as admin but it just says searching… and never finds anything?


Dean

May 5, 2014 at 4:29 am

OK. Thanks for the clarification. I will need to refer to another team member when they come online. I will get back to you regarding this.


Gabriel Solano

May 8, 2014 at 2:53 am

Hello any updates on this issue?


Dean

May 8, 2014 at 4:03 am

Sorry, that’s my fault, the email never went through. I’ll re-contact him today.


Gabriel Solano

May 9, 2014 at 1:05 am

Hello any updates on this issue got big events coming up and I need the mobile app working for my clients. Please advise


Dean

May 9, 2014 at 1:58 am

Hi,

The developer is currently looking into the issue. It is possible that the API is not recognising the data due to some of the strings being localised incorrectly (Aceptar instead of OK).

We are still making inquiries into this.


Gabriel Solano

May 9, 2014 at 2:47 am

this happened when i update to Event Espresso version 3.1.36.5.P
ihave WordPress version WP 3.8.3


Josh

  • Support Staff

May 9, 2014 at 8:10 am

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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Josh 6 years, 2 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!