Support

Home Forums Event Espresso Premium ticketing app login 404 error on iPhone

ticketing app login 404 error on iPhone

Posted: December 5, 2013 at 5:57 pm


Angela Visintainer

December 5, 2013 at 5:57 pm

Hello,
My client is not able to log in to the ticketing app on her iPhone.
I am able to login and scan tickets and everything works wonderfully on my Android device.
She is receiving a HTTP/1.1 404 Not Found error message.
I tried installing the JSON API and making it public, but could not see the screen displaying the “testdrive” page…got a 404 error.
How do I configure the JSON API properly on my site? What can I try to allow her to be able to log in on her iPhone?
Any help would be greatly appreciated.
Thanks!


Angela Visintainer

December 5, 2013 at 7:52 pm

FYI:

Fresh install of EE and latest add-ons as of yesterday.
Latest version of WordPress.
Site is carolinebusiness.com.
Also, if it makes any difference, I also noticed that I cannot access any posts that are created using the custom post types setting (Events)…I get 404 errors as well.

I have the site URL as carolinebusiness.com/newsite and the home url is carolinebusiness.com ( I edited the wp-header to include the “/newsite/” to display all subdirectory pages as though they are actually in the main directory). Not sure if that has anything to do with the error…

The espresso-services folder was uploaded into the newsite subdirectory (with the wp-config file).

Hope that helps.
Thanks!


Tony

  • Support Staff

December 6, 2013 at 3:29 am

Hi Angela,

You are correct in that Espresso-services is used for Android. JSON API for ios. (with the HD app)

However ‘testdrive’ is actually a site we have for users to test event espresso. The JSON API is install there for demonstration, so in order to check the above website you would use this URL:

http://www.carolinebusiness.com/espresso-api/v1/events/public.pretty_json

Which works meaning the JSON API is install and configured correctly ๐Ÿ™‚

What url ‘endpoint’ have you set using ios? It needs to be the directory in which WordPress is installed. For most users this is generally the root directory, but from the above in your case it would seem WordPress is installed in carolinebusiness.com/newsite is that correct?

If so use that as the endpoint for the app.

As for your Event CPT not being accessible, have you updated your permalinks since you created them? Just go to Settings->Permalinks. Without making any changes click Save Changes to rebuild the permalinks. Then try your Events CPT post, can you access them?


Angela Visintainer

December 6, 2013 at 6:09 am

OK,
This is going to sound really stupid….I would be willing to bet that she has the old version of the app installed, and not the HD version!
I did update the permalinks, just in case, and thanks for checking the JSON API.
I am hoping to hear from her soon whether or not her issue is resolved.
I appreciate your time and will let you know if it turns out to be something as simple as the wrong app!
Thanks!


Tony

  • Support Staff

December 6, 2013 at 6:38 am

Something that does seem a little strange is

I have the site URL as carolinebusiness.com/newsite and the home url is carolinebusiness.com ( I edited the wp-header to include the โ€œ/newsite/โ€ to display all subdirectory pages as though they are actually in the main directory). Not sure if that has anything to do with the errorโ€ฆ

I’m a little confused as to why you would need to edit that. If you have a setup such as http://d.pr/i/otjY then all links should then be as events.local/some_page anyway rather than event.local/wordpress/some_page.

The reason I mention this is that this may be causing issues with the API also, depending on what has been changed.


Angela Visintainer

December 6, 2013 at 6:51 am

Well, being a relative newbie at WordPress a couple of years ago, I stumbled across this link while developing a site.
In general, if I’m redesigning an existing site, I install WP in a subdirectory until it’s ready to go live, then follow the directions of the link above to make the new version live…
So far, I haven’t run into any issues, but am always secretly nervous that this isn’t going to work properly or that it will create issues with some plugin or another!
Do you think this would create any issues using EE?


Tony

  • Support Staff

December 6, 2013 at 7:12 am

Ah, ok it makes sense now ๐Ÿ™‚

In that case no it will work fine. That is the normal procedure to follow, similar to the instructions here

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

and no as long as you have followed those steps you shouldn’t run into any issues as a part of it.


Angela Visintainer

December 6, 2013 at 1:49 pm

Still no luck, same error message with the new HD app installed.
I see there’s been another recent post on the forum with the same problem…
Any clue what steps to take next?
FYI client is using an iPhone 5 with all of the latest updates installed.
I do not have an iPhone to test on, so that is kind of an issue! I would need to relay back to the client any details or info.
Thanks!


Josh

  • Support Staff

December 6, 2013 at 2:54 pm

Hi Angela,

Does your client have admin level credentials? I checked and the json event feed looks correct:

http://www.carolinebusiness.com/espresso-api/v1/events/public.pretty_json

The older ios app will use the same API that the android one does. So either app should work for them at this point.


Angela Visintainer

December 6, 2013 at 2:58 pm

Yes, they are logged in with admin creds.
Neither app is working for them at all…
If you’d like, I can send you admin creds to try to log in yourself?
Let me know, and thank you so much for the quick and awesome support!


Josh

  • Support Staff

December 6, 2013 at 4:26 pm

We can take a quick look. You can send them via this form:

https://eventespresso.com/send-login-details/


Josh

  • Support Staff

December 6, 2013 at 8:26 pm

Hi again. We received the credentials and they logged me right in using the Event Espresso HD app on my iPad.

Maybe your client is typing in the wrong website URL when they try to log in with the app. They need to make sure they type in:

carolinebusiness.com

for the website URL. If they add the /newsite/ part that will not work in this case.


Angela Visintainer

December 6, 2013 at 8:29 pm

Sounds great!
Thank you so much….I will let you know if that works for her. I know that they had been using the /newsite/ but not sure if they tried leaving that off….
Appreciate your work on this.
Have a great night!


Angela Visintainer

December 9, 2013 at 2:49 pm

Thanks so much…that was it!
I love when it’s a simple operator error ๐Ÿ™‚
Your support is awesome.

The support post ‘ticketing app login 404 error on iPhone’ 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