[TYPO3] page is being generated and PHP fatal error
Bing Du
bdu at iastate.edu
Thu Jun 7 23:34:04 CEST 2007
> Hi Bing,
>
> Bing Du wrote:
>> Removing '@' didn't make any difference.
>>
>> I also tried changing config.spamProtectEmailAddresses to 'ascii'.
>> There
>> was no PHP fatal error anymore. However, the email address shows up as
>> explicit mailto without being converted to Unicode HTML notation as
>> shown
>> in the example in the manual
>> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/7/3/
>
> I tried that with my setup (TYPO3 4.1.1) and 'ascii' works as expected
> in the href attribute, but not in the <a> tags content, where only the
> at sign is replaced (with some string in my case).
>
> Also, did you respect the limited suggested range (-5 ... 1) instead of
> 'ascii'?
>
> Without looking into the sources really (so another wild guess): I
> expect your language not to be english but some asian one? If so,
> do you have set up your charset settings correctly to utf-8? May be,
> that a certain utf-8 byte combination triggers the error?
>
> regards, Georg
> --
> ___ ___
> | + | |__ Georg Rehfeld Woltmanstr. 12 20097 Hamburg
> |_|_\ |___ georg.rehfeld.nospam at gmx.de +49 (40) 23 53 27 10
>
> (Delete .nospam from mail address)
The site supports English only. The following setting used to be working
fine
config.spamProtectEmailAddresses = -2
config.spamProtectEmailAddresses_atSubst = <img
src="fileadmin/templates/images/at.gif" align="absbottom" border="0"
alt="@" />
I'm trying to understand why it complains about call to undefined function
encryptcharcode() which is apparently defined fine in class.tslib_fe.php.
Apparently encoding email function is broken for some unknown reason. So
I was not surprised 'ascii' didn't work as expected.
Bing
More information about the TYPO3-english
mailing list