[TYPO3] page is being generated and PHP fatal error

Bing Du bdu at iastate.edu
Fri Jun 8 22:15:01 CEST 2007


> Hi Bing, all,
>
> Bing Du wrote:
>> 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.
>
> So I'm now totally clueless. I had a look at the two methods
> tslib_fe::encryptCharcode() and tslib_fe::encryptEmail() for 4.1.1
> and the code there is fairly simple and looks totally clean to me.
>
> The only little thing is the all lowercase "encryptcharcode()" from the
> Apache log whereas the source has "encryptCharcode()" everywhere, but
> that obviously is the result of PHP 4 beeing case insensitive for
> function/method names. Compare:
> http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html
>
> Sorry, Georg
> --

Thanks for taking time trying to help, Georg.  Really appreciated it.  We
have another site pointing to the same typo3 source package and email
encryption works fine there.  I suspect it might be some site specific
configuration that broke email encryption on this site.

I know regular pages have history information so you can see all the
changes that have been made on the page.  Does template record keeps
history as well?  In Tools->Log, I saw one user modified the template
record but unfortunately it just noted "Record 'Site Style'
(sys_template:1) was updated. (msg#1.2.10)" without any further details. 
I knew he was going to make a simple change (modify site title in
constants) to the template.  Other than that, I have no idea what else to
suspect.

Bing



More information about the TYPO3-english mailing list