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.
    • CommentAuthorgizmo
    • CommentTimeMay 8th 2008 edited
     
    Hello,
    I'm encountering problems when listing items in the scaffold: while adding and editing functionalities work fine, items are not listed and an "Fatal error: Call to a member function getContentColumns() on a non-object in [...]/tmp/views/app/views/feeds/compiled/listing.tpl.php on line 16" error is displayed. It seems that ${Object_name}->getContentColumns() is not working properly. Is there something i am doing wrong?
    Thanks

    (I've also tried generating all the scaffold without the --sintags flag: in this case the sortable table headers are displayed, but another error occurs: "Fatal error: Call to a member function get() on a non-object in [...]/tmp/views/app/views/feeds/compiled/listing.tpl.php on line 53").
    • CommentAuthormerindol
    • CommentTime5 days ago
     

    I had a similar error, all worked except the add feature. I figured out that the problem was I named my model "param" and it seemed to get into conflict with the "params" array used by Akelos for GET parameters.

    Maybe your problem is quite similar.

    • CommentAuthorgizmo
    • CommentTime5 days ago
     
    Thanks for your reply, merindol - i've solved my problem. I named my model "feeds" and not "feed", and the final "s" messed up everything.

    (Perhaps a more severe control on naming conventions should be added to scaffold generating script?)
Add your comments
    Username Password
  • Format comments as