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 September 28th, 2006, 03:29 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 7
Integration errors

I recently upgraded my vbulletin from 3.54 to 3.61. I had the photopost latest pics showing on my home page fine with 3.54. I upgraded to 3.61, made the change to the index file that was required:
Quote:
In your vB index.php file, you will need to add two lines under under these four:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');
Checked my FORUMHOME template:
Quote:
In your vB templates, select Forum Home Templates and edit the FORUMHOME template.

To include the PhotoPost "features" box, add the variable $photopostfeature to your template:

$header
$navbar
$photopostfeature
And instead of getting the latest pics on my forum home, I get this error:
Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /gallery/inc_features.php on line 67

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /gallery/inc_features.php on line 142

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /gallery/inc_photopost.php on line 128

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /gallery/inc_photopost.php on line 143
NO, I do not have seperate databases for my forum and photopost - they are both using the same database. I noticed alot of people are reporting this problem and I see that the standard answer given is that 'you are using 2 seperate databases'. I double checked that:
1. Both my forum and photopost tables are located in the ONE database and;
2. the forum's config.php and photopost's config-inc.php files are pointing at the same datbase with the same user/password.

So any ideas? Has it perhaps got something to do with the way vb 3.61 works?
Tim356 is offline   Reply With Quote
Old September 28th, 2006, 08:37 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
I would suggest you backtrack reread the instructions and reapply. Looks to me like you did not fill out and uncomment the $link and mysql_select_db lines.
__________________
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 September 28th, 2006, 09:14 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 7
But if I was using the same database for both photopost and vbulletin, why would I need to?
Tim356 is offline   Reply With Quote
Old September 28th, 2006, 12:38 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
Did it work? I am simply saying that you need to refollow the install instructions. Is your proper photopost table prefix set in edit integration options in admin of photopost?
__________________
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 21st, 2006, 08:20 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Great Lakes
Posts: 282
Just upgraded from photopost 5.2 to photopost 5.5 and now on my vbulletin homepage I'm getting:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in <removed full path for forum post>/gallery/inc_photopost.php on line 128

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in <removed full path for forum post>/gallery/inc_photopost.php on line 143
boatdesign is offline   Reply With Quote
Old November 21st, 2006, 08:26 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Great Lakes
Posts: 282
Sorry -- just a transfer error.

FTP glitched and did not upload the inc_photopost.php where I had uncommented the switch database lines since I have separate databases. Doh. The simplest things sometimes. "so you want me to actually transfer the file when you hit transfer, eh?" my ftp program mocks me.
boatdesign is offline   Reply With Quote
Old November 22nd, 2006, 11:22 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
no problems enjoy
__________________
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
PhotoPost 4.86 & VB 3.0.5 Integration with some errors. Pinpoint Photopost Pro Installation & Upgrades 20 January 15th, 2005 06:40 AM
VB 3.0.5 Integration with errors MojoNixon Photopost Pro Installation & Upgrades 17 January 8th, 2005 05:14 PM
4.8.5 - vb3 Integration - Occasional MYSQL Errors kall Photopost Pro Installation & Upgrades 26 December 26th, 2004 09:26 PM


All times are GMT -5. The time now is 06:23 AM.

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