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.
    •  
      CommentAuthorbigtalk
    • CommentTimeMay 7th 2008
     
    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
    • CommentTimeMay 7th 2008 edited
     

    Do you have something like

    function index() {
    }
    

    In your controller?

    •  
      CommentAuthorbigtalk
    • CommentTimeMay 7th 2008 edited
     

    So far just:

    class MyCntlController extends ApplicationController {

    }

    • CommentAuthorsuthern
    • CommentTimeMay 8th 2008
     
    Did you use

    ruby script/generate scaffold MyCntl

    ?
    • CommentAuthormvitjiten
    • CommentTimeMay 8th 2008
     
    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
    • CommentTime7 days ago
     

    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!

Add your comments
    Username Password
  • Format comments as