Thread: Database Errors
View Single Post
Old March 4th, 2006, 08:11 PM   #1 (permalink)
Toxiedog
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