[TYPO3-english] class.t3lib_htmlmail and return path error

Aleksandar Milovac aleksandar.milovac at rns-nis.co.rs
Tue May 19 13:47:55 CEST 2009


David Bruchmann wrote:
> ----- Ursprüngliche Nachricht -----
> Von:        Aleksandar Milovac <aleksandar.milovac at rns-nis.co.rs>
> Gesendet:   Dienstag, 19. Mai 2009 12:58:36
> An:         typo3-english at lists.netfielders.de
> CC:
> Betreff:    Re: [TYPO3-english] class.t3lib_htmlmail and return path error
>> David Bruchmann wrote:
>>> ----- Ursprüngliche Nachricht -----
>>> Von:        Aleksandar Milovac <aleksandar.milovac at rns-nis.co.rs>
>>> Gesendet:   Dienstag, 19. Mai 2009 12:30:26
>>> An:         typo3-english at lists.netfielders.de
>>> CC:
>>> Betreff:    Re: [TYPO3-english] class.t3lib_htmlmail and return path
>>> error
>>>> Xavier Perseguers wrote:
>>>>> Hi,
>>>>>
>>>>>> When I'm using a fe_user_reg or any other extenseion that uses
>>>>>> class.t3lib_htmlmail to send mail I'm getting the following output in
>>>>>> frontend of my site:
>>>>>>
>>>>>> Warning: escapeshellarg() has been disabled for security reasons in
>>>>>> ~/public_html/t3lib/class.t3lib_htmlmail.php on line 7Warning: Cannot
>>>>>> modify header information - headers already sent by (output
>>>>>> started at
>>>>>> public_html/t3lib/class.t3lib_htmlmail.php:716) in
>>>>>> public_html/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3226
>>>>>>
>>>>>> The mail is sent so this is not the problem(?) but this ugly
>>>>>> warning is
>>>>>> being printed in the frontend of the site which is a bit anoying. My
>>>>>> hosting provider says that escapeshellarg()  is disabled for security
>>>>>> reasons. Can this be solved within typo3? Can I prevent this message
>>>>>> from appearing in frontend?
>>>>> You should not show PHP errors/warnings on frontend. Update your
>>>>> php.ini
>>>>> settings if you may do this (depends on the provider).
>>>>>
>>>> I don't think so. Can I do it localy via .htaccess file?
>>> You should be able to do it by install-tool / localconf.php
>>>
>>> David
>>
>>
>> You meen [FE][debug] =1 ?
> 
> Have a look at the fields
> 
>     $TYPO3_CONF_VARS['FE']['debug'] = '0';
>     $TYPO3_CONF_VARS['SYS']['displayErrors'] = '0';
>     $TYPO3_CONF_VARS['SYS']['sqlDebug'] = '0';
> 
> The difference betweeen the first two options I haven't verified but
> it's explained in the installtool and should be set to zero anyway.
> 
> Best regards
> David

Thanks David. $TYPO3_CONF_VARS['SYS']['displayErrors'] = '0' helped.

Regards,
Aleksandar


More information about the TYPO3-english mailing list