Support

Home Forums Event Espresso Premium “Add Event to Cart” link not working…

“Add Event to Cart” link not working…

Posted: May 2, 2014 at 1:20 pm


Robert Ottaway

May 2, 2014 at 1:20 pm

Was working perfectly two weeks ago.

Now if you’re logged in you get this:
“It looks like you are attempting to refresh a page after completing your registration or your cart is empty. Please go to the events page and try again.”

And if you’re not logged in, the page gets stuck on the spinning loading image.

Shortcode we’re using: [ESPRESSO_CART_LINK anchor='<span class=”button”>Purchase Tickets</span>’ direct_to_cart=1 moving_to_cart=”Redirecting to cart…”]

/tmp is writable. Sessions work
uploads/espresso/templates has been emptied & renamed
Ruled out Plugin/Theme compatibility issues, error shows up across multiple themes with all non-EE plugins disabled
No SSL Issues – setting up SSL right before website goes live
Error log is clean
Registration Start/End Dates/Times are setup correctly
if (!defined(‘DOING_AJAX’)) { var_dump($_SESSION); }
Returns
array(1) { [“espresso_session”]=> array(3) { [“id”]=> string(56) “4d17d1e0033b2739ead33cc5010edba7-5363d892d69e93.01531363” [“events_in_session”]=> string(0) “” [“grand_total”]=> string(0) “” } }

Any ideas?


Robert Ottaway

May 2, 2014 at 1:31 pm

Partially solved actually…we’re a small company with a couple designers & developers.

I just noticed one of the other developers enabled Forced SSL for Admin in wp-config.php

define(‘FORCE_SSL_ADMIN’, true);

Hopefully you already have a solution, until then I’ll play around and try to get it working!


Lorenzo Orlando Caum

  • Support Staff

May 2, 2014 at 2:06 pm

Hi Robert,

Could you share a link to an event so I can take a look at this issue?


Lorenzo


Robert Ottaway

May 5, 2014 at 9:01 am

I figured it out. Just had to install WordPress HTTPS and forced SSL on the registration page.

Thanks for the quick response though!

The support post ‘“Add Event to Cart” link not working…’ 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