You're right, Zend Framework requires 5.1.4 (for those reflection
methods).

http://framework.zend.com/manual/en/requirements.html#requirements.version

Thanks for bringing this up, we'll make it clearer in our docs.

Btw, another helpful resource is the Getting Started guide for the PHP
client library:

http://code.google.com/apis/gdata/articles/php_client_lib.html

-alex

On Oct 2, 1:49 pm, psywhale <[EMAIL PROTECTED]> wrote:
> It must be a php version issue. I upgraded php to 5.2.4 and now it
> works.
>
> On Oct 2, 9:38 am, psywhale <[EMAIL PROTECTED]> wrote:
>
> > 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