Fatal error: Call to undefined method stdClass::add_database() in D:\php\htdocs\wordpress\db-config.php on line 218
i add code in wp-config.php
[Code moderated as per the Forum Rules. Please use the pastebin]
Fatal error: Call to undefined method stdClass::add_database() in D:\php\htdocs\wordpress\db-config.php on line 218
i add code in wp-config.php
[Code moderated as per the Forum Rules. Please use the pastebin]
i add code in wp-config.php
define ('DB_CONFIG_FILE','');
require_once(ABSPATH . 'db-config.php');
/** Sample Configuration 2: Partitioning **/
/**
* This example shows a setup where the multisite blog tables have been
* separated from the global dataset.
*/
$wpdb->add_database(array(
'host' => 'localhost',
'user' => 'root',
'password' => '123456',
'name' => 'test01',
));
$wpdb->add_database(array(
'host' => 'localhost',
'user' => 'root',
'password' => '123456',
'name' => 'test02',
'dataset' => 'blog',
));anybody,help me,thanks
Why did you add code to wp-config.php? If you follow the instructions here:
http://wordpress.org/extend/plugins/hyperdb/installation/
you shouldn't have any problems.
hth
This topic has been closed to new replies.