Hello,
\AccountController.php have bug with id if you join some other tables into account that have column id too (in my case it is table teams).
This error happens in this case:
SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in where clause is ambiguous
Stack:
...
3 C:\Apps\xampp\htdocs\titanquest\app\controllers\AccountController.php(43): PDODb->getOne('users', Array)
...
Problem is in function index()) line with where:
function index(){
$db = $this->GetModel();
$rec_id = $this->rec_id = USER_ID; //get current user id from session
$db->where ("id", $rec_id);
$tablename = $this->tablename;
$fields = array("users.id",
"users.login_name",
"users.fullname",
...
Column in where do not contains name of the table - this is the bug. Solution is simple - add tablename and it is working:
$db->where ("users.id", $rec_id);
Please fix this bug - manula fixing remove AccountController.php from publishing and that is not too good.