Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorwebmasterforhire
     
    First time to try Akelos, and so far I'm impressed.

    I followed the instructions for MySQL and it worked as expected, but when I tried it with PostgreSQL it failed with:

    "Notice: ERROR: current transaction is aborted, commands ignored until end of transaction block in /path/to/akelos/lib/AkActiveRecord.php on line 513"

    I echo'd the $sql and was able to execute it with psql, same user, same db/table. As I've seen previously requested, I have added:
    define('AK_ERROR_REPORTING_ON_SCRIPTS', E_ALL);
    to the config/config.php file.

    I understand that the tutorial is built for MySQL, but if I could understand what extra steps are needed to get it to work with PostgreSQL, it would help me learn how to use it in my current development environment.

    Thanks.
    • CommentAuthorwebmasterforhire
     
    Perhaps this is something else. I'm trying to replicate the Rail4Days tutorial (http://rails.homelinux.org/), again using PostgreSQL, and I'm having the same error:

    "Notice: ERROR: current transaction is aborted, commands ignored until end of transaction block in /path/to/akelos/lib/AkActiveRecord.php on line 513"

    when I try to add a category.