croot / my-imouto-booru

Automatically exported from code.google.com/p/my-imouto-booru
0 stars 0 forks source link

"login" does not exist in "C:\/xampp\/htdocs\/myimouto\/config\/database.yml" at line 8 (near " #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
** If you can, please create one issue entry per error **

What steps will reproduce the problem?
1. Trying to install.

What is the expected output? What do you see instead?

I get error image of the girl holding the broken doll.

What version of the product are you using? On what operating system?

I am using version 1.0.5 on Windows 8

Please provide any additional information below.

Original issue reported on code.google.com by nile.hor...@gmail.com on 3 Oct 2013 at 3:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Glad to know it's working~

Original comment by asterixvader on 3 Oct 2013 at 10:22