By nimbupani on
I am trying to translate my module to dutch. I copied my module to where the extractor.php was and ran the command :
php extractor.php --debug
but I get the error: Fatal Error: Call to undefined function token_get_all() on line no. 75.
Is this a bug?
Comments
Although no one answered you
Although no one answered you promptly, I thought I'd reply here for anyone else who runs into this problem.
It's caused by not having the php tokenizer enabled on your system. If you run Gentoo, it's disabled by default and you will need to set the "tokenizer" use flag and re-emerge.
In general (for non-Gentoo systems), make sure that the --disable-tokenizer option is not passed to the php configure script when you build.