|
Main sidebar
|
PITS /
00976Summary: Notify doesn't work if safe_mode is enabled
Created: 2007-09-14 12:00
Status: Closed - fixed for 2.2.6
Category: Bug
Assigned:
Priority: 54
Version: 2.1.27
OS: Apache/2.0.54 (Fedora), PHP 5.0.4
Description: If PHP's safe_mode is enabled, scripts/notify.php silently fails. This is due to the following restriction (quoted from http://www.php.net/manual/en/function.mail.php): "The additional_parameters parameter is disabled in safe_mode and the mail() function will expose a warning message and return FALSE when used." Possible fix: change line 179 of scripts/notify.php from mail($m, $subject, $mbody, to the following: mail($m, $subject, $mbody, I see this bug still exists in v2.2.4. Wouldn't a better fix be to change lines 179-182
This should work because |