Troubles with KT_Email.class.php
Posted: 2012-11-07 15:29
Hi All,
I'm new here and love this place already. IMHO MXKollection is (was) the best tool ever created for a small website developer like me.
I can't find solution for the following problem:
User registration form is trying to send confirmation email but fails with a stack of messages (see below).
Server: localhost
PHP: 5.4.7
error_reporting = E_ALL ^ E_STRICT
problem start in line 225 of KT_Email.class.php:
$mail_object = &Mail::factory('smtp', $arrSMTPParameters);
Well, I'm not very good with php so I can't fix this and I also wasn't able to find the was to get rid of this warning.
Is there any solution&idea for this?
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\PEAR.php on line 557
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\PEAR.php on line 560
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail.php on line 134
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail\smtp.php on line 189
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\Net\SMTP.php on line 127
Strict Standards: Non-static method Mail::factory() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\KT_Email.class.php on line 225
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail\smtp.php on line 203
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Net\SMTP.php on line 307
Strict Standards: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Net\SMTP.php on line 308
Strict Standards: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail\smtp.php on line 207
Many thanks for any help!
Alexey
I'm new here and love this place already. IMHO MXKollection is (was) the best tool ever created for a small website developer like me.
I can't find solution for the following problem:
User registration form is trying to send confirmation email but fails with a stack of messages (see below).
Server: localhost
PHP: 5.4.7
error_reporting = E_ALL ^ E_STRICT
problem start in line 225 of KT_Email.class.php:
$mail_object = &Mail::factory('smtp', $arrSMTPParameters);
Well, I'm not very good with php so I can't fix this and I also wasn't able to find the was to get rid of this warning.
Is there any solution&idea for this?
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\PEAR.php on line 557
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\PEAR.php on line 560
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail.php on line 134
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail\smtp.php on line 189
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\includes\common\lib\email\Pear\Net\SMTP.php on line 127
Strict Standards: Non-static method Mail::factory() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\KT_Email.class.php on line 225
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail\smtp.php on line 203
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Net\SMTP.php on line 307
Strict Standards: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Net\SMTP.php on line 308
Strict Standards: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\common\lib\email\Pear\Mail\smtp.php on line 207
Many thanks for any help!
Alexey