View Issue Details

IDProjectCategoryView StatusLast Update
0002047OXID eShop (all versions)4.03. 3rd party librariespublic2010-09-23 14:42
Reporterdominik_ziegler Assigned To 
PriorityurgentSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.1 revision 28950 
Fixed in Version4.4.2 revision 29492 
Summary0002047: Function set_magic_quotes_runtime() is deprecated on PHP 5.3
DescriptionWhen user wants to open an account in shop, phpmailer throws the following error on PHP 5.3 installations:

Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/allesb/Shop/core/phpmailer/class.phpmailer.php on line 1350

Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/allesb/Shop/core/phpmailer/class.phpmailer.php on line 1354

This results in generated output and therefore crashing the header() function which is executed after that.

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/allesb/Shop/core/phpmailer/class.phpmailer.php:1350) in /usr/www/users/allesb/Shop/core/oxutils.php on line 916

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/allesb/Shop/core/phpmailer/class.phpmailer.php:1350) in /usr/www/users/allesb/Shop/core/oxutils.php on line 917

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/allesb/Shop/core/phpmailer/class.phpmailer.php:1350) in /usr/www/users/allesb/Shop/core/oxutils.php on line 918
Steps To ReproducePHP 5.3 does not support set_magic_quotes_runtime().
Additional Informationhttp://www.oxid-esales.com/forum/showthread.php?p=38039#post38009 (german)
http://www.oxid-esales.com/forum/showthread.php?p=38040#post38040 (german)
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

alfonsas_cirtautas

2010-08-19 15:08

reporter   ~0003409

there are many similar open bugs entered in phpmailer's bugtrack.

http://sourceforge.net/tracker/?func=detail&aid=2881179&group_id=26031&atid=385707
http://sourceforge.net/tracker/?func=detail&aid=2824377&group_id=26031&atid=385707
http://sourceforge.net/tracker/?func=detail&aid=2959516&group_id=26031&atid=385707
http://sourceforge.net/tracker/?func=detail&aid=2958666&group_id=26031&atid=385707

aggrosoft

2010-08-20 13:12

reporter   ~0003417

disabling deprecation warnings in php's error level is a workaround

alfonsas_cirtautas

2010-08-20 17:49

reporter   ~0003422

added E_DEPRECATED warning exclude for php >=5.3