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

    I am very new at Akelos and PHP in general. I'm just getting it all started.
    After I create my first controller and navigate to it in my browser, I get an error like this:

    Fatal error: Controller MyCntl can't handle action index in /lib/AkActionController.php on line 2821

    Line 2821 has to do with returning an error. Do I have an issue with PEAR?
    Again, I'm very new to this. Any help would be appreciated.
    • CommentAuthorsuthern
     

    Do you have something like

    function index() {
    }
    

    In your controller?

    •  
      CommentAuthorbigtalk
     

    So far just:

    class MyCntlController extends ApplicationController {

    }

    • CommentAuthorsuthern
     
    Did you use

    ruby script/generate scaffold MyCntl

    ?
    • CommentAuthormvitjiten
     
    you will be able to remove this error if you once see the blog video.you can go to the link and download the video.
    http://akelos.org/screencasts
    •  
      CommentAuthorbigtalk
     

    Thank you. I had been following along with the screencast. I guess I had deleted the whole function index() in my controller. Thanks for all the help. I'll keep on keeping on!