I had many trouble with this.
My folder structure:
protected/components/widgets/mywidget/
MyWidget.php
/views/view.php
The theme:
/themes/mytheme/views/mywidget/view.php
Well, in Windows everything ok, but in *unix, the view can’t be found.
(I know that Windows’ folder name don’t differentiate lower and upper case, but I thought that the Yii search by the folder name of the view, not by the class that call the render.)
Just because the name of the dir in theme/views should be MyWidget instead of mywidget.
Maybe I help someone with this.
Happy coding.