Hybrid_Exception

Endpoint: Error while trying to init Hybrid_Auth: You cannot access this page directly.

/home/gotham/public_html/application/extensions/hoauth/hybridauth/Hybrid/Endpoint.php(217)

205                 }
206 
207                 $storage = new Hybrid_Storage();
208 
209                 // Check if Hybrid_Auth session already exist
210                 if (!$storage->config("CONFIG")) {
211                     throw new Hybrid_Exception("You cannot access this page directly.");
212                 }
213 
214                 Hybrid_Auth::initialize($storage->config("CONFIG"));
215             } catch (Exception $e) {
216                 Hybrid_Logger::error("Endpoint: Error while trying to init Hybrid_Auth: " . $e->getMessage());
217                 throw new Hybrid_Exception( "Endpoint: Error while trying to init Hybrid_Auth: " . $e->getMessage(), $e->getCode(), $e );
218             }
219         }
220     }
221 
222 }

Stack Trace

#0
+
 /home/gotham/public_html/application/extensions/hoauth/hybridauth/Hybrid/Endpoint.php(117): Hybrid_Endpoint->authInit()
112      * Define: endpoint step 3
113      * @return void
114      * @throws Hybrid_Exception
115      */
116     protected function processAuthStart() {
117         $this->authInit();
118 
119         $provider_id = trim(strip_tags($this->request["hauth_start"]));
120 
121         // check if page accessed directly
122         if (!Hybrid_Auth::storage()->get("hauth_session.$provider_id.hauth_endpoint")) {
#1
+
 /home/gotham/public_html/application/extensions/hoauth/hybridauth/Hybrid/Endpoint.php(51): Hybrid_Endpoint->processAuthStart()
46             $this->processOpenidXRDS();
47         }
48 
49         // If we get a hauth.start
50         if (isset($this->request["hauth_start"]) && $this->request["hauth_start"]) {
51             $this->processAuthStart();
52         }
53         // Else if hauth.done
54         elseif (isset($this->request["hauth_done"]) && $this->request["hauth_done"]) {
55             $this->processAuthDone();
56         }
#2
+
 /home/gotham/public_html/application/extensions/hoauth/hybridauth/Hybrid/Endpoint.php(72): Hybrid_Endpoint->__construct(null)
67      * @return Hybrid_Endpoint
68      */
69     public static function process($request = null) {
70         // Trick for PHP 5.2, because it doesn't support late static binding
71         $class = function_exists('get_called_class') ? get_called_class() : __CLASS__;
72         new $class($request);
73     }
74 
75     /**
76      * Process OpenID policy request
77      * @return void
2024-03-19 08:42:52 Apache Yii Framework/1.1.14