I am running vbPortal and am having a problem getting a Random Ads block to display on my Home page. I already have a Feature Photos block running from Photopost and want to also run a similar block from PP-Classifieds.
The block is setup and previews correctly in the vbPortal Admin and, except for the path is identical to the Featured Photo block using the following code:
Quote:
include('/home/signs101/public_html/pp-classifieds/inc_ads.php');
echo "$classifiedsfeature";
|
But when gets to the home page what I get is:
Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/signs101/public_html/pp-classifieds/inc_ads.php on line 69
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/signs101/public_html/pp-classifieds/inc_ads.php on line 132
|
What do I need to do to fix this? It is evidently looking for $reportb and $report which doesn't mean anything to me.