i have cakephp 1.3.4
i have this error:
Fatal error: Uncaught exception 'Exception' with message
'User::authsomeLogin() is not implemented!' in D:\xampp\htdocs\ird\www
\app\plugins\spark_plug\controllers\components\authsome.php:81 Stack
trace: #0 D:\xampp\htdocs\ird\www\app\plugins\spark_plug\controllers
\components\authsome.php(196): AuthsomeComponent->login('guest') #1 D:
\xampp\htdocs\ird\www\app\plugins\spark_plug\controllers\components
\authsome.php(148): AuthsomeComponent->__useGuestAccount() #2 D:\xampp
\htdocs\ird\www\app\plugins\spark_plug\controllers\components
\authsome.php(60): AuthsomeComponent->__getActiveUser() #3 D:\xampp
\htdocs\ird\www\app\plugins\spark_plug\config\config.php(71):
AuthsomeComponent->get() #4 D:\xampp\htdocs\ird\www\app
\app_controller.php(19): SparkPlugIt(Object(SearchController)) #5 D:
\xampp\htdocs\ird\www\cake\libs\controller\controller.php(526):
AppController->beforeFilter() #6 D:\xampp\htdocs\ird\www\cake
\dispatcher.php(187): Controller->startupProcess() #7 D:\xampp\htdocs
\ird\www\cake\dispatcher.php(171): Dispatcher->_invoke(Obje in D:\xampp
\htdocs\ird\www\app\plugins\spark_plug\controllers\components
\authsome.php on line 81
why?
when i am create some permation for guest
some info example:
in SearchController i have:
var $uses = array('Usercat', 'Subcat', 'Cat', 'Ostan',
'Shahr','User','UserGroup');
function index() {
.
.
.
}
when i use this controller when user login,i can see page,but guest
user i have error
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en