To whom it may concern,
I was in the IRC channel and sumanah had recommended that I inquire about my issue via the mailing list, so here goes. I am trying to set up SMTP use for my MediaWiki Server. I am running Windows Server 2008. I have installed all of the Pear Mail modules to get this running, however when I enter the variables for $wgSMTP I am getting several lines of errors.
SMTP is running on my local machine and does not require any form of authentication: $wgEmailEmail = true; $wgEnableUserEmail = true;
$wgSMTP = array( 'host' => "localhost", //could also be an IP address 'IDHost' => "wiki.notify.net", 'port' => 25, 'auth' => false );
However, when I create a new account, attempt to send the e-mail for a password reset, I am getting the following errors:
Strict Standards: Non-static method Mail::factory() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 245
Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 246
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 365
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 450
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 467
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 474
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 517
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 521
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 249
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 285
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 952
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 955
Strict Standards: Non-static method Mail_RFC822::parseAddressList() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail.php on line 253
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 982
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 985
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1063
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1066
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1126
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1136
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1141
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 491
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 494
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 497
Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 78
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 78
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 78
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 38
Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 dmills@notifycorp.commailto:dmills@notifycorp.com
On Thu, Oct 18, 2012 at 2:52 PM, Mills, Douglas DMills@notifycorp.com wrote:
To whom it may concern,
I was in the IRC channel and sumanah had recommended that I inquire about my issue via the mailing list, so here goes. I am trying to set up SMTP use for my MediaWiki Server. I am running Windows Server 2008. I have installed all of the Pear Mail modules to get this running, however when I enter the variables for $wgSMTP I am getting several lines of errors.
SMTP is running on my local machine and does not require any form of authentication: $wgEmailEmail = true; $wgEnableUserEmail = true;
$wgSMTP = array( 'host' => "localhost", //could also be an IP address 'IDHost' => "wiki.notify.net", 'port' => 25, 'auth' => false );
However, when I create a new account, attempt to send the e-mail for a password reset, I am getting the following errors:
Strict Standards: Non-static method Mail::factory() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 245
Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 246
The PEAR Mailer docs are horrible, and don't match what the code actually does. Mail::factory() isn't actually static, even though it's supposed to be (and the docs tell you to do it that way).
We should probably fix this, somehow.
-Chad
Hi Chad,
That's a bummer.
Per my e-mail that I sent as this one came in, I was able to successfully get the e-mails to go out, however my page is still showing all of the errors mentioned below. Is there a way I can suppress these errors so my users don't see them?
Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 dmills@notifycorp.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Chad Sent: Thursday, October 18, 2012 3:10 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] SMTP Setup Issues
On Thu, Oct 18, 2012 at 2:52 PM, Mills, Douglas DMills@notifycorp.com wrote:
To whom it may concern,
I was in the IRC channel and sumanah had recommended that I inquire about my issue via the mailing list, so here goes. I am trying to set up SMTP use for my MediaWiki Server. I am running Windows Server 2008. I have installed all of the Pear Mail modules to get this running, however when I enter the variables for $wgSMTP I am getting several lines of errors.
SMTP is running on my local machine and does not require any form of authentication: $wgEmailEmail = true; $wgEnableUserEmail = true;
$wgSMTP = array( 'host' => "localhost", //could also be an IP address 'IDHost' => "wiki.notify.net", 'port' => 25, 'auth' => false );
However, when I create a new account, attempt to send the e-mail for a password reset, I am getting the following errors:
Strict Standards: Non-static method Mail::factory() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 245
Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 246
The PEAR Mailer docs are horrible, and don't match what the code actually does. Mail::factory() isn't actually static, even though it's supposed to be (and the docs tell you to do it that way).
We should probably fix this, somehow.
-Chad
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Thu, Oct 18, 2012 at 3:16 PM, Mills, Douglas DMills@notifycorp.com wrote:
Hi Chad,
That's a bummer.
Per my e-mail that I sent as this one came in, I was able to successfully get the e-mails to go out, however my page is still showing all of the errors mentioned below. Is there a way I can suppress these errors so my users don't see them?
Yes, you could set your error reporting to a lower level. For example, in LocalSettings.php:
error_reporting( E_ALL ^ E_STRICT );
-Chad
Hi Chad,
I added this to my LocalSettings.php page and the errors are still appearing?
Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 dmills@notifycorp.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Chad Sent: Thursday, October 18, 2012 3:16 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] SMTP Setup Issues
On Thu, Oct 18, 2012 at 3:16 PM, Mills, Douglas DMills@notifycorp.com wrote:
Hi Chad,
That's a bummer.
Per my e-mail that I sent as this one came in, I was able to successfully get the e-mails to go out, however my page is still showing all of the errors mentioned below. Is there a way I can suppress these errors so my users don't see them?
Yes, you could set your error reporting to a lower level. For example, in LocalSettings.php:
error_reporting( E_ALL ^ E_STRICT );
-Chad
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Actually, one of the developers here figured it out. Changing the display_errors value in the php.ini to "Off" suppressed these errors.
Thanks for your help!
Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 dmills@notifycorp.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Mills, Douglas Sent: Thursday, October 18, 2012 3:44 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] SMTP Setup Issues
Hi Chad,
I added this to my LocalSettings.php page and the errors are still appearing?
Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 dmills@notifycorp.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Chad Sent: Thursday, October 18, 2012 3:16 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] SMTP Setup Issues
On Thu, Oct 18, 2012 at 3:16 PM, Mills, Douglas DMills@notifycorp.com wrote:
Hi Chad,
That's a bummer.
Per my e-mail that I sent as this one came in, I was able to successfully get the e-mails to go out, however my page is still showing all of the errors mentioned below. Is there a way I can suppress these errors so my users don't see them?
Yes, you could set your error reporting to a lower level. For example, in LocalSettings.php:
error_reporting( E_ALL ^ E_STRICT );
-Chad
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Just to provide an update on this.
I am now getting it to send the e-mails successfully, however the errors that were displaying are still appearing. Is there any way to prevent these errors from appearing?
Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 dmills@notifycorp.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Mills, Douglas Sent: Thursday, October 18, 2012 2:53 PM To: mediawiki-l@lists.wikimedia.org Subject: [MediaWiki-l] SMTP Setup Issues
To whom it may concern,
I was in the IRC channel and sumanah had recommended that I inquire about my issue via the mailing list, so here goes. I am trying to set up SMTP use for my MediaWiki Server. I am running Windows Server 2008. I have installed all of the Pear Mail modules to get this running, however when I enter the variables for $wgSMTP I am getting several lines of errors.
SMTP is running on my local machine and does not require any form of authentication: $wgEmailEmail = true; $wgEnableUserEmail = true;
$wgSMTP = array( 'host' => "localhost", //could also be an IP address 'IDHost' => "wiki.notify.net", 'port' => 25, 'auth' => false );
However, when I create a new account, attempt to send the e-mail for a password reset, I am getting the following errors:
Strict Standards: Non-static method Mail::factory() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 245
Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 246
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 365
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 450
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 467
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 474
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 517
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 521
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 249
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 285
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 952
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 955
Strict Standards: Non-static method Mail_RFC822::parseAddressList() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail.php on line 253
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 982
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 985
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1063
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1066
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1126
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1136
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1141
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 491
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 494
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 497
Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 78
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 78
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 78
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 38
Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 dmills@notifycorp.commailto:dmills@notifycorp.com
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org