It looks like you're new here. If you want to get involved, click one of these buttons!
<?php require_once('../wp-blog-header.php'); ?> to the end of conf/database.php. that inclues the wp-functions.class MySQL extends Database {
function CloseConnection() {
if ($this->Connection) @mysql_close($this->Connection);
global $wpdb;
$wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
}
apparently, this needs to be done to reconnect wordpress to the database because vanilla will close the connection early .Fatal error: Cannot instantiate non-existent class: wpdb in /www/htdocs/forum/library/Framework/Framework.Class.MySQL.php on line 18
$wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •that'd be great if you could send the files over. my email address is on my account page. nice work on the integration.
cheers,
bo
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •