Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-17-2008, 05:29 PM
Junior Member
 
Join Date: Feb 2008
Posts: 1
Question Trying to learn zf for google docs

Hey there,

im trying to learn how to develop code to read write to google, having found a site with some samples on, I have tried to emulate and learn, the first prob is i get this error message,

Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:443. Error #33642936: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?' in C:\xampp\htdocs\Zend\Gdata\ClientLogin.php:133 Stack trace: #0

My code is

require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Spreadsheets');
Zend_Loader::loadClass('Zend_Http_Client');

$user = "bob";
$pass = "fred";

$authService = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$httpClient = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $authService);
$gdClient = new Zend_Gdata_Spreadsheets($httpClient);


Im running xamp on windows which is meant to come with ssl enabled, any ideas?

cheers ,

c
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 07:47 AM
SpotSec's Avatar
Senior Member
 
Join Date: Feb 2007
Location: United States
Posts: 121
Default

Do you have the ssl extension in php.ini enabled?
__________________
Zym Framework - A Zend Framework extension library w/ demo app

SpotSec Blog:
http://spotsec.com/blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-25-2008, 06:10 AM
Junior Member
 
Join Date: Aug 2007
Posts: 4
Default

hi

you need to install a few things on your server.

- php_sockets extension
- copy some *.dll files in C:\Windows\System32

to have it working.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:39 PM.