phpBB3

[Minor] function token_get_all is missing !!!

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Resolution: Fixed
  • Affects Version/s: 3.0.x
  • Fix Version/s: None
  • Component/s: Other
  • Labels:
    None
  • Environment:
    PHP Environment:
    Database:

Description

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

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.

Activity

Hide
Meik Sievertsen added a comment -

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.

Show
Meik Sievertsen added a comment - 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.
Hide
Dr.Death added a comment -

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

Do you need any more information ?

Show
Dr.Death added a comment - Hi Acyd, my Web Hoster runs : PHP Version 5.0.5-Debian-0.8~sarge1 (Debian GNU/Linux) Do you need any more information ?
Hide
Ashe added a comment -

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

Show
Ashe added a comment - 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
Hide
Dr.Death added a comment -

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

Show
Dr.Death added a comment - Thanks for investigating. Sent a short info to my Hoster. Waiting for feedback.
Hide
Ashe added a comment -

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

Show
Ashe added a comment - A fix has been checked into CVS, please test it and report any further issue, thank you
Hide
Dr.Death added a comment -

checked.
Workaround is running fine.

On my Webserver is the

@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 !

Show
Dr.Death added a comment - checked. Workaround is running fine. On my Webserver is the
@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 !
Hide
Dr.Death added a comment -

Hopefully last update:

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

http://s130.deinprovider.de/test.php" target="_blank

Thx to phpBB3 Devs and my Hoster.

Show
Dr.Death added a comment - Hopefully last update: My Webhoster ( http://area51.lpi-clan.de" target="_blank ) has installed the missing tokenizer. http://s130.deinprovider.de/test.php" target="_blank Thx to phpBB3 Devs and my Hoster.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: