/home/najbolje/application/common/vendors/Zend/Gdata/App.php(709)
697 require_once 'Zend/Gdata/App/HttpException.php'; 698 throw new Zend_Gdata_App_HttpException( 699 'Number of redirects exceeds maximum', null, $response); 700 } 701 } 702 if (!$response->isSuccessful()) { 703 require_once 'Zend/Gdata/App/HttpException.php'; 704 $exceptionMessage = 'Expected response code 200, got ' . 705 $response->getStatus(); 706 if (self::getVerboseExceptionMessages()) { 707 $exceptionMessage .= "\n" . $response->getBody(); 708 } 709 $exception = new Zend_Gdata_App_HttpException($exceptionMessage); 710 $exception->setResponse($response); 711 throw $exception; 712 } 713 return $response; 714 } 715 716 /** 717 * Imports a feed located at $uri. 718 * 719 * @param string $uri 720 * @param Zend_Http_Client $client The client used for communication 721 * @param string $className The class which is used as the return type
#0 |
+
–
/home/najbolje/application/common/vendors/Zend/Gdata.php(221): Zend_Gdata_App->performHttpRequest("GET", "https://picasaweb.google.com/data/feed/api/user/default", array("x-http-method-override" => null), null, ...) 216 $body = $filterResult['body']; 217 $headers = $filterResult['headers']; 218 $contentType = $filterResult['contentType']; 219 return $this->_httpClient->filterHttpResponse(parent::performHttpRequest($method, $url, $headers, $body, $contentType, $remainingRedirects)); 220 } else { 221 return parent::performHttpRequest($method, $url, $headers, $body, $contentType, $remainingRedirects); 222 } 223 } 224 225 /** 226 * Determines whether service object is authenticated. |
#1 |
+
–
/home/najbolje/application/common/vendors/Zend/Gdata/App.php(875): Zend_Gdata->performHttpRequest("GET", "https://picasaweb.google.com/data/feed/api/user/default", array("x-http-method-override" => null)) 870 public function get($uri, $extraHeaders = array()) 871 { 872 $requestData = $this->prepareRequest('GET', $uri, $extraHeaders); 873 return $this->performHttpRequest( 874 $requestData['method'], $requestData['url'], 875 $requestData['headers']); 876 } 877 878 /** 879 * POST data with client object 880 * |
#2 |
+
–
/home/najbolje/application/common/vendors/Zend/Gdata/App.php(763): Zend_Gdata_App->get("https://picasaweb.google.com/data/feed/api/user/default", null) 758 * useObjectMapping() function. 759 */ 760 public function importUrl($url, $className='Zend_Gdata_App_Feed', 761 $extraHeaders = array()) 762 { 763 $response = $this->get($url, $extraHeaders); 764 765 $feedContent = $response->getBody(); 766 if (!$this->_useObjectMapping) { 767 return $feedContent; 768 } |
#3 |
+
–
/home/najbolje/application/common/vendors/Zend/Gdata/App.php(205): Zend_Gdata_App->importUrl("https://picasaweb.google.com/data/feed/api/user/default", "Zend_Gdata_Photos_UserFeed", null) 200 * by passing false to the 201 * useObjectMapping() function. 202 */ 203 public function getFeed($uri, $className='Zend_Gdata_App_Feed') 204 { 205 return $this->importUrl($uri, $className, null); 206 } 207 208 /** 209 * Retrieve entry as string or object 210 * |
#4 |
+
–
/home/najbolje/application/common/vendors/Zend/Gdata.php(162): Zend_Gdata_App->getFeed("https://picasaweb.google.com/data/feed/api/user/default", "Zend_Gdata_Photos_UserFeed") 157 require_once 'Zend/Gdata/App/InvalidArgumentException.php'; 158 throw new Zend_Gdata_App_InvalidArgumentException( 159 'You must specify the location as either a string URI ' . 160 'or a child of Zend_Gdata_Query'); 161 } 162 return parent::getFeed($uri, $className); 163 } 164 165 /** 166 * Retrieve entry as string or object 167 * |
#5 |
+
–
/home/najbolje/application/common/vendors/Zend/Gdata/Photos.php(175): Zend_Gdata->getFeed("https://picasaweb.google.com/data/feed/api/user/default", "Zend_Gdata_Photos_UserFeed") 170 $uri = self::PICASA_BASE_FEED_URI . '/' . 171 self::DEFAULT_PROJECTION . '/' . self::USER_PATH . '/' . 172 self::DEFAULT_USER; 173 } 174 175 return parent::getFeed($uri, 'Zend_Gdata_Photos_UserFeed'); 176 } 177 178 /** 179 * Retreive AlbumFeed object containing multiple PhotoEntry or TagEntry 180 * objects. |
#6 |
+
–
/home/najbolje/application/frontend/controllers/GalleryController.php(31): Zend_Gdata_Photos->getUserFeed("default") 26 27 $serviceName = Zend_Gdata_Photos::AUTH_SERVICE_NAME; 28 $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $serviceName); 29 $gp = new Zend_Gdata_Photos($client, "Google-DevelopersGuide-1.0"); 30 31 $userFeed = $gp->getUserFeed("default"); 32 foreach ($userFeed as $userEntry) 33 { 34 $thumbLink = ''; 35 if ($userEntry->getGphotoAccess() == Yii::app()->params['picasa_show']) 36 { |
#7 |
+
–
/home/najbolje/application/lib/framework/web/actions/CInlineAction.php(50): GalleryController->actionIndex() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#8 |
+
–
/home/najbolje/application/lib/framework/web/CController.php(300): CInlineAction->runWithParams(array()) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#9 |
+
–
/home/najbolje/application/lib/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#10 |
+
–
/home/najbolje/application/lib/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#11 |
+
–
/home/najbolje/application/lib/framework/web/CWebApplication.php(277): CController->run("") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#12 |
+
–
/home/najbolje/application/lib/framework/web/CWebApplication.php(136): CWebApplication->runController("gallery") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#13 |
+
–
/home/najbolje/application/lib/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#14 |
+
–
/home/najbolje/public_html/index.php(14): CApplication->run() 09 defined('YII_DEBUG') or define('YII_DEBUG', true); 10 // specify how many levels of call stack should be shown in each log message 11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 12 13 require_once($yii); 14 Yii::createWebApplication($config)->run(); |