Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Is there a file inside the log directory? If there is, what does it say?
Original comment by asterixvader
on 3 Oct 2013 at 4:06
UPDATE: I got past the original error and hit another one after being asked to
input admin name and password.
[03-Oct-2013 06:07:28 CEST] [POST] /
ActiveRecord_Exception raised
No database connection is active.
install\setup.php (121)
#0 install\setup.php(121): ActiveRecord::connection()
#1 install\setup.php(53): MyImouto_Setup->_create_tables()
#2 public\index.php(4): MyImouto_Setup->run()
#3 {main}
Original comment by nile.hor...@gmail.com
on 3 Oct 2013 at 4:08
Also, I search for the max image size, timezone etc. settings in php.ini in
xampp, but I cannot find them to edit them.
Original comment by nile.hor...@gmail.com
on 3 Oct 2013 at 4:21
Did you get "No database connection is active."? Check your database.yml file.
That error means there's something wrong with the database config.
They must be there, in the xampp/php/php.ini file.
Original comment by asterixvader
on 3 Oct 2013 at 5:04
Here is my database.yml file.
login: &login
adapter: mysql
host: 127.0.0.1
username: root
password:
logindatabase: myimouto
Original comment by nile.hor...@gmail.com
on 3 Oct 2013 at 5:10
Sorry, I went to sleep.
That last line doesn't seem to be correct:
logindatabase: myimouto
You can also try this:
default:
adapter: mysql
host: 127.0.0.1
username:
password:
charset: utf8
database: myimouto
Original comment by asterixvader
on 3 Oct 2013 at 2:40
I solved the issue and finally got everything working by downloading the fresh
database.yml file and inputting the same settings using wordpad instead of
notepad. Thank you for your help.
Original comment by nile.hor...@gmail.com
on 3 Oct 2013 at 7:21
Glad to know it's working~
Original comment by asterixvader
on 3 Oct 2013 at 10:22
Original issue reported on code.google.com by
nile.hor...@gmail.com
on 3 Oct 2013 at 3:58