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 ?
csd
Product/Version ?
Bugdar / 1.2.2
Status ?
Unconfirmed
Severity ?
Moderate
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
sending mail in PHP safe mode
Report Time ?
February 3, 2009 12:35 AM
Assignment ?
Resolution ?
Open
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


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

February 3, 2009 12:35 AM 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 3, 2009 12:37 AM 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