include(FacebookApiException.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory
/home/idiots/public_html/yii/framework/YiiBase.php(418)
406 {
407 foreach(self::$_includePaths as $path)
408 {
409 $classFile=$path.DIRECTORY_SEPARATOR.$className.’.php’;
410 if(is_file($classFile))
411 {
412 include($classFile);
413 break;
414 }
415 }
416 }
417 else
418 include($className.’.php’);
419 }
420 else // class name with namespace in PHP 5.3
421 {
422 $namespace=str_replace(’\\’,’.’,ltrim($className,’\\’));
423 if(($path=self::getPathOfAlias($namespace))!==false)
424 include($path.’.php’);
425 else
426 return false;
427 }
428 return class_exists($className,false) || interface_exists($className,false);
429 }
430 return true;
Stack Trace
#0
- /home/idiots/public_html/yii/framework/YiiBase.php(418): YiiBase::autoload()
#1
unknown(0): YiiBase::autoload("FacebookApiException")
#2
unknown(0): spl_autoload_call("FacebookApiException")
#3
– /home/idiots/public_html/idiotsonwheels/hybridauth/hybridauth/Hybrid/Providers/Facebook.php(29): class_exists("FacebookApiException")
24 {
25 if ( ! $this->config["keys"]["id"] || ! $this->config["keys"]["secret"] ){
26 throw new Exception( "Your application id and secret are required in order to connect to {$this->providerId}.", 4 );
27 }
28
29 if ( ! class_exists(‘FacebookApiException’) ) {
30 require_once Hybrid_Auth::$config["path_libraries"] . "Facebook/base_facebook.php";
31 require_once Hybrid_Auth::$config["path_libraries"] . "Facebook/facebook.php";
32 }
33
34 $this->api = new Facebook( ARRAY( ‘appId’ => $this->config[“keys”][“id”], ‘secret’ => $this->config[“keys”][“secret”] ) );
#4
– /home/idiots/public_html/idiotsonwheels/hybridauth/hybridauth/Hybrid/Provider_Model.php(69): Hybrid_Providers_Facebook->initialize()
64 // new user instance
65 $this->user = new Hybrid_User();
66 $this->user->providerId = $providerId;
67
68 // initialize the current provider adapter
69 $this->initialize();
70
71 Hybrid_Logger::debug( "Hybrid_Provider_Model::__construct( $providerId ) initialized. dump current adapter instance: ", serialize( $this ) );
72 }
73
74 // --------------------------------------------------------------------
#5
– /home/idiots/public_html/idiotsonwheels/hybridauth/hybridauth/Hybrid/Provider_Adapter.php(85): Hybrid_Provider_Model->__construct("Facebook", array("enabled" => true, "keys" => array("id" => "437907426250595", "secret" => "c64d3d1aa17e1ce6f3ff4afdf7d5fb1a"), "scope" => "email, user_about_me, user_birthday, user_hometown", "display" => "popup"), array("hauth_return_to" => "http://idiotsonwheels.com/idiotsonwheels/index.php/ticket/create"))
80
81 $this->wrapper = "Hybrid_Providers_" . $this->id;
82 }
83
84 # create the adapter instance, and pass the current params and config
85 $this->adapter = new $this->wrapper( $this->id, $this->config, $this->params );
86
87 return $this;
88 }
89
90 // -------------------------------