Yellow Card 1.4.12 - Fehler
Verfasst: 22.11.2007 19:49
Hallo,
Habe eben meinen fertig gemoddeten Yellow Card 1.4.12 Mod eingebaut, und nach dem hochladen kam folgender fehler:
Liebe Grüße
Jackson²
PS: Hier der Inhalt in der Zeile 542 der funtions.php
Habe eben meinen fertig gemoddeten Yellow Card 1.4.12 Mod eingebaut, und nach dem hochladen kam folgender fehler:
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.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
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);