når u ændre vbet cache til eksterne dB, scripts, der henter data fra PhotoPost database (som er standard vb db) antager, at PP er i vbet db. KUN i vb eksterne db, måske vbet har intet at gøre med det, og jeg kan have behov for at redigere linjen ovenfor i scripts til at afspejle altid til vb db.
Advarsel: mysql_fetch_row (): leveres argument er ikke et gyldigt MySQL resultat ressource i / home / ... / public_html / album / inc_features_cmps.php on line 67
Table 'xxx_vbet.pp_photos' eksisterer ikke
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;