All, I am completely new to Akelos. I managed to get booklink working. I added a book. When, however, selecting 'show' or 'edit' I get:
Fatal error: Call to a member function getId() on a non-object in /var/www/akelos/booklink/app/views/book/compiled/show.tpl.php on line 4
I have verified that the record for a book has been created in the database, but only in the booklink_dev database. Any idea? For further information: the install / setup wizard was 'hanging', so I manualy edited the config.php and routes.php (actually, no change to the latter) files.
DrMagu
CommentAuthordrmagu
PLEASE HELP ... I started over .. Same issue. I have two books created, and one author (that part works). However, both 'show' and 'edit' fail in the same way - on both 'book' and 'author'. http://<host>/booklink/book/show/1/ or http://<host>/booklink/author/show/1/
This fails on the $book->getId() (line 4 of the compiled/show.tpl.php file). The PHP error message implies that there is no such object ($book). The book.php and author.php files were properly created in the models subdirectory.
I have tried to 'debug'. The program is obviously getting to the right 'template'. However, what could cause the $book object to not exist?