smarty related install error

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
rcaban

smarty related install error

Post by rcaban »

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?
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: smarty related install error

Post by Dee »

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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: smarty related install error

Post by calguy1000 »

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.
p3n1x

Re: smarty related install error

Post by p3n1x »

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?
Locked

Return to “[locked] Installation, Setup and Upgrade”