Support

Home Forums Event Espresso Premium Payment Settings Causes Error 502 Bad gateway

Payment Settings Causes Error 502 Bad gateway

Posted: September 13, 2013 at 12:57 pm

Viewing 9 reply threads


Nathan Lively

September 13, 2013 at 12:57 pm

I have a fresh WP v3.6.1 installation using Dreamhost and Cloudflare at http://programs.nathanlively.com/. I just bought and installed Event Espresso 3.1.35.P. When I click on Payment Settings I get a Error 502 Bad Gateway and cannot continue. All other functionality with the plugin seem to be working fine. I need to find out if this is going to work before I commit to using Event Espresso on any new projects.

I tried uninstalling and reinstalling without luck. I read this thread, but don’t understand the solution they found.

My test site: http://programs.nathanlively.com/
My event registration page: http://programs.nathanlively.com/event-registration/

My system status (I’m just posting links because the “img” function is not working here): http://www.nathanlively.com/wp-content/uploads/2013/09/system-status.jpeg

Event Espresso Requirements Check: http://www.nathanlively.com/wp-content/uploads/2013/09/requirements-check-pg1.jpeg
http://www.nathanlively.com/wp-content/uploads/2013/09/requirements-check-pg2.jpeg

Error page: http://www.nathanlively.com/wp-content/uploads/2013/09/error502.jpeg

  • This topic was modified 11 years, 2 months ago by Nathan Lively.


Sidney Harrell

September 13, 2013 at 4:32 pm

The thread you referenced has to do, I believe, with the temporary directory that WP is using not being writable. I think you can try putting:
define( ‘WP_TEMP_DIR’ , ‘/tmp/’ );
in your wp_config.php file, since it looks from your system status pic that the /tmp directory is writable for you.
Another thing that you could try to narrow down the problem is deleting the gateway folders one at a time to find the bad actor. From that thread you referenced, it looks like it could be the infusionsoft gateway.


Nathan Lively

September 13, 2013 at 6:38 pm

Thanks Sidney!
1. Editing wp_config didn’t help. Should I remove the “define( “WP…” line now?
2. Deleting the Infusionsoft gateway didn’t help.
3. Moving the 2checkout gateway to a folder I created called Bad Gateways fixed it. I need 2checkout. How do I get it back? I think maybe the settings inside there are messed up somehow. How do I reset them? I tried uploading the original 2checkout folder form the plugin installer, but that didn’t help.


Sidney Harrell

September 13, 2013 at 8:25 pm

The 2checkout settings are in the wp_options table: “event_espresso_2checkout_settings”. You can use phpMyAdmin to delete it, or the WP plugin Adminer.


Nathan Lively

September 19, 2013 at 12:45 pm

Thanks Sidney.
I spent an hour struggling with PHYmyAdmin running really slow. Gave up. Decided to start a fresh WP install and database. Hopefully things will go better this time.


Nathan Lively

September 19, 2013 at 5:50 pm

I should just point out as a follow up that on a fresh WP install, that the act of installing Event Espresso causes a 502 error. Not very easy to use.


Nathan Lively

September 19, 2013 at 6:09 pm

It’s running better now that I have turned off Google Pagespeed and Cloudflare.


Dean

September 20, 2013 at 4:18 am

Hi Nathan,

So the plugin is now functional? Generally we recommend making sure that none of the Event Espresso pages are cached.


Nathan Lively

September 20, 2013 at 10:20 am

Yes, functional. Thanks.
That’s a good recommendation. Maybe make it more promenent in the user guide because I didn’t see it anywhere. You might need to be specific for people like me, for example, “Make sure that none of the pages are cached while setting up the plugin (Google Pagespeed, Cloudflare, etc.).”


Dean

September 23, 2013 at 12:23 am

Thanks for the feedback, I will look into that.

Viewing 9 reply threads

The support post ‘Payment Settings Causes Error 502 Bad gateway’ 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