TinyPortal

Development => Support => Topic started by: eur on August 26, 2008, 07:40:28 PM

Title: Fatal error: Cannot redeclare template_init (solved)
Post by: eur on August 26, 2008, 07:40:28 PM
Hello, anyone help me please!
(I use TP )

Fatal error: Cannot redeclare template_init() (previously declared in /usr/home/xxxxxxxx/domains/xxxxxxxx/public_html/forum/Sources/Load.php(1742) : eval()'d code:32) in /usr/home/deb5492n2/domains/xxxxxxx/public_html/forum/Sources/Load.php(1742) : eval()'d code on line 57
Title: Re: Fatal error: Cannot redeclare template_init
Post by: IchBin on August 26, 2008, 08:34:53 PM
Please help me, help you by clicking the link.
Please read the Posting Guidelines (http://www.tinyportal.net/index.php?topic=581)
Title: Re: Fatal error: Cannot redeclare template_init
Post by: eur on August 26, 2008, 10:08:39 PM
Thank you for reply!

Somebody give me tip
Run:
INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);

and now I have new error:

Fatal error: Cannot redeclare template_init() (previously declared in /usr/home/xxxx/domains/xxxxx/public_html/forum/Themes/xxxxx/index.template.php:32) in /usr/home/xxxxx/domains/xxxxxx/public_html/forum/Themes/xxxxx/languages/index.template.php on line 57

I use smf 1.15 tp xxxxx
Title: Re: Fatal error: Cannot redeclare template_init
Post by: Ken. on August 27, 2008, 12:09:13 AM
eur, welcome to TinyPortal.

Bumping your topic after only one hour won't make the help come any faster.
Someone will have an answer for you at some point but meanwhile you need to give it some time and wait until one of the Team members has a chance to look at your issue.
Title: Re: Fatal error: Cannot redeclare template_init
Post by: eur on August 27, 2008, 01:15:07 AM
thanks, Ken, now all in the order.
In the former USSR the small electronic war goes on :)
Title: Re: Fatal error: Cannot redeclare template_init
Post by: Ken. on August 27, 2008, 01:25:39 AM
So your site is OK now?
Title: Re: Fatal error: Cannot redeclare template_init
Post by: eur on August 27, 2008, 01:31:21 AM
yes, in this time was dismantled itself. Thanks!
Title: Re: Fatal error: Cannot redeclare template_init
Post by: Ken. on August 27, 2008, 01:49:19 AM
Glad it's working for you again.

Marking this as solved.