Support

Home Forums Event Espresso Premium Double pop-up when attempting to register with 0 tickets selected

Double pop-up when attempting to register with 0 tickets selected

Posted: November 3, 2015 at 6:35 am

Viewing 19 reply threads


Loudbaby

November 3, 2015 at 6:35 am

Greetings – I’m experiencing a double pop-up notice when clicking ‘Register Now’ with quantity of zero tickets.
An error has occurred:
You need to select a ticket quantity before you can proceed.

In addition the event page reloads with no content.
I checked to confirm that it’s not a theme or plugin related conflict – reverting to the TwentyFifteen theme and disabling all other plugins. But the issue persists. Any suggestions for a fix?
thanks!


Lorenzo Orlando Caum

  • Support Staff

November 3, 2015 at 7:45 am

Hi there,

I tested this on Twenty Fifteen and saw a single error notice:

http://cl.ly/image/2f081S3Z2Q1V

Could you provide a link to your event page?

Also, who is your hosting provider?

Thanks


Lorenzo


Loudbaby

November 3, 2015 at 8:07 am

Thanks for your reply. I actually have tests set up on two different servers. The first screen shot is one our private server with all plugins deactivated and TwentyFifteen Theme.
http://cl.ly/image/303g1k0n1w41
The second is on a dev sandbox hosted by site ground. Using BeTheme.
http://cl.ly/image/362f0k0T1W0w


Lorenzo Orlando Caum

  • Support Staff

November 3, 2015 at 8:13 am

Hi, the event information appears to be missing in the background for this image:

http://cl.ly/image/303g1k0n1w41

Could you provide a link to the actual event page for the site that is running TwentyFifteen?

If that is not available, then temporarily move the live site to Twenty Fifteen and then share a link here to that event page.

Thanks


Lorenzo


Loudbaby

November 3, 2015 at 8:26 am

Hi Lorenzo – yes the event detail info disappears as well.
This one is a page using the event selector shortcode.
[ESPRESSO_TICKET_SELECTOR event_id=”4109″]
http://loudbaby.org/fueldev/detroit-event/
And here is the event page directly.
http://loudbaby.org/fueldev/events/fuel-detroit-april-2016/

Happens on both.


Josh

  • Support Staff

November 3, 2015 at 10:24 am

Hi there,

We can troubleshoot further if we can get a closer look at the server. If that’s possible can you send WordPress admin level log in + FTP credentials via the contact form on this page?

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


Josh

  • Support Staff

November 4, 2015 at 8:26 am

Hi there,

It looks like you forgot to include the FTP credentials. Is that something you can send so we can get a look at the server’s files?


Loudbaby

November 4, 2015 at 8:41 am

Hi Josh – Just sent. Thanks again for your assistance.


Josh

  • Support Staff

November 4, 2015 at 12:34 pm

So it turns out that your two sites share a PHP bug where this code:

filter_input( INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL );

returns NULL. Normally the above code will return the URL of the page that includes the ticket selector form.

A ticket has been assigned to a developer to add a workaround to the next version of EE4, similar to the one in this bug report.


Loudbaby

November 4, 2015 at 1:28 pm

Thank you Josh – One of the sites is on a php 5.3.29 server and the other is on a 5.4.45 box. Until the remedy is ready, can you suggest a version of php in which this error will not occur?


Josh

  • Support Staff

November 4, 2015 at 1:59 pm

It may help to update to one of the versions of PHP which are still being maintained, which are outlined in orange and green here:

http://php.net/supported-versions.php


Loudbaby

November 4, 2015 at 2:15 pm

Thanks Josh – I updated the ferndaletalent.org server to 5.6.14 and the issue persists. *redacted*

  • This reply was modified 9 years ago by Josh. Reason: removed sensitive server details


Josh

  • Support Staff

November 4, 2015 at 2:28 pm

You can try this branch which includes the workaround:

https://github.com/eventespresso/event-espresso-core/tree/BUG-9034-filter-input


Josh

  • Support Staff

November 5, 2015 at 7:29 am

Hi there,

I went ahead and applied the fixes to your ferndale site because I could FTP in. The ticket selector works as expected now.


Loudbaby

November 5, 2015 at 9:31 am

Hi Josh – thank you so much. I attempt to apply the github fix to EED_Ticket_Selector.module.php on another dev – but it’s not working.
I will send you info now. I appreciate the support.


Josh

  • Support Staff

November 5, 2015 at 9:41 am

You can apply the fixes by downloading the entire plugin from the above github link, or apply all 4 fixes. There are 4 files that were touched in that branch.


Josh

  • Support Staff

November 5, 2015 at 9:46 am

Update: The branch has been deleted because it’s been merged to Event Espresso 4 core master. So you can download a copy of EE4 Master to get the fixes:

https://github.com/eventespresso/event-espresso-core/


Loudbaby

November 5, 2015 at 10:11 am

Thank you Josh – you are the man!


Josh

  • Support Staff

November 5, 2015 at 1:41 pm

Regarding your other question:

One other issue I’m hoping you can take a look at and suggest a solution.
It is only happening with the Safari Browser in our tests. Firefox and Chrome work as expected.
http://loudbaby.biz/fueldev/events/detroit-2016/

With Safari – You’ll notice that the show details + links are active, however the expansion on click function doesn’t work. I also notice that the X link to close zero ticket pop-up notice also fails to work with Safari. Firefox and Chrome ok.

This does not look like a theme conflict, but rather some JavaScript errors being thrown on the page by the “Media Grid – Overlay Manager add-on” plugin and some inline JavaScript that’s in this screenshot.

Once those errors are fixed, or if you remove those scripts from the events pages, the show details links will work as expected.


Josh

  • Support Staff

November 12, 2015 at 11:32 am

Another update:

The work that was done in BUG-9034-filter-input was included in the latest official release of Event Espresso 4.

Viewing 19 reply threads

The support post ‘Double pop-up when attempting to register with 0 tickets selected’ 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