Forums Sign Up Reply Search Statistics
Hacks And Addons GraFX Software Solutions - Forum / Hacks And Addons /

cls_fast_template bug 1

 
Author software
Admin
#1 Posted: 20 Jan 2003 21:08:12
Reply 
We found that in PHP 4.3.0 cls-fast_template.php give an error like:

Fatal error: Cannot redeclare clear_parse() in /usr/local/samba/share/projects/grafx/test/rate/cls_fast_template.php on line XXX

To avoid this, comment out or delete the following lines.

// ************************************************************
// Aliased function - used for compatibility with CGI::FastTemplate
function clear_parse ()
{
$this->clear_assign();
}
// ************************************************************
// Clears all variables set by assign()

This should solve the problem.
Author Anonymous
Guest
#2 Posted: 20 Mar 2003 18:56:22
Reply 
where you find this code lines in what file?
Author Anonymous
Guest
#3 Posted: 20 Mar 2003 19:32:07
Reply 
when i open articol.php i got this message:
Warning: Invalid content of \{\} in /home/.sites/39/site9/web/rating/cls_fast_template.php on line 221

Not yet ratedYou have recently rated this article
where you think i do wrong
Author software
Admin
#4 Posted: 21 Mar 2003 21:17:58
Reply 
please write to it@grafx.ro with a more detailed info.
But you need an ID after articol.php like articol.php?id=1
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.