Jump to content

template error


crai8088

Recommended Posts

Hi there, I am not sure as to whether you can help me here but any ideas would be greatly appreciated.

I am getting this following error on my phpbb board.


[quote]Fatal error: Cannot instantiate non-existent class: template in /hsphere/local/home/fuschia/byb-pokerforum.com/phpBB2/includes/functions.php on line 521[/quote]

The snippet of code around this is:

[code]$template_path = 'templates/' ;
$template_name = $row['template_name'] ;

$template = new Template($phpbb_root_path . $template_path . $template_name);

if ( $template )
{
$current_template_path = $template_path . $template_name;
@include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg');
[/code]

Please help me.
Link to comment
https://forums.phpfreaks.com/topic/25757-template-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.