hi
i have same code but i m facing following error
Warning: include_once(./usr/local/Zend/Config.php) [function.include-
once]: failed to open stream: No such file or directory in /home/email/
public_html/config.php on line 26
Warning: include_once() [function.include]: Failed opening './usr/
local/Zend/Config.php' for inclusion (include_path='.:/usr/lib/php:/
usr/local/lib/php') in /home/email/public_html/config.php on line 26
Fatal error: Class 'Zend_Gdata_ClientLogin' not found in /home/email/
public_html/config.php on line 33
Rajnesh
On Mar 8, 2:18 pm, waqar <[EMAIL PROTECTED]> wrote:
> hello to every one.
> m using my google data provisioning api through zend framework using
> php5.but m getting this error.
>
> Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable
> to Connect to ssl://www.google.com:443. Error #15443224: Unable to
> find the socket transport "ssl" - did you forget to enable it when you
> configured PHP?' in C:\wamp\www\emailmgt\Zend\Gdata\ClientLogin.php:
> 134 Stack trace: #0 C:\wamp\www\emailmgt\em.php(39):
> Zend_Gdata_ClientLogin::getHttpClient('[EMAIL PROTECTED]',123456',
> 'apps') #1 {main} thrown in C:\wamp\www\emailmgt\Zend\Gdata
> \ClientLogin.php on line 134
>
> below is my php code
>
> <?php
>
> $path = '/Zend/Gdata';
> set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> require_once 'Zend/Gdata.php';
> //require_once 'Zend/Gdata/Gapps.php';
> require_once 'Zend/Gdata/ClientLogin.php';
> require_once 'Zend/Gdata/Query.php';
> require_once 'Zend/Loader.php';
> require_once 'Zend/Gdata/App.php';
> require_once 'Zend/Mime.php';
> require_once 'Zend/GData/App/MediaSource.php';
> require_once 'Zend/Gdata/App/HttpException.php';
> require_once 'Zend/Gdata/App/Exception.php';
> Zend_Loader::loadClass('Zend_loader');
> Zend_Loader::loadClass('Zend_Gdata_App');
> Zend_Loader::loadClass('Zend_Mime');
> Zend_Loader::loadClass('Zend_Gdata_Gapps');
> Zend_Loader::loadClass('Zend_Gdata_Query');
> Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
> Zend_Loader::loadClass('Zend_Gdata_App_HttpException');
> Zend_Loader::loadClass('Zend_Gdata_App_Exception');
> Zend_Loader::loadClass('Zend_Version');
>
> $email="[EMAIL PROTECTED]";
>
> $password="mypassword";
>
> $domain="iiu.edu.pk";
>
> $client = Zend_Gdata_ClientLogin::getHttpClient($email, $password,
> Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
>
> $service = new Zend_Gdata_Gapps($client, $domain);
>
> $username="testphp";
>
> $familyName="testlastname";
>
> $givenName="test1";
>
> $password="123456";
>
> $service->createUser($username, $familyName, $givenName, $password,
> $suspended=='false', $quota==null, passwordHashFunction==null);
>
> ?>
>
> loking for ur suggestions.
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---