I GET
Fatal error: TPL: [in line 0]: syntax error: file ‘m/pg/_categories’ does not exist in C:\WebServ\httpd\libs\tpl\class.template.php on line 943
unset($_templatelite_tpl_vars);
else: $_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->_vars['TPLx'].'m/pg/_categories'.$this->_vars['HTML'], array());
$this->_vars = $_templatelite_tpl_vars;
WITH FILES http://testynarkotykowe.j13x.pl/index.txt && http://testynarkotykowe.j13x.pl/indexpg.txt
HOW TO FIX IT
Well for starters, that title doesnt match your error.
Your error seems to indicate that $this->_vars[‘TPLx’] was empty.
Verify that the value exists or figure out whyh it doesn’t.
DELETING
unset($_templatelite_tpl_vars);
** else: $_templatelite_tpl_vars = $this->_vars;**
FROM CODE
<?php require_once('C:\WebServ\httpd\libs\tpl\plugins\modifier.number_format.php'); $this->register_modifier("number_format", "tpl_modifier_number_format", false); require_once('C:\WebServ\httpd\libs\tpl\plugins\modifier.replace.php'); $this->register_modifier("replace", "tpl_modifier_replace", false); require_once('C:\WebServ\httpd\libs\tpl\plugins\modifier.substr.php'); $this->register_modifier("substr", "tpl_modifier_substr", false); /* V2.10 Template Lite 4 January 2007 (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2020-03-24 02:27:57 Central European Standard Time */ if ($this->_vars['bulk']): ?>
<?php $_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->_vars['TPLx'].'m/pg/bulk'.$this->_vars['HTML'], array());
$this->_vars = $_templatelite_tpl_vars;
/*unset($_templatelite_tpl_vars);
else: $_templatelite_tpl_vars = $this->_vars;*/
echo $this->_fetch_compile_include($this->_vars['TPLx'].'m/pg/_categories'.$this->_vars['HTML'], array());
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>
HAS FIXED THE PROBLEM
BUT HOW TO MAKE COMPRESSOR NOT GENERATE SUCH CODE?
http://testynarkotykowe.j13x.pl/_gz/php_speedy.txt
THERE IS MORE TO THE CODE
system
Closed
4
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.