oops sorry boout that >.< ok i changed it but i get a different error now when i try to go to http://191.100.81.15/npstryko/index.php/rights:
"PHP Error
include(User.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory
C:\wamp\www\yii-1.1.8.r3324\framework\YiiBase.php(421)
409 {
410 foreach(self::$_includePaths as $path)
411 {
412 $classFile=$path.DIRECTORY_SEPARATOR.$className.’.php’;
413 if(is_file($classFile))
414 {
415 include($classFile);
416 break;
417 }
418 }
419 }
420 else
421 include($className.’.php’);
422 }
423 else // class name with namespace in PHP 5.3
424 {
425 $namespace=str_replace(’\\’,’.’,ltrim($className,’\\’));
426 if(($path=self::getPathOfAlias($namespace))!==false)
427 include($path.’.php’);
428 else
429 return false;
430 }
431 return class_exists($className,false) || interface_exists($className,false);
432 }
433 return true;
Stack Trace
#0
- C:\wamp\www\yii-1.1.8.r3324\framework\YiiBase.php(421): YiiBase::autoload()
#1
unknown(0): YiiBase::autoload("User")
#2
- C:\wamp\www\yii-1.1.8.r3324\framework\db\ar\CActiveRecord.php(371): spl_autoload_call("User")
#3
– C:\wamp\www\npstryko\protected\modules\rights\components\RAuthorizer.php(295): CActiveRecord::model("User")
290
291 $criteria = new CDbCriteria();
292 $criteria->addInCondition(Rights::module()->userIdColumn, $userIdList);
293
294 $userClass = Rights::module()->userClass;
295 $users = CActiveRecord::model($userClass)->findAll($criteria);
296 $users = $this->attachUserBehavior($users);
297
298 $superusers = array();
299 foreach( $users as $user )
300 $superusers[] = $user->name;
#4
– C:\wamp\www\npstryko\protected\modules\rights\controllers\InstallController.php(61): RAuthorizer->getSuperusers()
56 ‘confirm’,
57 ‘run’,
58 ‘error’,
59 ‘ready’,
60 ),
61 ‘users’=>$this->_authorizer->getSuperusers(),
62 ),
63 array(‘deny’, // Deny all users
64 ‘users’=>array(’*’),
65 ),
66 );
#5
- C:\wamp\www\yii-1.1.8.r3324\framework\web\CController.php(1143): InstallController->accessRules()
#6
- C:\wamp\www\yii-1.1.8.r3324\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(CFilterChain)
#7
- C:\wamp\www\yii-1.1.8.r3324\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(CFilterChain)
#8
- C:\wamp\www\yii-1.1.8.r3324\framework\web\CController.php(283): CFilterChain->run()
#9
- C:\wamp\www\yii-1.1.8.r3324\framework\web\CController.php(257): CController->runActionWithFilters(CInlineAction, array("accessControl"))
#10
- C:\wamp\www\yii-1.1.8.r3324\framework\web\CWebApplication.php(277): CController->run("")
#11
- C:\wamp\www\yii-1.1.8.r3324\framework\web\CWebApplication.php(136): CWebApplication->runController("rights")
#12
- C:\wamp\www\yii-1.1.8.r3324\framework\base\CApplication.php(158): CWebApplication->processRequest()
#13
– C:\wamp\www\npstryko\index.php(13): CApplication->run()
08 defined(‘YII_DEBUG’) or define(‘YII_DEBUG’,true);
09 // specify how many levels of call stack should be shown in each log message
10 defined(‘YII_TRACE_LEVEL’) or define(‘YII_TRACE_LEVEL’,3);
11
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2011-12-08 07:15:56 Apache/2.0.63 (Win32) Yii Framework/1.1.8"