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 Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 17th, 2007, 07:24 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Lafayette, CA
Posts: 31
Send a message via AIM to flavoflav Send a message via Yahoo to flavoflav
Featured Photos

I know this has been talked about to death but I am stumped.

I am trying to get the featured photos to work on my VB 3.5.2 install - I had it working before I upgraded to the latest Photopost.

Now when I enable the featured block on my forums index.php page:

#include('../photos/inc_features.php');
#include('../photos/inc_photopost.php');

I get:


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/www/www.westcoastbikers.com/photos/inc_features.php on line 67

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/www/www.westcoastbikers.com/photos/inc_features.php on line 143

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/www/www.westcoastbikers.com/photos/inc_photopost.php on line 128

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /usr/local/www/www.westcoastbikers.com/photos/inc_photopost.php on line 143

ergh... I have checked the database connectivity etc... no go.

Any ideas?

John
flavoflav is offline   Reply With Quote
Old January 18th, 2007, 10:59 AM   #2 (permalink)
Senior Member
Verified Customer
 
Join Date: Mar 2006
Location: Yorkshire
Posts: 618
You should be including the path to the file not the url,

change this
Code:
Content visible to verified customers only.
to

Code:
Content visible to verified customers only.
editing it to suit obviously...
Sybaris is offline   Reply With Quote
Old January 18th, 2007, 12:17 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Lafayette, CA
Posts: 31
Send a message via AIM to flavoflav Send a message via Yahoo to flavoflav
I'll try that but I do not see how a path change will deal with this error:

mysql_free_result(): supplied argument is not a valid MySQL result resource

J -
flavoflav is offline   Reply With Quote
Old January 18th, 2007, 01:43 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
The inc-features.php script hasn't changed; but the error suggests that the script is unable to perform the queries against whatever database is selected.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 18th, 2007, 06:43 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Lafayette, CA
Posts: 31
Send a message via AIM to flavoflav Send a message via Yahoo to flavoflav
Quote:
Originally Posted by Michael P View Post
The inc-features.php script hasn't changed; but the error suggests that the script is unable to perform the queries against whatever database is selected.
which is strange because the photo gallery scripts works just fine. Its just when I try the inc_features.php script do I get this.

J -
flavoflav 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
How do I include only member gallery photos in featured photos dlangley Photopost Pro How Do I...? 4 April 30th, 2005 11:25 AM
Featured Photos box but no photos? TL408 Photopost Pro Installation & Upgrades 5 April 30th, 2005 08:03 AM
Featured Photos box--but no photos? Synn Photopost Pro Installation & Upgrades 7 January 8th, 2005 06:25 PM


All times are GMT -5. The time now is 08:41 AM.

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