Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthormsalhab
     
    Hi friends;

    when finished generating the controller section of the application shown in the screencast and navigating the URL:
    http://localhost/akelos/blog/public/index.php

    I got the same page saying :
    Welcome aboard
    You’re using The Akelos Framework!
    Getting started
    Use script/generate to create your models and controllers
    To see all available options, run it without parameters.

    Set up a default routes (config/routes.php) or edit the default controller (app/controllers/page_controller.php)

    I wrote the method index() to say "Hello world"

    can anyone help me please

    regards
    • CommentAuthorKaste
     

    looks like you're told your web-server to expose a/the complete directory-structure.

    http://localhost/akelos/blog/public/index.php
    

    then is something like the root of the akelos-app. On most configurations this would be something like

    http://example.com/
    
    1. configure in config/routes the default controller and action for the "root"-element.

    2. check your server configuration to only expose the public-folder as the root. Set up a virtual host or something like this or an Alias.

    3. Did you set up rewrite?

    • CommentAuthorKaste
     

    BTW and FYI saying hello would be

    function index()
    {
        $this->renderText('Hello World');
    }
    

    in a Controller, for instance in app/controllers/hello_controller.php