Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Bugdar / 1.2.2
Status ?
Severity ?
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
sending mail in PHP safe mode
Report Time ?
February 2, 2009 11:35 PM
Assignment ?
Resolution ?
Priority ?
Dependencies ?
- none -
Mstone (old) ?

For: 0 (0%)
Against: 0 (0%)
Total: 0

February 2, 2009 11:35 PM csd
I've installed Bugdar on a server where PHP is running in safe mode.

Instead of confirmation or notification emails I only get an error message on the screen, saying
"SAFE MODE Restriction in effect.
The fifth parameter is disabled in SAFE MODE".

As a workaround I simply commented out the fifth param at line 319 in framework/mail.php:
//if (mail($tostring, $subject, $body, $headers, "-f {$from}"))
if (mail($tostring, $subject, $body, $headers))

Everything seems to be OK for me.
(What feature have I lost?)

February 2, 2009 11:37 PM csd
Just to be precise:

Version Information
Bugdar Version 1.2.2
PHP Version 5.2.0-8+etch10
MySQL Version 5.0.32-Debian_7etch8-log
Web Server Apache

Server Options
MySQL: Maximum Packet Size 16776192
MySQL: Maximum Upload Size 16777216
MySQL: Full-Text Search Minimum Word Length 4
PHP: Safe Mode Yes
PHP: Register Globals No
PHP: Magic Quotes GPC Yes
PHP: Magic Quotes Sybase No
PHP: Gettext Installed Yes