i have an error like this :
Quote
FROM `pengguna`
WHERE userid=:userid
whats the solution??
sorry to my bad english. .
thanks before. ..
Posted 14 February 2013 - 10:59 PM
Quote
Posted 25 February 2013 - 01:15 AM
Posted 23 March 2013 - 07:00 PM
rights_doesnt_work.png (9.77K)
rights_do_work.png (11.22K)
Posted 10 April 2013 - 05:14 AM
Posted 16 April 2013 - 06:33 PM
Raoul, on 11 April 2011 - 06:40 AM, said:
Posted 16 April 2013 - 08:50 PM
Posted 20 April 2013 - 10:34 AM
Chris83, on 19 July 2010 - 03:16 PM, said:







Posted 24 April 2013 - 02:39 AM
Posted 26 April 2013 - 07:26 AM
task.PNG (18.72K)
role.PNG (23.57K)
permission.PNG (23.21K)
operation.PNG (17.6K)
assignment.PNG (17.24K)
Posted 30 April 2013 - 04:05 AM
CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `login` varchar(50) NOT NULL, `pass` varchar(50) NOT NULL, `email` varchar(32) NOT NULL, `lang` varchar(2) NOT NULL DEFAULT '', `rememberme` int(1) NOT NULL DEFAULT '0', `regdate` datetime NOT NULL, `last_update` datetime NOT NULL, `last_comin` datetime NOT NULL, `active` int(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
'import'=>array( 'application.modules.rights.*', 'application.modules.rights.components.*', // Correct paths if necessary. ),
'components'=>array( 'user'=>array( 'class'=>'RWebUser', // Allows super users access implicitly. //'defaultRoles'=>'Guest', ),
'authManager'=>array( 'class'=>'RDbAuthManager', // Provides support authorization item sorting. ),
'modules'=>array( 'rights' => array ( 'superuserName' => 'SuperAdmin', 'authenticatedName' => 'Authenticated', 'userClass' => 'Users', 'userIdColumn' => 'id', // Name of the user id column in the database. 'userNameColumn' => 'login', // Name of the user name column in the database. 'enableBizRule' => false, // Whether to enable authorization item business rules. 'enableBizRuleData' => false, // Whether to enable data for business rules. 'displayDescription' => true, // Whether to use item description instead of name. 'flashSuccessKey' => 'RightsSuccess', // Key to use for setting success flash messages. 'flashErrorKey' => 'RightsError', // Key to use for setting error flash messages. 'baseUrl' => '/rights', // Base URL for Rights. Change if module is nested. 'layout' => 'rights.views.layouts.main', // Layout to use for displaying Rights. 'appLayout' => 'webroot.themes.office.views.layouts.main', // Application layout. //'appLayout' => 'application.modules.admin.views.layouts.main', // Application layout. //'cssFile' => 'rights.css', // Style sheet file to use for Rights. 'install' => false, ), ),
'install' => true,
CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user` varchar(50) NOT NULL, `pass` varchar(50) NOT NULL, `email` varchar(32) NOT NULL, `lang` varchar(2) NOT NULL DEFAULT '', `rememberme` int(1) NOT NULL DEFAULT '0', `regdate` datetime NOT NULL, `last_update` datetime NOT NULL, `last_comin` datetime NOT NULL, `active` int(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
$superusers[] = $user->name;
$superusers[] = $user->{Rights::module()->userNameColumn};$this->username = $rec->login; $this->setState( 'userlogin', $rec->login ); $this->setState( 'name', $rec->name );
$this->setState( 'userlogin', $rec->login );
'install' => false,