Jump to content

Huitz

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Posts posted by Huitz

  1. Hello, I was wondering if you could help me with this. I keep receiving this error: [b]Fatal error: Cannot redeclare class template in /home3/ghostd0/public_html/includes/template.php on line 36[/b]

    Here is my template.php coding ( starting from line #36 )
    [code]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;[/code]

    Can you please tell me what is going wrong? Thank you!!
×
×
  • 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.