Problem in implmenting portlet

Hi all,

 I am new to yii frame work and gone through the fundamental tutorials and blog creation. I am building billing system using yii frame work. which has the login system and menu controls based on the user privilleges.

So for the above i tried to implement the portlet which i have read in the blog tutorials but i am facing problem while implementing it i have posted the error which i am getting below

Things i have done while implementing portlet was

1.) Created a portlet and UserMenu class inside components folder

2.) Created userMenu view under components/views folder.

3.) And added following code in views/layouts/main.php

The error i am getting as follows

include(Comment.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory


I dont know whether i am missing some thing. I am just scared that above bug may be very silly.

Any guidance to achieve the above will be a great help for me.

Thanks in advance

It appears as if your code is trying to instantiate a "Comment" object but the class defining it is nowhere to be found by Yii. Is it in protected/models?