Support

Home Forums Event Espresso Premium problem ticket printable and app

problem ticket printable and app

Posted: September 22, 2019 at 2:40 am

Viewing 17 reply threads


KaiserRR

September 22, 2019 at 2:40 am

Hi i have problem in my website.

I can’t print ticket with printable ticket but only open an url in browser with our custom ticket.

Another issue is that app can’t login in website , output error is:
the requested resorce could not be found but may be avaible againg in the future. Subsequent requests by the client are permissible.
I have follow both documents but i not find solution.

How can fix this?

can send login credentials by ticket


KaiserRR

September 23, 2019 at 3:29 am

please give me support


Josh

  • Support Staff

September 23, 2019 at 8:00 am

Hi,

May I ask what happens when you try to print the ticket? For example is there an error message?

With regards to the app, I can point you to the troubleshooting guide:
https://eventespresso.com/wiki/ee4-event-apps/#troubleshooting

As an aside, there is no need to bump the support topic. When you bump the topic, it will actually move your topic to be answered later after other topics are answered. In other words, you’ll end up waiting longer if you bump the topic.


KaiserRR

September 23, 2019 at 8:11 am

Hi Josh,

tnx for reply.

1) for the problem with printable ticket it is not clear how to insert the ticket to print, is there a call to action to generate the print?

2) while for the app we followed the troubleshotting but we always have the same error when logging in


Tony

  • Support Staff

September 23, 2019 at 10:29 am

1) for the problem with printable ticket it is not clear how to insert the ticket to print, is there a call to action to generate the print?

No, but you can easily add in something to the Text view of the editor to do it, for example:

<a title="Print Tickets" alt="Print Tickets" onclick="window.print();" target="_blank" style="cursor:pointer;">Click HERE to print your tickets</a>

Place that in the Text view in the location you want a link to show and o click it will load the browsers print function.

Event Espresso -> Messages -> Default message templates -> Ticket -> Edit recipient.

2) while for the app we followed the troubleshotting but we always have the same error when logging in

I replied to your other thread on this HERE with some questions.

As you now have 2 threads for the same issue, I’m going to close the other and reask my questions here to keep then in a single location (it just gets confusing for all parties when you have multiple threads for the same issue).

Which version of the app are you using? iOS or Android?

What are you typing into the website url field on the app? (the exact string you are using)


KaiserRR

September 23, 2019 at 10:40 pm

This reply has been marked as private.


KaiserRR

September 23, 2019 at 11:36 pm

This reply has been marked as private.


Tony

  • Support Staff

September 24, 2019 at 4:20 am

Remove https:// from the input and leave the rest.

The app works out if your site is using http or https itself, if you add that into the field it can cause the above error.


KaiserRR

September 24, 2019 at 4:24 am

i try without https:// same error the request resources cold not be found but maybe be avaible again..


Tony

  • Support Staff

September 24, 2019 at 5:02 am

Ok, so the problem is that you’re removing the REST API endpoint from your site’s headers.

When you input your details into the app, the app sends a request to your site to check if its HTTP or HTTPS and your site responds.

In the headers of that response, the REST API endpoint is normally set. As that endpoint is filterable the app uses that response to know where to send its requests, as you’ve removed it the app uses root, which is incorrect.

Check your site for any of these:

// Disable REST API link tag
remove_action('wp_head', 'rest_output_link_wp_head', 10);

// Disable oEmbed Discovery Links
remove_action('wp_head', 'wp_oembed_add_discovery_links', 10);

// Disable REST API link in HTTP headers
remove_action('template_redirect', 'rest_output_link_header', 11, 0);

You’ll need to remove at least the last one.


KaiserRR

September 24, 2019 at 6:12 am

hi , i have remove this from website and now errore change:

the server is currently unavaible (because it overloaded or down for maintence). Generally, this is a temporary state. Sometimes , thi can be permant as well on test servers.


KaiserRR

September 24, 2019 at 6:50 am

in android work fine, problem error is only in iOS


Josh

  • Support Staff

September 24, 2019 at 6:54 am

It sounds like you’ve removed something that should not have been removed, or it wasn’t completely. May I ask what exactly did you remove and from where?


KaiserRR

September 24, 2019 at 7:05 am

i have remove this from my function.php
// Disable REST API link tag
remove_action(‘wp_head’, ‘rest_output_link_wp_head’, 10);

// Disable oEmbed Discovery Links
remove_action(‘wp_head’, ‘wp_oembed_add_discovery_links’, 10);

// Disable REST API link in HTTP headers
remove_action(‘template_redirect’, ‘rest_output_link_header’, 11, 0);


Josh

  • Support Staff

September 24, 2019 at 7:11 am

You may want to just remove this part and nothing else:

remove_action('template_redirect', 'rest_output_link_header', 11, 0);


KaiserRR

September 24, 2019 at 7:45 am

same on iOS not work, in android is fine


Tony

  • Support Staff

September 24, 2019 at 8:27 am

The error mentioned only happens if your server responds with error 503, thats a server-side error and not from the app itself.

If you install the REST API Log plugin and test the iOS app, what shows up in the REST API log?


KaiserRR

September 25, 2019 at 12:36 am

Hi, we have try to use other users and now work. Problem come with my user.

tnx for support

Viewing 17 reply threads

The support post ‘problem ticket printable and app’ 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