1
I just uploaded all the files in the 2.0.4 -> 2.0.5 upgrade and when I try to access my site I get the following error:
[b]Fatal error[/b]: Call to undefined function: getdatabaseconnection() in [b]/home/hostile/public_html/st/include/common.php[/b] on line [b]75[/b]
I opened the new common.php and here is the entire snippet of code with line 75 in bold:
// #################### Connect to DB ##################
require_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php';
if ($HTTP_SERVER_VARS['REQUEST_METHOD'] != 'POST' || !xoops_refcheck(XOOPS_DB_CHKREF)) {
define('XOOPS_DB_PROXY', 1);
}
[b]$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();[/b]
I have not modified any code and the only 3rd party module I have installed is XoopsChat which I doubt is a problem.