Home arrow Forum Error: Cannot redeclare template_init - when changing user
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 06:41:31 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Error: Cannot redeclare template_init - when changing user
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Error: Cannot redeclare template_init - when changing user  (Read 1543 times)
Matthias
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Error: Cannot redeclare template_init - when changing user
« on: September 13, 2006, 05:56:42 PM »

Hello Everyone,

I get this error:
Fatal error: Cannot redeclare template_init() (previously declared in /var/home/............/smf_board/Themes/index.template.php in line 30

index.template.php line 30 reads:
function template_init()
{ global $context, $settings, $options, $txt;
etc........


My Setup:
CBE-Beta1-1/2 0.6234pk
Joomla 1.0.10
SMF Forum 1.1 RC2
SMF Bridge 1.1.4.2 laufen.

The error occurs when:
- a user is logged in in the forum using a different than the default skin (!)
- this user is logging himself out in the forum
- he gets redirected to the joomla portal and wants to go back to the forum as a now Anonymus (!) User (or a another user using the default skin in the forum)

>> The error occurs anytime a user with default skin in the forum wants to access the forum and the previously logged in forum user was using any other skin than the default skin.

The only other thread with exactly the same problem is this one, but there is no solution either:
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,678.0

Can anyone help?

Thanks in advance. Cheers
Matthias
Logged
Matthias
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Error: Cannot redeclare template_init - when changing user
« Reply #1 on: September 15, 2006, 02:32:18 AM »

no one?
HELP !!!  Wink
Logged
Matthias
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Error: Cannot redeclare template_init - when changing user
« Reply #2 on: September 17, 2006, 06:02:06 AM »

an option could be to tell the default template to override the cookie settings the previous skin left behind. but i dont know how to do that.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login