sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

YumProfileController cannot find the requested view "admin". #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. fresh install (yii1.1.3, yum0.7, win)
2. go to user/profile
3.

What is the expected output? What do you see instead?
user profile is expected output.
instead i got:

YumProfileController cannot find the requested view "admin".

Please fix it. Great extension, but with such errors its hardly unusable...

Please provide any additional information below.

Original issue reported on code.google.com by rmlod...@gmail.com on 14 Jul 2010 at 10:10

GoogleCodeExporter commented 9 years ago
I'm also get same issue, when clicking profile filed link.

My system information:
2010-07-22 05:24:27 Apache/2.2.11 (Win32) PHP/5.3.0 Yii Framework/1.1.3

Original comment by palan...@gmail.com on 22 Jul 2010 at 5:28

GoogleCodeExporter commented 9 years ago
Me too. 

trace stack:

CException
Description

YumProfileController cannot find the requested view "admin".
Source File

/Users/liang/Projects/ymobile/framework/web/CController.php(808)

00796:     {
00797:         if(($viewFile=$this->getViewFile($view))!==false)
00798:         {
00799:             $output=$this->renderFile($viewFile,$data,true);
00800:             if($processOutput)
00801:                 $output=$this->processOutput($output);
00802:             if($return)
00803:                 return $output;
00804:             else
00805:                 echo $output;
00806:         }
00807:         else
00808: throw new CException(Yii::t('yii','{controller} cannot find the 
requested view "{view}".',
00809:                 array('{controller}'=>get_class($this), 
'{view}'=>$view)));
00810:     }
00811: 
00812:     /**
00813:      * Renders dynamic content returned by the specified callback.
00814:      * This method is used together with {@link COutputCache}. Dynamic 
contents
00815:      * will always show as their latest state even if the content 
surrounding them is being cached.
00816:      * This is especially useful when caching pages that are mostly 
static but contain some small
00817:      * dynamic regions, such as username or current time.
00818:      * We can use this method to render these dynamic regions to ensure 
they are always up-to-date.
00819:      *
00820:      * The first parameter to this method should be a valid PHP 
callback, while the rest parameters

Stack Trace

#0 /Users/liang/Projects/ymobile/framework/web/CController.php(740): 
CController->renderPartial('admin', Array, true)
#1 
/Users/liang/Projects/ymobile/public/app/modules/user/controllers/YumProfileCont
roller.php(99): CController->render('admin', Array)
#2 /Users/liang/Projects/ymobile/framework/web/actions/CInlineAction.php(32): 
YumProfileController->actionAdmin()
#3 /Users/liang/Projects/ymobile/framework/web/CController.php(300): 
CInlineAction->run()
#4 /Users/liang/Projects/ymobile/framework/web/filters/CFilterChain.php(129): 
CController->runAction(Object(CInlineAction))
#5 /Users/liang/Projects/ymobile/framework/web/filters/CFilter.php(41): 
CFilterChain->run()
#6 /Users/liang/Projects/ymobile/framework/web/CController.php(1050): 
CFilter->filter(Object(CFilterChain))
#7 /Users/liang/Projects/ymobile/framework/web/filters/CInlineFilter.php(59): 
CController->filterAccessControl(Object(CFilterChain))
#8 /Users/liang/Projects/ymobile/framework/web/filters/CFilterChain.php(126): 
CInlineFilter->filter(Object(CFilterChain))
#9 /Users/liang/Projects/ymobile/framework/web/CController.php(283): 
CFilterChain->run()
#10 /Users/liang/Projects/ymobile/framework/web/CController.php(257): 
CController->runActionWithFilters(Object(CInlineAction), Array)
#11 /Users/liang/Projects/ymobile/framework/web/CWebApplication.php(324): 
CController->run('admin')
#12 /Users/liang/Projects/ymobile/framework/web/CWebApplication.php(121): 
CWebApplication->runController('user/profile/ad...')
#13 /Users/liang/Projects/ymobile/framework/base/CApplication.php(135): 
CWebApplication->processRequest()
#14 /Users/liang/Projects/ymobile/public/index.php(13): CApplication->run()
#15 {main}

Original comment by LiangZhenjing on 17 Aug 2010 at 10:26

GoogleCodeExporter commented 9 years ago
fixed in svn

Original comment by mither...@gmail.com on 20 Nov 2010 at 9:00