my php version is 5.1.2

On Oct 1, 4:28 pm, psywhale <[EMAIL PROTECTED]> wrote:
> I am using the Zend PHP client library and I can authenicate but can
> not
> retrieveUser or createUser both error out:
>
> retrieveUser error:
> Call to undefined method ReflectionClass::newInstanceArgs() in /usr/
> local/lib/ZendFramework-1.6.0/library/Zend/Gdata/Gapps.php on line 620
>
> createUser error:
> Fatal error: Call to undefined method
> ReflectionClass::newInstanceArgs() in /usr/local/lib/
> ZendFramework-1.6.0/library/Zend/Gdata/App.php on line 747
>
> Any Ideas?
>
> Code Follows:
>
> <pre>
>
> <?php
> require_once 'Zend/Loader.php';
> Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
> Zend_Loader::loadClass('Zend_Gdata_Gapps');
>
> $email = "[EMAIL PROTECTED]";
> $password = "BlahBlah";
> $domain = "example.com";
>
> $client = Zend_Gdata_ClientLogin::getHttpClient($email, $password,
> Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
> $service = new Zend_Gdata_Gapps($client, $domain);
>
> $results = $service->retrieveUser("User");
>
> echo $results;
>
> $service->createUser("User","User", "Test", "password",null,null);
>
> ?>
> </pre>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to