Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthordtrejogo
     
    Hi everybody, I'm new using this framework, and I'm trying to test the booklink project http://www.akelos.org/docs/tutorials/booklink.

    When I go to the url http://localhost/booklink and I followed the steps, everything is ok until I get the page DataBase configuration, I fill out all the form with user and password for mysql, then I click on continue and I get a blank page. no error, nothing just a blank page.

    I created the database, but I don't know what is wrong.
    Any help pls ?
    • CommentAuthorpogeybait4883
     

    Try opening /path/to/your/app/config/database.yml. Make sure the type is mysql, host is localhost or the IP to the database, database_name is the name of the database, user & password are correct. Unless you are really wanting a different database for each environment( production, dev, and test), you can make the database_name all the same for each one. A sample of database.yml is below. if this doesnt work, ensure your "mysql" database is setup correctly for the db and user tables for the user and password specified below. dont forget to flush priveledges in mysql if you just added the user and password:

    production:
        type: mysql
        database_file:
        host: localhost
        port:
        database_name: prod
        user: myuser
        password: mypass
        options:
    
    
    development:
        type: mysql
        database_file:
        host: localhost
        port:
        database_name: dev
        user: myuser
        password: mypass
        options:
    
    testing:
        type: mysql
        database_file:
        host: localhost
        port:
        database_name: testing
        user: myuser
        password: mypass
        options: