Closed Bug 264974 Opened 21 years ago Closed 21 years ago

Failure to send email shows as email still being sent

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: Bugzilla-alanjstrBugs, Assigned: wolf)

References

()

Details

The following error was not captured and handled. Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\cvs-1.11.5\mozilla\webtools\update\developers\mail_newaccount.php on line 32 The following text was still displayed, causing confusion. Your account has been created successfully. An e-mail has been sent to you with instructions on how to activate your account so you can begin using it. The confirmation should only show if there are no errors.
The account is still created.
Having a properly configured PHP isn't Update's issue. It's the responsibility of the server admin to fix such warnings.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
The root problem is that you don't gracefully capture php errors. I'd call it a security hole if this wasn't open source.
A PHP warning isn't a security hole. (you could ask sysadmins to change display_errors to false on the live site if you care that much about warnings taht the average user can see and file a bug on being hidden.)
Status: RESOLVED → VERIFIED
Component: Update → Developers
Product: mozilla.org → Update
Version: other → unspecified
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.