Mam problem z tym plikiem, jego wadliwość paraliżuje cały panel administracyjny. Gdy wykonam dowolną czynność, np. Chcę ustawić zezwolenia dla grupy, wybraniu jej, pojawia się komunikat o błędzie w linii 0 (

) pliku template.php:
Kod:
Fatal error: Cannot redeclare class template in /home/centrum/public_html/forum/includes/template.php on line 0
I tak jest w różnych miejscach panelu.
Ostatnio dodawałem nową stronę forum według FAQ, ale tam tego pliku (template.php) nie trzeba było modyfikować.
Dodawałem jeszcze wcześniej kilka wartości do bazy danych i edytowałem kilka plików, ale tam też nie było tego pliku do edycji.
Mam eXtreme Styles moda (czy jakoś tak).
Dodam jeszcze linijki pliku template.php:
Kod:
class Template {
var $classname = "Template";
// variable that holds all the data we'll be substituting into
// the compiled templates.
// ...
// This will end up being a multi-dimensional array like this:
// $this->_tpldata[block.][iteration#][child.][iteration#][child2.][iteration#][variablename] == value
// if it's a root-level variable, it'll be like this:
// $this->vars[varname] == value or $this->_tpldata['.'][0][varname] == value
// array "vars" is added for easier access to data
var $_tpldata = array('.' => array(0 => array()));
var $vars;
// Hash of filenames for each template handle.
var $files = array();
var $files_cache = array(); // array of cache files that exists
var $files_cache2 = array(); // array of cache files (exists or not exists)
// Root template directory.
var $root = '';
// Cache directory (compatible with default cache mod)
var $cachedir = '';
// Search/replace for unknown files
var $cache_search = array();
var $cache_replace = array();
// Template root directory (generated by set_rootdir)
var $tpldir = '';
var $tpldir_len = 0;
//i tak dalej aż do końca, bo nie wiem gdzie się kończy.
Bardzo proszę o pomoc, wydaje mi się, że wyjaśniłem dokładnie mój problem.
{Sygnaturka}