We have begun to write our own password recovery procedure for our 
GoogleMail users with Provisioning 
API<https://developers.google.com/google-apps/provisioning/> but 
we have faced with a problem. Here are conditions for reproducing our 
problem.
When we are executing below code, 

   1. require_once 'Zend/Loader.php';
   2. Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
   3. Zend_Loader::loadClass('Zend_Gdata_Gapps');
   4. $client = Zend_Gdata_ClientLogin::getHttpClient("amdminuser", 
   "adminpsw", Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
   5. $client->createUser($username, $givenName, $familyName, $password, 
   $passwordHashFunction=null, $quota=null)
   
it gives error 

Fatal error: Call to undefined method Zend_Gdata_HttpClient::createUser() in 
....


Then we run the installation 
checker<http://framework.zend.com/svn/framework/standard/trunk/demos/Zend/Gdata/InstallationChecker.php>
 but 
it showed us this error. 

Fatal error: Uncaught exception 'Zend_Gdata_App_Exception' with message 
'DOMDocument cannot parse XML: DOMDocument::loadXML(): Extra content at the 
end of the document in Entity, line: 1' in 
/web/web2/apache2/htdocs/test/per_ak/google/library/Zend/Gdata/App.php:830 
Stack trace: #0 
/web/web2/apache2/htdocs/test/per_ak/google/library/Zend/Gdata/App.php(789): 
Zend_Gdata_App::importString('importUrl('https://gdata.y...', 
'Zend_Gdata_YouT...', NULL) #2 
/web/web2/apache2/htdocs/test/per_ak/google/library/Zend/Gdata.php(162): 
Zend_Gdata_App->getFeed('https://gdata.y...', 'Zend_Gdata_YouT...') #3 
/web/web2/apache2/htdocs/test/per_ak/google/library/Zend/Gdata/YouTube.php(405):
 
Zend_Gdata->getFeed('https://gdata.y...', 'Zend_Gdata_YouT...') #4 
/web/web2/apache2/htdocs/test/per_ak/google/InstallationChecker.php(282): 
Zend_Gdata_YouTube->getTopRatedVideoFeed() #5 /web/web2/apache2/htdocs in 
/web/web2/apache2/htdocs/test/per_ak/google/library/Zend/Gdata/App.php on 
line 830

We have downloaded 
http://packages.zendframework.com/releases/ZendGdata-1.12.0/ZendGdata-1.12.0.zip,
 
installed and set appropriate include_path in php.ini. But why we face this 
problem. We are waiting for your help.
Thank you,
Shamil

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/_POTFtI4QBEJ.
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-mgmt-apis?hl=en.

Reply via email to