使用root为什么还提示cd root 权限不够够

CDbException
CDbException
数据库中无法找到 active record class &Question1& 对应的 table &{{question_1}}&.
/mnt/ftp/www/framework/yiilite.php(8289)
8277 class CActiveRecordMetaData
public $tableS
public $relations=array();
public $attributeDefaults=array();
private $_modelClassN
public function __construct($model)
$this-&_modelClassName=get_class($model);
$tableName=$model-&tableName();
if(($table=$model-&getDbConnection()-&getSchema()-&getTable($tableName))===null)
throw new CDbException(Yii::t('yii','The table &{table}& for active record class &{class}& cannot be found in the database.',
array('{class}'=&$this-&_modelClassName,'{table}'=&$tableName)));
if($table-&primaryKey===null)
$table-&primaryKey=$model-&primaryKey();
if(is_string($table-&primaryKey) && isset($table-&columns[$table-&primaryKey]))
$table-&columns[$table-&primaryKey]-&isPrimaryKey=
elseif(is_array($table-&primaryKey))
foreach($table-&primaryKey as $name)
if(isset($table-&columns[$name]))
$table-&columns[$name]-&isPrimaryKey=
Stack Trace
&/mnt/ftp/www/framework/yiilite.php(7392): CActiveRecordMetaData->__construct(Question1)
$className=get_class($this);
if(!array_key_exists($className,self::$_md))
self::$_md[$className]= // preventing recursive invokes of {@link getMetaData()} via {@link __get()}
self::$_md[$className]=new CActiveRecordMetaData($this);
return self::$_md[$className];
public function refreshMetaData()
&/mnt/ftp/www/framework/yiilite.php(7463): CActiveRecord->getMetaData()
return isset($this-&getMetaData()-&relations[$name]) ? $this-&getMetaData()-&relations[$name] :
public function getTableSchema()
return $this-&getMetaData()-&tableS
public function getCommandBuilder()
return $this-&getDbConnection()-&getSchema()-&getCommandBuilder();
&/mnt/ftp/www/framework/yiilite.php(7811): CActiveRecord->getTableSchema()
$this-&applyScopes($criteria);
if(empty($criteria-&with))
$criteria-&limit=1;
$command=$this-&getCommandBuilder()-&createFindCommand($this-&getTableSchema(),$criteria,$this-&getTableAlias());
return $all ? $this-&populateRecords($command-&queryAll(), true, $criteria-&index) : $this-&populateRecord($command-&queryRow());
$finder=$this-&getActiveFinder($criteria-&with);
&/mnt/ftp/www/framework/yiilite.php(7876): CActiveRecord->query(CDbCriteria)
$this-&_alias=$
public function find($condition='',$params=array())
$criteria=$this-&getCommandBuilder()-&createCriteria($condition,$params);
return $this-&query($criteria);
public function findAll($condition='',$params=array())
$criteria=$this-&getCommandBuilder()-&createCriteria($condition,$params);
return $this-&query($criteria,true);
&/mnt/ftp/www/models/question/Question1.php(361): CActiveRecord->find(&id=:id&, array(&:id& =& &22640&))
* 根据问题ID获取问题
public function getQuestionById($id) {
return $this-&find('id=:id', array(':id' =& $id));
* 根据问题ID集合获取问题
&/mnt/ftp/www/models/question/Question1.php(538): Question1->getQuestionById(&22640&)
$count = $this-&count('show_flag = 1');
$questionList = $this-&getQuestionById($qid);
if ($questionList) {
$arr[0] = $questionList-&getAttributes();
$questionCount = QuestionCount::model()-&getQuestionCountByPK($qid);
if ($questionCount) {
$arr[0] = array_merge($questionCount-&getAttributes(), $arr[0]);
&/mnt/ftp/www/dashi/protected/controllers/SiteController.php(302): Question1->getQuestion(&22640&)
public function actionQuestion() {
$this-&layout = 'mobile_transition';
$question_id = Yii::app()-&request-&getParam('id', false);
if ($question_id) {
$questionItem = Question1::model()-&getQuestion($question_id);
$answerList = QuestionAnswer1::model()-&getQuestionAnswer($question_id, 0, 50);
if ($answerList) {
foreach ($answerList as $id =& $value) {
$answerTextItem = QuestionAnswerText1::model()-&getQuestionAnswerText($value['answer_type'], $value['answer_id']);
if ($answerTextItem) {
&/mnt/ftp/www/framework/yiilite.php(4058): SiteController->actionQuestion()
$controller=$this-&getController();
$method=new ReflectionMethod($controller, $methodName);
if($method-&getNumberOfParameters()&0)
return $this-&runWithParamsInternal($controller, $method, $params);
return $controller-&$methodName();
4061 class CWebUser extends CApplicationComponent implements IWebUser
const FLASH_KEY_PREFIX='Yii.CWebUser.flash.';
&/mnt/ftp/www/framework/yiilite.php(3570): CInlineAction->runWithParams(array(&id& =& &22640&))
$priorAction=$this-&_
$this-&_action=$
if($this-&beforeAction($action))
if($action-&runWithParams($this-&getActionParams())===false)
$this-&invalidActionParams($action);
$this-&afterAction($action);
$this-&_action=$priorA
&/mnt/ftp/www/framework/yiilite.php(3555): CController->runAction(CInlineAction)
$this-&missingAction($actionID);
public function runActionWithFilters($action,$filters)
if(empty($filters))
$this-&runAction($action);
$priorAction=$this-&_
$this-&_action=$
CFilterChain::create($this,$action,$filters)-&run();
&/mnt/ftp/www/framework/yiilite.php(3545): CController->runActionWithFilters(CInlineAction, array())
if(($parent=$this-&getModule())===null)
$parent=Yii::app();
if($parent-&beforeControllerAction($this,$action))
$this-&runActionWithFilters($action,$this-&filters());
$parent-&afterControllerAction($this,$action);
$this-&missingAction($actionID);
&/mnt/ftp/www/framework/yiilite.php(1746): CController->run(&question&)
list($controller,$actionID)=$
$oldController=$this-&_
$this-&_controller=$
$controller-&init();
$controller-&run($actionID);
$this-&_controller=$oldC
throw new CHttpException(404,Yii::t('yii','Unable to resolve the request &{route}&.',
array('{route}'=&$route===''?$this-&defaultController:$route)));
&/mnt/ftp/www/framework/yiilite.php(1666): CWebApplication->runController(&site/question/id/22640&)
foreach(array_splice($this-&catchAllRequest,1) as $name=&$value)
$_GET[$name]=$
$route=$this-&getUrlManager()-&parseUrl($this-&getRequest());
$this-&runController($route);
protected function registerCoreComponents()
parent::registerCoreComponents();
$components=array(
&/mnt/ftp/www/framework/yiilite.php(1191): CWebApplication->processRequest()
public function run()
if($this-&hasEventHandler('onBeginRequest'))
$this-&onBeginRequest(new CEvent($this));
register_shutdown_function(array($this,'end'),0,false);
$this-&processRequest();
if($this-&hasEventHandler('onEndRequest'))
$this-&onEndRequest(new CEvent($this));
public function end($status=0,$exit=true)
&/mnt/ftp/www/dashi/index.php(39): CApplication->run()
34 defined('APP') or define('APP', 'dashi');
35 define('BAIDUAD_ONOFF','1');//百度广告开关,1:开,0:关
37 require(dirname(__FILE__) . '/../common/Ossconstant.php');
38 require_once($yii);
39 Yii::createWebApplication($config)-&run();
06:45:15 nginx/1.4.6 /1.1.14ubuntu(10)
博客分类:
以root用户运行,linux提示权限不够。root用户难道不是最高的吗?如何解决这个问题呢?
其实这里面是有原因的,首先我们要这样做:
用#ls & -l & filename命令看看,如果显示类似如:
-rw-rw-rw- & & 1 & root & root & & ....
则表示任何用户都没有可执行权限(即使是root用户).
解决方法:
#chmod & a+x & filename
呵呵,然后就可以了。
PS:用字符串来设定文件访问权限。其中读用 r 表示,写用 w 表示,执行用 x 表示;所有者用 u 表示,组用户用 g 表示,其他用户用 o 表示,所有用户用 a 表示。例子:
chmod a+r,u+w,u+x,g+w a.txt
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:9654次
排名:千里之外
转载:24篇后使用快捷导航没有帐号?
只需一步,快速开始
查看: 4481|回复: 18
在线时间165 小时经验值116 最后登录注册时间帖子阅读权限40UID2590
高中生, 积分 116, 距离下一级还需 84 积分
TA的每日心情开心 13:41签到天数: 1 天[LV.1]初来乍到
G币253 最后登录注册时间
马上注册,结交更多机友,下载更多应用,让你轻松玩转手机。
已有帐号?   下载游戏和软件,请【】进入机锋市场!
我的N1昨晚已经被我root了,刷了新的MODOCO rom,可是当我尝试用root管理器等几个需要root权限的软件老是要意外停止强制关闭呢?我应该是root成功了的,开机已经有把锁的标志在屏幕下面了的{:122_328:}
守护象牙白塔...........................
在线时间324 小时经验值227 最后登录注册时间帖子阅读权限50UID111075
大学专科, 积分 227, 距离下一级还需 173 积分
该用户从未签到
G币44 最后登录注册时间
你应该成功了 强制关闭,你重起试试看,或者找高的版本软件
但是开锁仅是unlock成功 不代表root成功
在线时间165 小时经验值116 最后登录注册时间帖子阅读权限40UID2590
高中生, 积分 116, 距离下一级还需 84 积分
TA的每日心情开心 13:41签到天数: 1 天[LV.1]初来乍到
G币253 最后登录注册时间
我试过了,不行,确定已解锁有root了,可是只有一个需要root的程序可以运行,其他的如大杀器,root管理器,截图软件等通通强制关闭,郁闷死了,权限不够高?已经root成功了啊{:122_320:}
守护象牙白塔...........................
在线时间566 小时经验值184 最后登录注册时间帖子阅读权限40UID15723
高中生, 积分 184, 距离下一级还需 16 积分
该用户从未签到
G币28 最后登录注册时间
进入设置---应用程序-开发--把usbdebug打开就好了
在线时间566 小时经验值184 最后登录注册时间帖子阅读权限40UID15723
高中生, 积分 184, 距离下一级还需 16 积分
该用户从未签到
G币28 最后登录注册时间
如果还是不行,打开debug后,再做一次root,就是做root的最后一步,写入那个img就可以了。
做的时候记得输入代码,检查一下是否能返回机器码,说明机器正确驱动并被识别,就可以了。
在线时间165 小时经验值116 最后登录注册时间帖子阅读权限40UID2590
高中生, 积分 116, 距离下一级还需 84 积分
TA的每日心情开心 13:41签到天数: 1 天[LV.1]初来乍到
G币253 最后登录注册时间
试了,还是一样,你说写入1.53的那个img吗?还有哪里要输入什么代码啊?
守护象牙白塔...........................
在线时间149 小时经验值142 最后登录注册时间帖子阅读权限40UID112136
高中生, 积分 142, 距离下一级还需 58 积分
该用户从未签到
G币67 最后登录注册时间
必定是root过程中的问题。你把手机备份好。然后从新来过。
在线时间165 小时经验值116 最后登录注册时间帖子阅读权限40UID2590
高中生, 积分 116, 距离下一级还需 84 积分
TA的每日心情开心 13:41签到天数: 1 天[LV.1]初来乍到
G币253 最后登录注册时间
还是一样,试了5次都还一样,诡异啊{:122_284:}
守护象牙白塔...........................
在线时间165 小时经验值116 最后登录注册时间帖子阅读权限40UID2590
高中生, 积分 116, 距离下一级还需 84 积分
TA的每日心情开心 13:41签到天数: 1 天[LV.1]初来乍到
G币253 最后登录注册时间
依旧还是一样,试了好多次都没有改变,我的步骤没有错啊,可就是安装了那些需要root权限的软件打开的时候就是打不开,只有MODOCO1.3的rom里面的一个需要root的软件可以正常的打开,其它的不行,知道的教教我到底怎么回事应该怎么整
守护象牙白塔...........................
在线时间58 小时经验值37 最后登录注册时间帖子阅读权限20UID130537
小学生, 积分 37, 距离下一级还需 13 积分
该用户从未签到
G币22 最后登录注册时间
开锁仅是unlock成功 不代表root成功;有没root成功,你要装su.apk,然后su一下,看能不能拿到/(根目录)下的rw(读写)权限
Powered by

我要回帖

更多关于 root用户提示权限不够 的文章

 

随机推荐