error viewing site after successful installation
error viewing site after successful installation
Hi:
I'm a first timer. Just installed the latest beta. The installation process went smoothly. After successful installatin when i clicked the link to view the site i get the following error.
Fatal error: Call to undefined function token_get_all() in /cms/lib/smarty/core/core.write_compiled_include.php on line 45
The admin section works fine. Only the main site (public interface) has this problem. I'm using php 5, apache 2 on a gentoo system.
I'm a first timer. Just installed the latest beta. The installation process went smoothly. After successful installatin when i clicked the link to view the site i get the following error.
Fatal error: Call to undefined function token_get_all() in /cms/lib/smarty/core/core.write_compiled_include.php on line 45
The admin section works fine. Only the main site (public interface) has this problem. I'm using php 5, apache 2 on a gentoo system.
Re: error viewing site after successful installation
Are you sure it's php5? token_get_all is definatly in php5 and every version after 4.2.0. I'd probably have to look at the Smarty forums to see what is up. As soon as I get some time, I will, unless someone else is interested. 

Re: error viewing site after successful installation
reverted to php version 4 and things seems to work.
Re: error viewing site after successful installation
That's too weird. I'm running on php5 and I've never seen that problem.
Re: error viewing site after successful installation
i had manually compiled may be missed some configure parameter that was required to enable the function ? or is it compiled by default ?
just a thought.
just a thought.
Re: error viewing site after successful installation
Well, in theory it should be compiled by default. But you never know what the ebuild guys are doing with it. There could be some build flag that turns off the tozenizer for some reason or another.
http://us2.php.net/manual/en/ref.tokenizer.php
http://us2.php.net/manual/en/ref.tokenizer.php
Re: error viewing site after successful installation
I had the same problem. Running FreeBSD 5.4-RELEASE, php-5.0.4, apache2.
I fixed it by installing the package "php5-tokenizer". Maybe this can help you the next time?
I fixed it by installing the package "php5-tokenizer". Maybe this can help you the next time?
Re: error viewing site after successful installation
Did you find any solution? I'm using a webhost (b-one.dk) and cant recompile anything.
Please help!
I'm using PHP5 and register globals off
.johannes
Please help!
I'm using PHP5 and register globals off
.johannes
Re: error viewing site after successful installation
Same problem here. Also using B-one. Anyone a solution?Findorf wrote: Did you find any solution? I'm using a webhost (b-one.dk) and cant recompile anything.
Please help!
I'm using PHP5 and register globals off
.johannes
On my localhost and another webhost (solcon.net) it works perfect.
Last edited by polinderkp on Mon Jan 02, 2006 12:18 pm, edited 1 time in total.
Re: error viewing site after successful installation
Hi polinderkp,
I'm using B-One too and have no problems. Do you get the token_get_all() error mentioned in the first topic in this thread?
I'm using B-One too and have no problems. Do you get the token_get_all() error mentioned in the first topic in this thread?
Re: error viewing site after successful installation
get same error indeed. Admin section works fine. Have set PHP5 and register globals off. 

Re: error viewing site after successful installation
Still having same problem. I've read in this topic that the tokenizer module maybe is the problem, but westis, having same host, have no problems?
Someone a solution?

Someone a solution?
Re: error viewing site after successful installation
Only viable thing is to do the support chat with b-one and get them to do the right thing, or revert back to php4 ... Their version of that is prior to the introduction of that particular function call. My guess is that westis is running php4, not php5 (5.1.1 currently at b-one).polinderkp wrote: Still having same problem. I've read in this topic that the tokenizer module maybe is the problem, but westis, having same host, have no problems?![]()
Someone a solution?
What bugs me is that other CMSes I've got installed that also use smarty doesn't exhibit this problem....

Oh well.
-- Glenn
Re: error viewing site after successful installation

greez, alfonx