Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

2.6rc1 : problem with filenames ?

 
Post new topic   Reply to topic    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
scdgro
Smarty Regular


Joined: 24 May 2003
Posts: 39
Location: Netherlands

PostPosted: Tue Sep 30, 2003 4:41 pm    Post subject: 2.6rc1 : problem with filenames ? Reply with quote

Very weird behavior from the parser

error :
Fatal error: Call to undefined function: _load_plugins() in /home/httpd/htdocs/nedlinux/tmp/compile/%%134/%%1347901038/crew_admin.tpl.php on line 3

First lines from the above file :
Code:

<?php /* Smarty version 2.6.0-RC1, created on 2003-09-30 18:33:51
         compiled from crew_admin.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'crew_admin.tpl', 36, false),array('function', 'html_options', 'crew_admin.tpl', 41, false),)), $this); ?>
<!-- begin van crew -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "sectionheader.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="100%" cellspacing="1" border="0" cellpadding="2" align="center">
        <tbody>
                <tr bgcolor="#F9F9F9">
                <form method="POST" action="<?php echo $GLOBALS['HTTP_SERVER_VARS']['PHP_SELF']; ?>
">




Same with another file like below :
Code:

<?php /* Smarty version 2.6.0-RC1, created on 2003-09-30 18:28:43
         compiled from domein_admin.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'domein_admin.tpl', 37, false),)), $this); ?>
<!-- Begin van Domein -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "sectionheader.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                                <table width="100%" cellspacing="1" border="0" cellpadding="2" align="center">
                                        <tbody>
                                                <tr bgcolor="#F9F9F9">
                                                        <td height="30"><?php echo $this->_tpl_vars['nieuw_domein_link']; ?>

                                                                                        <a href="<?php echo @constant('REL_PATH'); ?>
admin/email.php">E-mail Overzicht</a>&&|&&
                                                                                        <a href="<?php echo @constant('REL_PATH'); ?>
admin/alias.php">Alias Overzicht</a>&&|&&
                                                        </td>
                                                        <td></td>
                                                        <form method="POST" action="<?php echo $GLOBALS['HTTP_SERVER_VARS']['PHP_SELF']; ?>
">


The error appears with file as crew_admin.tpl, domein_admin.tpl.
Strange thing is : when i change the filenames a bit like domein_admi.tpl the error disappears.
I tried all forms like domein_adm.tpl , domein_admi.tpl , and no problems, but just when i change it back to _admin, it gives the above problem.
flushed the compile dir several times, no results.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP