GGshow reloaded GGshow reloaded

January 15, 2012

Call to undefined function token_get_all()

Issue:

  • Unable to create action using Zend Framework Command Line Tool.
    Fatal error: Call to undefined function token_get_all() in C:Program FilesZend
    ZendServershareZendFrameworklibraryZendReflectionFile.php on line 301

Reason:

  • PHP tokenizer extention has not been enabled.

Solution:

  • If PHP compiled without tokenizer (–disable-tokenizer), recompile it with tokenizer (–enable-tokenizer).
  • If PHP configuration has not enabling tokenizer, edit php.ini, add or uncomment the tokenizer extension.
    extension=tokenizer.so

    or

    extension=php_tokenizer.dll
Filed under: PHP,Web,Zend Framework — Tags: , , , — GG @ 1:21 am

© 2024 GGSHOW | Powered by WordPress