
The Hau LE - 2013-05-10 13:09:28 -
In reply to message 1 from Brian Read
I had the same problem with you, but now i've found to fix it.
First you need to create by yourself the database, table with columns id, name, password, temp. You need to modify method sqlite() to work this MySQL.
Find this code in your user.php file
protected function sqlite(){ // returns the database object
return new PDO('sqlite:'.dirname(dirname(__FILE__)).'/users.db');
}
Replace with
protected function sqlite(){
// returns the database object
return new PDO('mysql:host=localhost;dbname=YOUR_DATABASE', 'YOUR_DB_USERNAME', 'YOUR_DB_PASSWORD');
}
Now it works perfectly.
Cheers