View Full Version : [SOLVED] FusionCMS Error

03-08-2014, 04:12 PM
After Installing FusionCMS i get the error
SELECT `id` AS id FROM (`account`) WHERE `username` = 'Areradon'

Filename: C:\xampp\htdocs\fusion\system\database\DB_driver.p hp

Line Number: 330

That cause our account table use account_id not id. Where can i change this?


// Start the Query Timer
$time_start = list($sm, $ss) = explode(' ', microtime());

// Run the Query
if (FALSE === ($this->result_id = $this->simple_query($sql)))
if ($this->save_queries == TRUE)
$this->query_times[] = 0;

// This will trigger a rollback if transactions are being used
$this->_trans_status = FALSE;

if ($this->db_debug)
// grab the error number and message now, as we might run some
// additional queries before displaying the error
$error_no = $this->_error_number();
$error_msg = $this->_error_message();

// We call this function in order to roll-back queries
// if transactions are enabled. If we don't call this here
// the error message will trigger an exit, causing the
// transactions to remain in limbo.

// Log and display errors
log_message('error', 'Query error: '.$error_msg);
return $this->display_error(
'Error Number: '.$error_no,

return FALSE;

03-08-2014, 04:15 PM
FusionCMS is extremely poorly coded and we do not support it. More than half that CMS is prewritten and full of issues.
If you need help with it, please visit their website and ask for help.