Skip Navigation

[Closed] When I add recaptcha to my form it breaks my website (500 error)

This support ticket is created 8 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Luo Yang 8 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#333385
screencapture-www-pipesdrums-com-submit-your-event-1442257422531.png

I am trying to: Add recaptcha back to my website.

I visited this URL: hidden link

I expected to see: My website...

Instead, I got: 500 error.

#333486

Dear laura,

There should be some PHP errors occur in your website, please try this:
1) Deactivate other plugins and switch to wordpress default theme.
2) Enable wordpress debug mode, repeat the actions you mentioned above, then copy/paste the debug logs here. thanks

PHP Debugging
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root directory. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).
https://toolset.com/documentation/user-guides/debugging-types-and-views/

#337980

I will try this shortly. Thank you for the help.

#338030

Please let me know if you need more assistance for it, thanks

#339758
Screen Shot 2015-10-13 at 2.22.05 PM.png

I've followed your instructions and I get this text where the captcha should be:

An internal error occurred: 5220084D187F1.A6B8929.120E35C6
#339846

Sorry, we need the PHP debug logs, as I mentioned above, please try enable PHP debugging, like this:
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root directory. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).
https://toolset.com/documentation/user-guides/debugging-types-and-views/

The topic ‘[Closed] When I add recaptcha to my form it breaks my website (500 error)’ is closed to new replies.