|
I moved some code that retrieves videos off of Youtube to a new server
and am now running into the following error: Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://gdata.youtube.com:443. Error #: ' in /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php:693 Stack trace: #0 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata.php(221): Zend_Gdata_App->performHttpRequest('GET', 'https://gdata.y...', Array, NULL, NULL, NULL) #1 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php(880): Zend_Gdata->performHttpRequest('GET', 'https://gdata.y...', Array) #2 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php(768): Zend_Gdata_App->get('https://gdata.y...', NULL) #3 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php(210): Zend_Gdata_App->importUrl('https://gdata.y...', 'Zend_Gdata_YouT...', NULL) #4 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata.php(162): Zend_Gdata_App->getFeed('https://gdata.y...', 'Zend_ in /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php on line 693 I checked that the php is enabled with SSL From phpInfo(); Configure Command '--with-openssl=/usr' OpenSSL OpenSSL Support = enabled OpenSSL Version = OpenSSL 0.9.8b 04 May 2006 I'm not sure what else to try ... suggestions? Thanks, Mark -- List: [hidden email] Info: http://framework.zend.com/archives Unsubscribe: [hidden email] |
|
Sorry forgot to include some test code:
$yt = new Zend_Gdata_YouTube( null, 'internaional-technologies', null, $developerKey ); $videoFeed = $yt->getUserUploads('leanmetalforming'); foreach ($videoFeed as $entry) { echo $entry->getTitle() ."<br />"; $thumbs = $entry->getVideoThumbnails(); echo '<a href="' . $entry->getVideoWatchPageUrl() . '">' . $entry->getVideoWatchPageUrl() . '</a>'; //echo '<a href="' . $entry->getVideoWatchPageUrl() . '"><img src="' . $thumbs[0]['url'] . '" alt="" /></a>'; echo '<iframe width="560" height="315" src="http://www.youtube.com/embed/' . $entry->getVideoId() . '" frameborder="0" allowfullscreen></iframe>'; echo "<br />"; } On Tue, Jul 31, 2012 at 11:24 AM, Mark Steudel <[hidden email]> wrote: > I moved some code that retrieves videos off of Youtube to a new server > and am now running into the following error: > > Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with > message 'Unable to Connect to ssl://gdata.youtube.com:443. Error #: ' > in /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php:693 > Stack trace: > #0 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata.php(221): > Zend_Gdata_App->performHttpRequest('GET', 'https://gdata.y...', Array, > NULL, NULL, NULL) > #1 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php(880): > Zend_Gdata->performHttpRequest('GET', 'https://gdata.y...', Array) > #2 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php(768): > Zend_Gdata_App->get('https://gdata.y...', NULL) > #3 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php(210): > Zend_Gdata_App->importUrl('https://gdata.y...', 'Zend_Gdata_YouT...', > NULL) > #4 /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata.php(162): > Zend_Gdata_App->getFeed('https://gdata.y...', 'Zend_ in > /hsphere/local/home/inttech/ZendFramework-1.11.12-minimal/library/Zend/Gdata/App.php > on line 693 > > I checked that the php is enabled with SSL > > From phpInfo(); > > Configure Command > '--with-openssl=/usr' > > OpenSSL > OpenSSL Support = enabled > OpenSSL Version = OpenSSL 0.9.8b 04 May 2006 > > I'm not sure what else to try ... suggestions? > > Thanks, Mark -- ----------------------------------------- Mark Steudel P: 425.298.7244 F: 206.260.3021 [hidden email] . : Work : . http://www.mindfulinteractive.com . : Play : . http://www.steudel.org/blog . : LinkedIn : . http://www.linkedin.com/in/steudel -- List: [hidden email] Info: http://framework.zend.com/archives Unsubscribe: [hidden email] |
| Powered by Nabble | Edit this page |
