Error in 3.0.1? | Peter's Custom Anti-Spam for WordPress | Forum
Back to the custom anti-spam plugin page
9:17 am
If i click on the Image for hear the sound say WP:
Warning: exec() has been disabled for security reasons in /[mywebspacepath]/wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 268
Warning: Cannot modify header information - headers already sent by (output started at /[mywebspacepath]/wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php:268) in /[mywebspacepath]/wp-content/plugins/peters-custom-anti-spam-image/wav_join.php on line 82
Some data has already been output to browser, can't send wav file
but the "Custom anti-spam"-Side in the WP-Adminmenu say 3 x "Yay!"
Is it a error in my WP?
Hi,
You have two options:
- Change the $cas_sox setting to false
- Find this line:
exec('sox ' . $cas_audioinput . ' ' . $cas_audiooutput . ' stretch 1.' . $stretch_random . ' > /dev/null 2>&1');
And at an AT symbol in front of it:
@exec('sox ' . $cas_audioinput . ' ' . $cas_audiooutput . ' stretch 1.' . $stretch_random . ' > /dev/null 2>&1');
I will be adding the second bit to all releases. Thanks!