when u change vbet cache to external db, the scripts that fetch data from photopost database (which is the default vb db) assume that pp is in vbet db. ONLY in vb external db, maybe vbet has nothing to do with it and i might need to edit the line above in the scripts to reflect always to the vb db.
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/.../public_html/albums/inc_features_cmps.php on line 67
Table 'xxx_vbet.pp_photos' doesn't exist
PHP Code:
// If you have placed PhotoPost into a seperate database, you will need to
// uncomment these lines to connect to the PhotoPost database. It is suggested
// that you install PP into the same database as vB for better performance.
//
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the PhotoPost database.
//
//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
//mysql_select_db ("pp_database")or die("Could not select photopost database");
// Number of photos to display
$num_display = 5;