PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 24th, 2009, 02:11 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Random Ads Block Problem

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.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 24th, 2009, 02:26 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I dont know what you mean by $report and $reportb as those arent variables in our software

anyway you probally need to uncomment the $link and mysql_select_db lines in that file and fill then out and also check to see your table prefix is correctly entered in admin edit integration.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2009, 02:51 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Sorry, I was going from memory. The phrases are $resultb and $result.

Anyway your solution worked. Thank you.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 24th, 2009, 03:16 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
enjoy your evening glad to assist.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Collapsed Recent Ads or Random Ads show a Red X ccaldwell Classifieds Bug Reports 11 April 2nd, 2009 01:07 PM
Recent Ads - Random Ads Question h2ojunkie Classifieds How do I...? 12 October 13th, 2006 02:51 PM


All times are GMT -5. The time now is 06:01 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0