Pessoal.
Baixei a versão 1.0.7 e não consigo mais fazer funcionar o portlet UserMenu como descrito no guia do blog.
Alguém passou por isso?
Dá o seguinte erro:
YiiBase::include(Portlet.php) [<a href='function.YiiBase-include'>function.YiiBase-include</a>]: failed to open stream: No such file or directory
Source File
/projetos/yii/yii-1.0.7/framework/YiiBase.php(316)
00304: * @param string class name
00305: * @return boolean whether the class has been loaded successfully
00306: */
00307: public static function autoload($className)
00308: {
00309: // use include so that the error PHP file may appear
00310: if(isset(self::$_coreClasses[$className]))
00311: include(YII_PATH.self::$_coreClasses[$className]);
00312: else if(isset(self::$_classes[$className]))
00313: include(self::$_classes[$className]);
00314: else
00315: {
00316: include($className.'.php');
00317: return class_exists($className,false) || interface_exists($className,false);
00318: }
00319: return true;
00320: }
00321:
00322: /**
00323: * Writes a trace message.
00324: * This method will only log a message when the application is in debug mode.
00325: * @param string message to be logged
00326: * @param string category of the message
00327: * @see log
00328: */
Stack Trace
#0 /projetos/yii/yii-1.0.7/framework/YiiBase.php(316): autoload()
#1 unknown(0): autoload()
#2 /projetos/yii/teste/protected/components/UserMenu.php(2): spl_autoload_call()
#3 /projetos/yii/yii-1.0.7/framework/YiiBase.php(231): require()
#4 /projetos/yii/yii-1.0.7/framework/web/CBaseController.php(137): import()
#5 /projetos/yii/yii-1.0.7/framework/web/CBaseController.php(153): SiteController->createWidget()
#6 /projetos/yii/teste/protected/views/layouts/main.php(34): SiteController->widget()
#7 /projetos/yii/yii-1.0.7/framework/web/CBaseController.php(119): require()
#8 /projetos/yii/yii-1.0.7/framework/web/CBaseController.php(88): SiteController->renderInternal()
#9 /projetos/yii/yii-1.0.7/framework/web/CController.php(642): SiteController->renderFile()
#10 /projetos/yii/teste/protected/controllers/SiteController.php(28): SiteController->render()
#11 /projetos/yii/yii-1.0.7/framework/web/actions/CInlineAction.php(32): SiteController->actionIndex()
#12 /projetos/yii/yii-1.0.7/framework/web/CController.php(300): CInlineAction->run()
#13 /projetos/yii/yii-1.0.7/framework/web/CController.php(278): SiteController->runAction()
#14 /projetos/yii/yii-1.0.7/framework/web/CController.php(257): SiteController->runActionWithFilters()
#15 /projetos/yii/yii-1.0.7/framework/web/CWebApplication.php(332): SiteController->run()
#16 /projetos/yii/yii-1.0.7/framework/web/CWebApplication.php(120): CWebApplication->runController()
#17 /projetos/yii/yii-1.0.7/framework/base/CApplication.php(133): CWebApplication->processRequest()
#18 /projetos/yii/teste/index.php(11): CWebApplication->run()