Needs review
Project:
PHP Error Report
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2011 at 14:20 UTC
Updated:
29 Jan 2012 at 23:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
liquidcms commentedhmm.. had thought i fixed that issue ages ago. perhaps it is fixed in dev release which i just added to project page (might take a few hours to show a download available). I also applied a patch submitted by another user; which i doubt impacts your issue.. but please try with the dev release and let me know. thanks.
Comment #2
NROTC_Webmaster commentedI didn't know there was a dev version available. It isn't showing up under the module.
Comment #3
liquidcms commentedit should be there now
Comment #4
NROTC_Webmaster commentedThe one you uploaded crashes the site. It looks like it is for drupal 5???
Comment #5
liquidcms commentedhmm.. Git issues perhaps.. i'll take a look tonight
Comment #6
liquidcms commented-dev should be fixed now.
Comment #7
NROTC_Webmaster commentedI get the following error when I try to install the dev version.
Fatal error: Only variables can be passed by reference in /public_html/sites/all/modules/php_errors/php_errors.module on line 208
I did however successfully install the 1.5 version and now when I go to the archive it actually has a date there. I cannot open it but I'm hoping that I will start receiving the reports.
Is there a way to force it to send instantly or do I just need to wait for the daily to send it to me?
Thanks for your help in this.
Comment #8
liquidcms commentedyes, dev is still not the right version.. GiT is killing me.. lol
i think what is there for 1.5 is current - no, there is no way to do a force send; let me know if something doesn't work.
thanks.
Comment #9
NROTC_Webmaster commentedI'm still getting the blank email.
Comment #10
NROTC_Webmaster commentedIn an effort to debug this I added an on demand and hourly function to assist instead of waiting an entire day between emails. I know this doesn't really have any other useful functionality but figured it might help someone else.
For the on demand function I also had to add that ability to the CronPlus so make sure you do that if you want to use it.
http://drupal.org/node/363809#comment-4709716
The email it's sending is with only first portion of the email address listed in the Admin Notification Email Addresses form.
Such as email@ (hotmail.com email@hotmail.com)
I don't know if this is somehow interfering with the rest of the email but I figured it was a start.
Comment #11
NROTC_Webmaster commentedWhen I use the following code in mail.inc around line 130 I get all of the info but but the subject and body within $message are blank
Which produces
Comment #12
NROTC_Webmaster commentedokay so I was able to make it work by altering lines 92 & 93 in mail.inc but I don't think this is the way it should be done.
I simply changed
and although not essential I changed lines 227 and 254 in php_errors.module
Please let me know if you know of any other way to pass the parameters to drupal_mail correctly.
Comment #13
NROTC_Webmaster commentedI finally figured out the problem. It seems at some point they changed how parameters are passed to the mail function. To pull the parameters drupal is looking for a specific function when building the message. That data is stored in in the first part of the message as in 'php_errors' and then it adds the _mail. To fix the issue I simply created a php_errors_mail function and passed the message subject and body in there..
The patch is attached.
Comment #14
NROTC_Webmaster commentedSorry I forgot to change the status