Help with a Error Message re. loading template in themes

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Help with a Error Message re. loading template in themes
skullcramp
CZ Newbie
skullcramp has been a member for over 20 year's 20 Year Member
usa.gif idaho.gif
Occupation: General Manager
Gender: Male
Fav. Sports Team: San Diego Chargers
Website:
Status: Offline
Joined: Apr 28, 2004
0.00 posts per day
Posts: 28
Points: 2,662
   
Here's the error message.

Fatal error: Call to undefined function: get_theme() in /home/www/nordsieck.com/modules/Forums/includes/functions.php on line 642



Here's the code in line 642


$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/forums/".$board_config['board_template']."/index_body.tpl")) {
$template = new Template("themes/$ThemeSel/forums/".$board_config['board_template']."");
} else {
$template = new Template($phpbb_root_path . 'templates/' . $board_config['board_template']);
}
}

Can one of you experts point me in a direction to resolve this?
THanks,



Back to top Reply with quote
#2   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
just guessing here, (my only post) have you actually got a theme selected in your sql, or have you changed the name or anything like that, i had that error once and it was something to do with that, just wondering




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum