[TYPO3] page is being generated and PHP fatal error
Dmitry Dulepov
dmitry at typo3.org
Thu Jun 7 11:09:37 CEST 2007
Hi!
Bing Du wrote:
> For some reason, one page started giving 'Page is being generated, If this
> message does not disappear within 30 seconds, please reload'. Whenever I
> click the page link in the menu, I noticed the following error was
> generated in the Apache error_log.
>
> [client 129.186.197.119] PHP Fatal error: Call to undefined function:
> encryptcharcode() in
> /data/www/html/typo3_src-4.0.6/typo3/sysext/cms/tslib/class.tslib_fe.php
> on line 3439
>
> Line 3439 is:
>
> $out .= $this->encryptCharcode($charValue,0x61,0x7A,$offset);
...
> The load on the site is low. I also don't think it's related to
> extensions because there was no new extension installed before the page
> stopped working. I checked Tools->Log on the backend and found one user
> inserted and deleted some content on the page. I don't understand why all
> of a sudden, it started spitting ugly PHP fatal error. What does
> encryptCharcode() do?
Easy to find from its description:
/**
* Encryption (or decryption) of a single character.
* Within the given range the character is shifted with the supplied
offset.
*
* @param int Ordinal of input character
* @param int Start of range
* @param int End of range
* @param int Offset
* @return string encoded/decoded version of character
*/
This problem happens from time to time but why - it is unclear. The
reason is not yet tracked down.
--
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-english
mailing list