Empty Alerts
milianw - June 26, 2008 - 11:17
| Project: | Logging and alerts |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I frequently get email alerts which are empty, as seen below:
Site: http://milianw.de
Severity: (3) Error
Timestamp: Wed, 06/25/2008 - 17:23
Type: php
IP Address: XX.XXX.XX.XXX
Request URI: http://milianw.de/code-snippets/profileclassphp
Referrer URI:
User: (0)
Link:
Message:%message in %file on line %line.
These kinds of emails reach me in bunches. The one above I got 21 times! The content was exactly the same, including timestamp and IP adress!
No errors can be found in my dblog, so I don't know if this was a valid error or just junk. Still this indicates a bug somewhere.

#1
This message is from the devel module.
<?php
function backtrace_error_handler($errno, $message, $filename, $line) {
...
watchdog('php', '%message in %file on line %line.', array('%error' => $types[$errno], '%message' => $message, '%file' => $filename, '%line' => $line), WATCHDOG_ERROR);
}
}
?>
So it is not emaillog.module that causes it.
Please open an issue with the devel module if you think this is an error.
#2
I think this is a duplicate of #303369: log message in email without variables (or the other way around).
The problem is that %message, %file and %line are not replaced with actual values.
#3
As per the original report, this is definitely a duplicate of #303369: log message in email without variables.