Support

Home Forums Multiple Event Registration Add-on MER cart stays empty?

MER cart stays empty?

Posted: October 27, 2013 at 11:03 am


Roelof Brandsma

October 27, 2013 at 11:03 am

Hi,

We have the problem that we can’t add items to our cart, or so it seems.

We added a event to EE and are trying to order it. When we click ‘Add to Cart’ that seems to work and the buttons changes to ‘View Cart’. But when we click on ‘View Cart’, we get the message ‘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.’

Can you help us to find the root of this problem and fix it?

Thanks!

System Information:

Event Espresso version 3.1.35.2.P
WordPress version WP 3.6.1

Installed plugins
Akismet by Automattic version 2.5.9,
Contact Form 7 by Takayuki Miyoshi version 3.5.3,
Dagon Design Form Mailer by Dagon Design version 5.8,
Event Espresso – Multi Event Registration by Seth Shoultes version 1.0.4,
Event Espresso – Ticketing by Event Espresso version 2.0.10.2.p,
Event Espresso by Event Espresso version 3.1.35.2.P,
Genesis Simple Edits by Nathan Rice version 1.7.1,
MailChimp by MailChimp and Crowd Favorite version 1.3,
NextGEN Gallery by Photocrati by Photocrati Media version 2.0.33,
Rich Widget by Joshua Riddle version 0.2.4,
ShareThis by Kalpak Shah@ShareThis version 7.0.6,
Twitter Hash Tag Widget by Brad Williams version 1.1

Server Environment
PHP Version 5.3.11-1~dotdeb.0


Dean

October 28, 2013 at 1:13 am

Hi,

Do you have any Cache plugins installed? If so it is recommended to “whitelist” all Event Espresso pages, and make sure you clear the cache and your browser cache after doing so.

If not, do you have a link to the site so we can look at it in more detail?


Roelof Brandsma

October 28, 2013 at 2:15 am

No, we don’t have any cache plugins installed. All the installed plugins are listed in the post.

You can find the EventEspresso event we are testing at http://impro-amsterdam.nl/cms/index.php/tickets/shows-2014

I hope that you can see what’s going wrong. Thank you for your help!

(And I apologize for the double post. I got an error and didn’t think my message got posted.)


Dean

October 28, 2013 at 2:27 am

Hi,

Thanks for the clarification.

There is another possible cause for this, the sessions tmp directory. If this directory is not writeable, then PHP cannot save session data which is required for the cart to function.

Can you please go to the System Status menu under Event Espresso, and check what it says for “Session save path” under the PHP Sessions title.

If you prefer, on that page at the top you can press the Generate report link and then copy and paste the report here.


Roelof Brandsma

October 28, 2013 at 2:36 am

Yes, the path (/tmp/php) is writable.
I also pasted a report below.

<code>
=============================================================================================
 Versions
=============================================================================================
Event Espresso version: 	3.1.35.2.P
WordPress version: 	WP 3.6.1
Installed plugins: 	Akismet by Automattic version 2.5.9, Contact Form 7 by Takayuki Miyoshi version 3.5.3, Dagon Design Form Mailer by Dagon Design version 5.8, Event Espresso - Multi Event Registration by Seth Shoultes version 1.0.4, Event Espresso - Ticketing by Event Espresso version 2.0.10.2.p, Event Espresso by Event Espresso version 3.1.35.2.P, Genesis Simple Edits by Nathan Rice version 1.7.1, MailChimp by MailChimp and Crowd Favorite version 1.3, NextGEN Gallery by Photocrati by Photocrati Media version 2.0.33, Rich Widget by Joshua Riddle version 0.2.4, ShareThis by Kalpak Shah@ShareThis version 7.0.6, Twitter Hash Tag Widget by Brad Williams version 1.1

=============================================================================================
 Settings
=============================================================================================
Home URL: 	http://impro-amsterdam.nl/cms
Site URL: 	https://impro-amsterdam.nl/cms

=============================================================================================
 Registration Pages
=============================================================================================
Event Page: 	#1155 - http://impro-amsterdam.nl/cms/index.php/tickets/overview/
Payment/Thank You Page: 	#1156 - http://impro-amsterdam.nl/cms/index.php/thank-you/
Transaction Notification Page: 	#1158 - http://impro-amsterdam.nl/cms/index.php/transactions/
Cancel Return Page: 	#1157 - http://impro-amsterdam.nl/cms/index.php/registration-cancelled/

=============================================================================================
 Server Environment
=============================================================================================
PHP Version: 	5.3.11-1~dotdeb.0
Server Software: 	Apache
WP Max Upload Size: 	64MB
Server upload_max_filesize: 	64MB
Server post_max_size: 	64MB
WP Memory Limit: 	64MB
WP Debug Mode: 	No
Espresso Logging: 	Log directory is writable.

=============================================================================================
 PHP Sessions
=============================================================================================
Session save path: 	/tmp/php is writable.
Session name: 	PHPSESSID

=============================================================================================
 Remote Posting/IPN
=============================================================================================
fsockopen/cURL: 	
                    	
	                    	Your server has fsockopen and cURL enabled.                    	
                    
</code>


Dean

October 28, 2013 at 3:03 am

Hi,

Thanks for that. Looking into this more it looks like you have an odd url structure – http://impro-amsterdam.nl/cms/index.php/tickets/shows-2014

Specifically the index.php in the middle of the URL. This is possibly causing an issue as the plugin might not be looking for that address structure.

The index.php being visible suggests that you are running a Windows IIS server, which is not recommended, but it still could be Linux.

Either way, I would start by checking your permalink settings in WordPress. If that doesnt help, then you would need to change the .htaccess settings for your site in order to modify the url structure (ALWAYS back up your .htaccess before modifying it).

I did a Google search for “wordpress url with index.php” and there was a variety of discussions, mostly regarding IIS servers, but which may be of assistance.


Roelof Brandsma

October 28, 2013 at 3:12 am

Yes, the url is a bit strange. I didn’t build te website and since it was working I didn’t mind it being a bit strange.
But we are using Linux and Apache.

The older plugin of EventEspresso worked fine with the same configuration in December 2012, except for it being an slightly older version then now. (At that time the site was up-to-date.)
Of course we use newer versions now. Our whole site is up-to-date at the moment. (Except the WordPress version, which not yet 3.7.)


Dean

October 28, 2013 at 3:35 am

Hi,

Yes, it is odd that it is doing that on a a Linux server, but it isn’t unheard of, though so rare I cant find an example of it. It may be worth speaking to your host for advice as to why that is occurring.


Roelof Brandsma

October 28, 2013 at 3:39 am

Ok. I will see if I can change that and if that helps the EventEspresso.
Thanks.


Roelof Brandsma

October 28, 2013 at 4:04 am

Hi,

Unfortunately changing the Permalinks to a more normal setting doesn’t seem to help. Can you take another look at http://impro-amsterdam.nl/cms/index.php/tickets/shows-2014


Dean

October 28, 2013 at 4:24 am

Hi,

OK, not sure why I didnt see this earlier, so my apologies. You have a lot of files in the uploads section (wp-content/uploads/espresso/templates). It could be that one of these is out of date and causing problems.

Can you rename that folder to temporarily force the plugin to use the default templates.


Roelof Brandsma

October 28, 2013 at 4:49 am

I moved the uploads/espresso/templates to a different name, but the result is the same.


Dean

October 28, 2013 at 5:29 am

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/send-login-details/

NOTE: login details need to be Admin level and FTP details are appreciated.


Roelof Brandsma

October 28, 2013 at 9:11 am

Hi,

I send the login details and was wondering if that was helpfull.


Tony

  • Support Staff

October 28, 2013 at 10:01 am

Hi Roelof,

It looks like you have FORCE_SSL_ADMIN set to true within wp-config, also WordPress HTTPS (although disabled) is set to Force SSL for all pages.

I suspect this could be causing the issue with MER.

Could you try setting that to false and removing Force SSL for all pages within WordPress HTTPS and see if that helps?


Roelof Brandsma

October 28, 2013 at 10:11 am

Bingo! Then it works!
And what also works, is enabling FORCE_SSL_ADMIN and connect to https://impro-amsterdam.nl/cms/tickets/shows-2014/
So it is the mixing of the two that doesn’t work.

Can you tip me on the best way to enable https on the EvenEspresso plugin and pages?

And thank you very much for your help in solving this!
(I will remove the access now.)


Josh

  • Support Staff

October 28, 2013 at 10:14 am

We have some documentation on how to make your pages load as https here:

https://eventespresso.com/wiki/espresso-sslhttps/


Roelof Brandsma

October 28, 2013 at 10:17 am

Thanks. I will take a look at that.

The support post ‘MER cart stays empty?’ 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