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 > ReviewPost Pro Support Forums > ReviewPost Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 4th, 2006, 08:11 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: UK
Posts: 59
Database Errors

This post should be here.

I have my vBulletin and ReviewPost in seperate databases. I have a the featured reviews box displaying on my homepage, but I also get 2 error messages at the top:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/bidsness/public_html/reviews/inc_reviews.php on line 56

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/bidsness/public_html/reviews/inc_reviews.php on line 107

I have set everything correctly in the inc_reviews.php file, and my prefix is set correctly in config_intr (rp_). My inc_reviews settings are as follows. I can't see what the problem is, as there is no 'could not connect to reviewpost database'.

//$link = mysql_connect ("localhost", "bidsness_reviews", "reviews1234") or die('I cannot connect to the database.');
//mysql_select_db ("bidsness_reviews")or die("Could not select reviewpost database");

At the bottom of inc_reviews.php:

// If you use reviewpost in a seperate database from vB, you'll need to reselect the vB database!
//mysql_select_db ("bidsness_forums");

I am running the latest version of vBulletin (3.5.4) with no hacks or mods
Toxiedog is offline   Reply With Quote
Old March 4th, 2006, 08:45 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
As the instructions state you need to uncomment those lines and fill out the variables when things when running in separate databases.

Uncomment means remove // from in front of the meantioned lines .

EXAMPLE

mysql_select_db ("bidsness_forums");
__________________
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 March 5th, 2006, 06:15 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: UK
Posts: 59
Talking You learn something new every day

Thank you Chuck. Genuinely didn't know what 'uncomment' meant. Just thought you had to replace the variables.

Doh
Toxiedog 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I just got mail bomed by database errors Rukas Installs and Upgrade - vBulletin 3.5.X 5 October 15th, 2005 11:01 PM
Use "forums" database or "photopost" database thephonemall Photopost Pro Installation & Upgrades 1 August 11th, 2005 02:18 PM
database garybrun Photopost Pro How Do I...? 2 May 25th, 2005 05:59 PM
Database error izan Classifieds Bug Reports 7 October 23rd, 2004 11:40 AM


All times are GMT -5. The time now is 11:46 PM.

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