Zend_Gdata_App_HttpException

Expected response code 200, got 404
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That’s an error.</ins>
<p>The requested URL <code>/data/feed/api/user/default</code> was not found on this server. <ins>That’s all we know.</ins>

/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

Stack Trace

#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         }
2024-03-19 03:17:39 Apache Yii Framework/1.1.8