Forums Sign Up Reply Search Statistics
Star Rating System GraFX Software Solutions - Forum / Star Rating System /

Star Rating System

 
Author Anonymous
Guest
#1 Posted: 26 Apr 2003 16:31:23
Reply 
Hi, a question about Star Rating system.

When I run articol.php I get the following error...

Warning: Invalid content of \{\} in /home/username/public_html/rate/cls_fast_template.php on line 221

the warning refers to the following piece of code in cls_fast_template.php

// Warn about unresolved template variables
if (ereg("({[A-Z0-9_]+})",$template))
{
$unknown = split("\n",$template);
while (list ($Element,$Line) = each($unknown) )
{
$UnkVar = $Line;
if(!(empty($UnkVar)))
{
$this->show_unknowns($UnkVar);
}
}
}
}
Author Anonymous
Guest
#2 Posted: 26 Apr 2003 16:32:09
Reply 
I was wondering, how do I solve this problem...?
Author software
Admin
#3 Posted: 27 Apr 2003 21:56:37
Reply 
uncomment it ...
/*
if (ereg("({[A-Z0-9_]+})",$template))
{
$unknown = split("\n",$template);
while (list ($Element,$Line) = each($unknown) )
{
$UnkVar = $Line;
if(!(empty($UnkVar)))
{
$this->show_unknowns($UnkVar);
}
}
}
*/
Author software
Admin
#4 Posted: 27 Apr 2003 21:57:11
Reply 
And be carefull to be correct the close, only 3 brackets.
Author Anonymous
Guest
#5 Posted: 11 Jan 2005 19:33:51
Reply 
Hi, a question about Star Rating system.

When I run articol.php I get the following error...

Warning: Invalid content of \{\} in /home/username/public_html/rate/cls_fast_template.php on line 221

the warning refers to the following piece of code in cls_fast_template.php

// Warn about unresolved template variables
if (ereg("({[A-Z0-9_]+})",$template))
{
$unknown = split("\n",$template);
while (list ($Element,$Line) = each($unknown) )
{
$UnkVar = $Line;
if(!(empty($UnkVar)))
{
$this->show_unknowns($UnkVar);
}
}
}
}
Author software
Admin
#6 Posted: 12 Jan 2005 07:45:11
Reply 
Which version of PHP do you hve?
Author Kupotek
Guest
#7 Posted: 22 Feb 2005 22:10:02
Reply 
I dont get it. I installed the files, made the DB, configured the config file and i see no way to set up ANYTHING, how do i integrate http://starratepro.grafxsoftware.com/articol.php?id=1 that in my site? I dont get it!

I goto my page: http://www.kittysafe.net/reviews/vote/ and click on test.php and return:

Warning: main(/public_html/reviews/vote/cls_rate.php): failed to open stream: No such file or directory in /home/kupotek/public_html/reviews/vote/test.php on line 25

Warning: main(): Failed opening '/public_html/reviews/vote/cls_rate.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kupotek/public_html/reviews/vote/test.php on line 25
ERROR: Specified ROOT dir [/public_html/reviews/vote/] is not a directory

Fatal error: Cannot instantiate non-existent class: rating in /home/kupotek/public_html/reviews/vote/test.php on line 117
Author software
Admin
#8 Posted: 23 Feb 2005 06:53:30
Reply 
This is your PATH in config.inc.php?
/home/kupotek/public_html/reviews/vote/
If not, fix it please.
 
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.