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

    So, installation seems to have gone correctly, but I get to the point in the tutorial where you assure me that the generate scaffold script will create some pages that actually work.

    I can't get it to open the books or authors pages. I am using Ubuntu, Apache2, PHP5, MySQL, and the latest stable Akelos code (0.7.1). My package structure looks like:

    • /var/www

      • booklink -> /INSTALLPATH/booklink/public
    • /INSTALLPATH/

      • Akelos (this is where I un-tarred the Akelos distribution)
      • booklink

    When I use http://localhost/booklink/authors I get a standard 404 error.

    When I use http://localhost/booklink/?ak=/authors I get the following:

    Fatal error: Could not find the file /app/controllers/authors_controller.php for the controller AuthorsController in /INSTALLPATH/Akelos/lib/AkActionController/AkWebRequest.php on line 197

    Since other people have been able to get this working, I am assuming it must be something simple that I'm missing, but I can't figure it out.

    Any guidance would be appreciated.

    •  
      CommentAuthorwrochow
     

    I just spent the last hour trying the blog demo. That's 8 hours total that I'll never get back. :o(

    I am getting the impression that this only works if it is the only thing running on Apache, but I can't delete all my other projects to find out.

    I sure hope that this project matures, because it looks like it will be very good for rapid prototyping one day.

    I was hoping that I wouldn't have to start learning Rails syntax.

    Good luck... I'll be watching.

    •  
      CommentAuthorbermi
     

    Hi Waldo,

    Welcome to the forums!

    I'm sorry you had a bad time starting with Akelos, your problem sounds like a "no mod_rewrite server".

    Checkout the latest version, I have modified some settings and the setup wizard so now its gentle in environments without mod_rewrite.

    I went though the screencast without mod_requite, removed all the annoyances and the only things that needs to be changed now is

    http://localhost/blog
    

    into

    http://localhost/?ak=blog
    

    Please let us know if you still having issues

    •  
      CommentAuthorwrochow
     

    Bermi:

    How does one go about getting the mod_rewrite server?

    Waldo

    •  
      CommentAuthorbermi
     

    Dan Frost posted the instructions for enabling mod_rewrite in Apache2 + Ubuntu + Akelos (last comment on the page)

    If might be what you're looking for.