Process Registration causes 500 internal server error with payments plugin.

More
4 years 4 days ago #143067 by David
Hello,

I am trying to allow users to use the credit card option with the payments plugin (os_virtualmerchant). It has worked in the past and has worked for a few people today, but for most a Page isn't working - HTTP 500 error is showing up. 

Thanks,
David
 

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago #143068 by David
I'm wondering if I can share my installation. I added a lot of custom validators in validator.php and I'm worried I'm a little over my head. It worked for me in my testing. A lot of users are trying to register and getting a server error. I'm going to call the webhost now and see if they can check the Apache error logs.

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago #143069 by Tuan Pham Ngoc
Hello David

Could you go to Events Booking -> Configuration, set Debug Mode config option to Yes, then try again to see if there is a more detailed error message displayed?

Tuan

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago #143074 by David
Hi Tuan,

We've narrowed the problem down to checkouts that have multiple items in the cart. Any registrations that have only one item seem to be successful, but if the cart has two or more different events we get a completely blank screen on pressing Process Registration. I have all the debug settings turned on including that for the Event Booking plugin, but the registration still produces a blank screen with no debug output.

I think it might be a memory usage or script time limit problem. My custom validator.php script might be taking too long to validate all the fields of a multi-event checkout.

Thanks,
David

Please Log in or Create an account to join the conversation.

More
4 years 4 days ago #143075 by Tuan Pham Ngoc
That could be the case. Try to remove the custom validator from server validation rules of your custom fields to see if it solves the issue?

Or contact hosting provider, ask them to increase memory limit and max execution time settings in PHP settings, then try again?

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc