Seite 1 von 1

Yellow Card 1.4.12 - Fehler

Verfasst: 22.11.2007 19:49
von Jackson²
Hallo,

Habe eben meinen fertig gemoddeten Yellow Card 1.4.12 Mod eingebaut, und nach dem hochladen kam folgender fehler:
pty($board_config[$config_name])) { if($add_config) { $this->_add_config($tpl, $tpl === $this->tpl ? true : false); } return $this->style_config; } $this->style_config = $this->_unserialize($board_config[$config_name]); if($tpl === $this->tpl) { foreach($this->style_config as $var => $value) { $this->vars['TPL_CFG_' . strtoupper($var)] = $value; } } return $this->style_config; } function get_config($tpl = '', $add_config = true) { if(empty($tpl)) { if(empty($this->tpl)) { return array(); } $this->_get_config($this->tpl, $add_config); return $this->style_config; } else { $old_config = $this->style_config; $result = $this->_get_config($tpl, $add_config); $this->style_config = $old_config; return $result; } } /* * Split/merge config data. * Using this function instead of (un)serialize because it generates smaller string so it can be stored in phpbb_config */ function _serialize($array) { if(!is_array($array)) { return ''; } $str = ''; foreach($array as $var => $value) { if($str) { $str .= '|'; } $str .= $var . '=' . str_replace('|', '', $value); } return $str; } function _unserialize($str) { $array = array(); $list = explode('|', $str); for($i=0; $i_tpldata[$name.'.']) && count($tpl->_tpldata[$name.'.']) > 0); } ?>
Fatal error: Class 'Template' not found in /usr/export/www/vhosts/funnetwork/hosting/lilly1991/site/forum/includes/functions.php on line 542
Jedoch, es kann nicht in der Functions.php sein, denn diese wurde nie editiert. Bin relativ Ahnungslos.. Wäre nett wenn jemand Helfen könnte.

Liebe Grüße

Jackson²

PS: Hier der Inhalt in der Zeile 542 der funtions.php

Code: Alles auswählen

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

Verfasst: 23.11.2007 14:35
von Jackson²
Weiß keiner eine Antwort ? :(

Verfasst: 23.11.2007 15:06
von Isyan
verlinke mal deine functions.php und schau ob du die änderungen da durchgenommen hast...

Verfasst: 23.11.2007 20:09
von Jackson²
Problem war ja, dass ich nach Mod nichts in der functions.php ändern musste...

Verfasst: 24.11.2007 16:25
von Jackson²
Weiß keiner eine Antwort oder will keiner eine Antwort wissen ? O.o