kui u muuta vbet cache väliste db, skripte tõmmata andmeid photopost andmebaasi (mis on vaikimisi vb db) oletada, et PP on vbet db. AINULT vb väline db, võibolla vbet on midagi pistmist ja ma võib olla vaja muuta rida eespool skripte peegeldavad alati vb db.
Hoiatus: mysql_fetch_row (): esitatud argument ei ole kehtiv MySQL tulemus ressurss / home / ... / public_html / albums / inc_features_cmps.php on line 67
Tabel 'xxx_vbet.pp_photos "ei eksisteeri!
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;