Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthormsalhab
    • CommentTimeFeb 17th 2008
     
    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
    • CommentTimeFeb 17th 2008
     

    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
    • CommentTimeFeb 17th 2008
     

    BTW and FYI saying hello would be

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

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

Add your comments
    Username Password
  • Format comments as