string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecognized t

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
wedhaaf
Forum Members
Forum Members
Posts: 10
Joined: Thu Oct 30, 2008 6:48 am

string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecognized t

Post by wedhaaf »

I found this error : string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecognized tag 'assign' (Smarty_Compiler.class.php, line 590)" when I tried to install cmsms 1.4.1. It is appeared on top of installation page's header.

I ignored this message and continue to install. Everything's look fine untill installation is finished.
When I try to see my new site, I got another error message :
Fatal error: Cannot redeclare readfile() in /home/oaseind/public_html/lib/misc.functions.php on line 1093

Any idea what's wrong with it?

My web hoster use PHP Version 4.4.7.

I hope someone give me a hand.

Regards,
wedhaaf
Last edited by wedhaaf on Mon Nov 17, 2008 4:48 am, edited 1 time in total.
alby

Re: string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecognized t

Post by alby »

wedhaaf wrote: Any idea what's wrong with it?
Maybe you have broken files.
Try to re-uploads whole cmsms pack

Alby
wedhaaf
Forum Members
Forum Members
Posts: 10
Joined: Thu Oct 30, 2008 6:48 am

Re: string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecogniz

Post by wedhaaf »

Thank  you Alby.

I've reupload the whole pack cmsms. The good news is Smarty error seems has been solved. I can't see it on top of the page.

But still I get the same error message :
Fatal error: Cannot redeclare readfile() in /home/oaseind/public_html/lib/misc.functions.php on line 1093

I got this system information while installing cmsms:

Apache/1.3.41 (Unix)
mod_log_bytes/1.2
mod_bwlimited/1.4
mod_auth_passthrough/1.8
FrontPage/5.0.2.2635
mod_ssl/2.8.31
OpenSSL/0.9.7a

I do not know PHP much, but could it be in misc.functions.php has a function that don't match to the my hoster system?
Last edited by wedhaaf on Tue Nov 18, 2008 6:56 am, edited 1 time in total.
alby

Re: string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecogniz

Post by alby »

wedhaaf wrote: I got this system information while installing cmsms:

Apache/1.3.41 (Unix)
mod_log_bytes/1.2
mod_bwlimited/1.4
mod_auth_passthrough/1.8
FrontPage/5.0.2.2635
mod_ssl/2.8.31
OpenSSL/0.9.7a
You don't write your PHP version, it's > 4.3.0 (read Requirements)

Alby
alby

Re: string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecogniz

Post by alby »

alby wrote:
wedhaaf wrote: I got this system information while installing cmsms:

Apache/1.3.41 (Unix)
mod_log_bytes/1.2
mod_bwlimited/1.4
mod_auth_passthrough/1.8
FrontPage/5.0.2.2635
mod_ssl/2.8.31
OpenSSL/0.9.7a
You don't write your PHP version, it's > 4.3.0 (read Requirements in Documents)

Alby
wedhaaf
Forum Members
Forum Members
Posts: 10
Joined: Thu Oct 30, 2008 6:48 am

Re: string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecognized t

Post by wedhaaf »

In my first post. It's version 4.4.7.

It must be running well without this Fatal Error...
In my PC localhost using PHP v. 5.2.2, it works fine, no error messages at all.

I'm still struggling with this problem. Do not knowing why.

Hope you have solution for this.
alby

Re: string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecognized t

Post by alby »

wedhaaf wrote: In my first post. It's version 4.4.7.
I have 4.3.11 also and never seen this.
2 situations:
- maybe a old module that declare this function
- you have readfile in disable_functions

Check your phpinfo()


Alby
Post Reply

Return to “CMSMS Core”