I replaced it as above, got the same error.
Then I got to thinking, and the put in the full reviewpost paths.....
like this:
from this:
$thumbtag = "{$rppath}/{$pcat}/thumbs/{$product}";
to this:
$thumbtag = "{$http://www.canamspyderforums.com/market}/{$pcat}/thumbs/{$product}";
should I pull the "}" after the market like in the line below?
$thumbtag = "{$
http://www.canamspyderforums.com/market}/{$pcat}/thumbs/{$product}"; {
$mthumb = "<img src=\"{$
http://www.canamspyderforums.com/market/images/overlay-roundp.gif\" height=\"105\" width=\"81\" border=\"0\" alt=\"\" />";
}
still get the same error.
and put in database paths where is had rp_data_url, and rp_path,
also wondered if something needed to be changed for the "rp_db_prefix" in these lines:
$resultb = mysql_query("SELECT id,ugnoview FROM {$
rp_db_prefix}categories");
{
case "most_view":
$query = "SELECT id,user,userid,cat,title,bigimage,views,manu FROM {$
rp_db_prefix}products WHERE bigimage != '' ORDER BY views DESC";
break;
case "latest":
$query = "SELECT id,user,userid,cat,title,bigimage,views,manu FROM {$
rp_db_prefix}products WHERE bigimage != '' ORDER BY date DESC";
break;
case "random":
$query = "SELECT id,user,userid,cat,title,bigimage,views,manu FROM {$
rp_db_prefix}products WHERE bigimage != '' ORDER BY RAND()";
break;
}