Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-1324 now.

[Minor] function token_get_all is missing !!! (fix completed in vcs)

If you use the "functions_template.php" from the CVS 21. June complete board stops working.

Code: Select all
Fatal error: Call to undefined function token_get_all() in /...xxx.../includes/functions_template.php on line 87


After using the functions_template.php from the CVS 20.June the board works again.

Comments / History

Posted by Acyd Burn (Server Manager) on Jul 21st 2006, 08:54

dr.death, may i ask which version of PHP you are using? token_get_all() is available in PHP >= 4.2.0, the minimum requirement for Olympus is PHP 4.3.3.

Posted by Dr.Death (QA Team) on Jul 21st 2006, 16:35

Hi Acyd,
my Web Hoster runs :
PHP Version 5.0.5-Debian-0.8~sarge1 (Debian GNU/Linux)

Do you need any more information ?

Posted by Ashe (Former Team Member) on Jul 21st 2006, 19:02

The only way to not have the Tokenizer extension is to explicitly disable it when compilling PHP --disable-tokenizer or --disable-all. The Tokenizer extension is one of PHP's core extensions and should not be disabled. However, we will consider providing a fallback method for the very few who do not support it as long as it does not adversely affect the performance of a "normal" PHP install and offers an equivalent level of protection. (FYI the tokenizer is used to prevent PHP code to be used inside of a HTML template)

I will keep you updated Wink

Posted by Dr.Death (QA Team) on Jul 22nd 2006, 09:06

Thanks for investigating.
Sent a short info to my Hoster.
Waiting for feedback.

Linked ticket with changeset: r6206

Action performed by Anonymous (I am too lazy to register) on Jul 23rd 2006, 22:16

Posted by Ashe (Former Team Member) on Jul 23rd 2006, 22:17

A fix has been checked into CVS, please test it and report any further issue, thank you Smile

Posted by Dr.Death (QA Team) on Jul 24th 2006, 05:29

checked.
Workaround is running fine.

On my Webserver is the
Code: Select all
@dl('tokenizer');

not succesfull and the "preg_replace" code block works so far.

Will check it next time..... and wait for respond from my hoster.

Thx for the fix !

Posted by Dr.Death (QA Team) on Jul 24th 2006, 15:47

Hopefully last update:

My Webhoster ( http://area51.lpi-clan.de ) has installed the missing tokenizer.

http://s130.deinprovider.de/test.php

Thx to phpBB3 Devs and my Hoster.

Ticket details

Related SVN changesets