EAuthException

Undefined service name: twitter?service=twitter.

/var/www/vhosts/v-22279.webspace/www/bc.bolashak.kz/protected/extensions/eauth/EAuth.php(82)

70         $service = $this->getService($service);
71         return $service->type;
72     }
73     
74     /**
75      * Returns the service identity class.
76      * @param string $service the service name.
77      * @return IAuthService the identity class.
78      */
79     public function getIdentity($service) {
80         $service = strtolower($service);
81         if (!isset($this->services[$service]))
82             throw new EAuthException(Yii::t('eauth', 'Undefined service name: {service}.', array('{service}' => $service)), 500);
83         $service = $this->services[$service];
84         
85         $class = $service['class'];
86         $point = strrpos($class, '.');
87         // if it is yii path alias
88         if ($point > 0) {
89             Yii::import($class);
90             $class = substr($class, $point + 1);
91         }
92         unset($service['class']);
93         $identity = new $class();
94         $identity->init($this, $service);

Stack Trace

#0
+
 /var/www/vhosts/v-22279.webspace/www/bc.bolashak.kz/protected/components/login/UserLogin.php(87): EAuth->getIdentity("twitter?service=twitter")
82     */
83 
84     protected function renderContent(){
85         $service = Yii::app()->request->getQuery('service');
86         if (isset($service)) {
87             $authIdentity = Yii::app()->eauth->getIdentity($service);
88             $authIdentity->redirectUrl = Yii::app()->getRequest()->getHostInfo() . "/".Yii::app()->request->getPathInfo();
89             $authIdentity->cancelUrl = Yii::app()->getRequest()->getHostInfo();
90 
91             if ($authIdentity->authenticate()) {
92                 $identity = new ServiceUserIdentity($authIdentity);
#1
+
 /var/www/vhosts/v-22279.webspace/www/bc.bolashak.kz/protected/components/login/UserLogin.php(77): UserLogin->renderContent()
72      */
73     
74     function run(){
75         
76         $this->renderpath = Yii::app()->prostoSystem->initRenderWidgetDir($this->widgetdir);
77         $this->renderContent();
78     }
79     
80     /**
81     * Отправка данных на представление
82     */
#3
+
 /var/www/vhosts/v-22279.webspace/www/bc.bolashak.kz/themes/bolashak/views/layouts/layouts.php(31): CBaseController->widget("UserLogin")
26                <?php echo Yii::t('app', 'edition'); ?>
27             </div>
28          </div>
29          <div class="right-side">
30             <div class="languages">
31                <?php $this->widget('UserLogin'); ?>
32                <?php
33                /* Языки */
34                    $this->widget('Language',
35                     array(
36                        'asImage' => false,
2024-03-28 16:47:40 Apache Yii Framework/1.1.14