Arrow

Error in 3.0.1? | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Error in 3.0.1?
February 13, 2008
9:17 am
Blui
Guest

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?

February 13, 2008
12:08 pm
Peter
Admin
Forum Posts: 841
Offline

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!