Support

Home Forums Event Espresso Premium Page.ly Hates Disabled Gateways

Page.ly Hates Disabled Gateways

Posted: December 2, 2015 at 2:50 pm


Richard Duncan

December 2, 2015 at 2:50 pm

Hello,

We are having some performance issues on our WP4.3.1 site on Page.ly managed hosting and their support staff is pointing the finger at Event Espresso 3.1.37.3.P as one of the performance sucking culprit plugins as follows:

*************

PAGE.LY: You have all this list of cookies and php sessions causing the site to bypass our cache:

Set-Cookie: mc_session_ids[default]=c4b3be0813867994039dd6c7eac26b21b84bd138; expires=Wed, 02-Dec-2015 20:32:39 GMT; Max-Age=300; path=/; domain=.co medyguys.com; secure; httponly
Set-Cookie: mc_session_ids[multi][0]=2737b492433dc2accac6e00219d0aa406fbfb87a; expires=Wed, 02-Dec-2015 20:32:39 GMT; Max-Age=300; path=/; domain=.c omedyguys.com
Set-Cookie: mc_session_ids[multi][1]=b2af75232267cc8607897742d7920060a77f6008; expires=Wed, 02-Dec-2015 20:32:39 GMT; Max-Age=300; path=/; domain=.c omedyguys.com
Set-Cookie: mc_session_ids[multi][2]=f5bf809c21d757be42e062cd8d83b4524ea822b2; expires=Wed, 02-Dec-2015 20:32:39 GMT; Max-Age=300; path=/; domain=.c omedyguys.com
Set-Cookie: mc_session_ids[multi][3]=76c3e1f62ae684914529f42530cdebb659d42361; expires=Wed, 02-Dec-2015 20:32:39 GMT; Max-Age=300; path=/; domain=.c omedyguys.com
Set-Cookie: mc_session_ids[multi][4]=1551b7099d1161f516661750aefb3b309f193d4f; expires=Wed, 02-Dec-2015 20:32:39 GMT; Max-Age=300; path=/; domain=.c omedyguys.com
Set-Cookie: PHPSESSID=qpt5u4a7pbcgpql75rsfgu5d86; path=/

These are most likely from plugins, unfortunately you have many plugins that you’re going to have to sift through to pinpoint the session_start() function.

*******************************

ME: I understand that we have a lot of plugins active and most are the same ones we have been using without issue since moving to Page.ly, but the performance issue (30 second page loads) is very recent.

Perhaps an update changed something and I need to isolate that. Can you provide any insight into what type of plugin or feature might employ the session_start()function ? Any info that might help me narrow the search?

*******************************

PAGE.LY: It looks like these are the relevant ones.

wp-content/plugins/event-espresso/espresso.php: session_start();
wp-content/plugins/event-espresso/includes/functions/main.php:function event_espresso_session_start() {
wp-content/plugins/event-espresso/gateways/eway_rapid3/includes/EWayRapid3Client.class.php: session_start();
wp-content/plugins/event-espresso/gateways/worldpay/worldpay_ipn.php:// session_start();

There are more but those appear to be in some Disabled directories.

***********************************

My questions to Event Espresso Support Staff are:

We are only using one gateway (AuthNet), so can we safely remove all the other directories to placate Page.ly and eliminate them as something they can point to as robbing performance?

Should inactive gateways matter at all?

Is this something other event Espresso clients experience related to poor performance?

Please advise.

Thanks


Josh

  • Support Staff

December 2, 2015 at 3:14 pm

We are only using one gateway (AuthNet), so can we safely remove all the other directories to placate Page.ly and eliminate them as something they can point to as robbing performance?
Should inactive gateways matter at all?

An inactive gateway’s code is not executed. So they would only affect things if they were actually activated.

What’s interesting is, the one instance of session start they mentioned from the WorldPay gateway is commented out. That means the session start will not execute even if WorldPay is activated.
This is also the case with event_espresso_session_start(). It’s not used in anywhere in Event Espresso and does not even use the session_start() function.

I’m afraid that removing the inactive gateways’ code will likely not help matters since Pagely support, even if they do more than a cursory glance of the code, will still see that espresso.php uses the session_start() function.

While Event Espresso does use sessions though its registration process, you might consider upgrading to EE4 as it tends to be more performant.

Is this something other event Espresso clients experience related to poor performance?

This is the first time I’ve see a report from a host that claims Event Espresso’s use of session_start() is the cause of poor performance.

The support post ‘Page.ly Hates Disabled Gateways’ 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