Abueloton Posted June 22, 2016 Posted June 22, 2016 I spent a few hours working and install flux cp and after reviewing thousands of times I find myself stuck error in this. Any solution that they can find? $sql = "SELECT userid FROM {$this->loginDatabase}.login WHERE "; if ($this->config->getNoCase()) { $sql .= 'LOWER(userid) = LOWER(?) '; } else { $sql .= 'BINARY userid = ? '; } $sql .= 'LIMIT 1'; $sth = $this->connection->getStatement($sql); (this line 178 error code) $sth->execute(array($username)); $res = $sth->fetch(); if ($res) { throw new Flux_RegisterError('Username is already taken', Flux_RegisterError::USERNAME_ALREADY_TAKEN); }
Question
Abueloton
0 answers to this question
Recommended Posts