Page 1 of 1

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

Posted: Mon Nov 17, 2008 4:42 am
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

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

Posted: Mon Nov 17, 2008 8:31 am
by alby
wedhaaf wrote: Any idea what's wrong with it?
Maybe you have broken files.
Try to re-uploads whole cmsms pack

Alby

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

Posted: Tue Nov 18, 2008 6:46 am
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?

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

Posted: Tue Nov 18, 2008 8:09 am
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

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

Posted: Tue Nov 18, 2008 8:10 am
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

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

Posted: Tue Nov 18, 2008 9:16 am
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.

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

Posted: Tue Nov 18, 2008 9:33 am
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