Installing with postgresql 8.1.3 and php 5.1.2
Regardless of whether or not smarty is turned on in the config.php file.
I can pull up /~cmsmadesimple/admin and login as the administrative user However, when I go to the site or attempt to preview a page I get the following error.
Fatal error: Call to undefined function token_get_all() in /home/cmsmadesimple/public_html/lib/smarty/internals/core.write_compiled_include.php on line 45
As a fatal error it crashes it all and what I get is a totally white screen. Not useful yet. How to fix?
smarty related install error
Re: smarty related install error
token_get_all is a PH Pfunction, it only works if PHP is compiled with tokenizer support (compiled with --enable-tokenizer).
See http://www.php.net/manual/en/function.token-get-all.php and http://www.php.net/manual/en/ref.tokenizer.php
Regards,
D
See http://www.php.net/manual/en/function.token-get-all.php and http://www.php.net/manual/en/ref.tokenizer.php
Regards,
D
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: smarty related install error
Install the tokenizer extensions for php 5 and it'll solve your problems..... I answered this question once already 

Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: smarty related install error
i get this too and installes /ports/devel/php-tokenizer port n restarted but im still gettin this error....
usin php 5 i see this is kinda common?
what am i missing here?
usin php 5 i see this is kinda common?
what am i missing here?