G'day everyone,

I'm new to Jifty, so I thought I'd work through the tutorial on CPAN for the blog. Unfortunately I encounter an error at the Viewing stage. If I pick the "quick and dirty way": http://search.cpan.org/dist/Jifty/lib/Jifty/Manual/Tutorial.pod#The_quick_and_dirty_way

I get the following error:

Error in template /index.html line 3

Can't locate object method "new" via package "MyWeblog::Model::PostCollection" (perhaps you forgot to load "MyWeblog::Model::PostCollection"?) at /home/jarich/jifty/Test/share/web/templates/index.html line 3.


Picking the "complex way": http://search.cpan.org/dist/Jifty/lib/Jifty/Manual/Tutorial.pod#The_complex_way_that_gets_you_lots_of_cool_toys

of course generates the same error on the index page, but not at /post (although it does if I post a blog entry). The tutorial suggests that Jifty::ClassLoader should be taking care of this, but it clearly isn't. I'm not sure where I should be initialising ClassLoader to solve this problem.

Another interesting thing was that the error page after posting the tutorial includes:

Error in template /fragments/page_of_posts line 3

with the template being a link. If I attempt to follow the link though I get a 404: "You got to a page that we don't think exists. Anyway, the software has logged this error. Sorry about this."


All the best,

        Jacinta

_______________________________________________
jifty-devel mailing list
[email protected]
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel

Reply via email to