Hi Jeff, Sorry I should have written that. It is Cameron Hinkle's. I wrote him an email also, just though that someone in this group may have used it and had the same problem. (further troubleshooting shows me Cameron is on this group)
Thanks Damian On Thu, Sep 11, 2008 at 5:09 PM, Jeff Fisher (Google) < [EMAIL PROTECTED]> wrote: > > Hi, > > What wrapper is it you're using? Since this isn't the official PHP > client library, you may want to contact the wrapper author directly. > > Cheers, > -Jeff > > On Sep 11, 8:00 am, Damian <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I have been playing around with the php wrapper for web albums API and > > having a grand ol'e time doing it as it has been a little while since > > I programmed. I managed to built a cool little framework for pictures > > on my website. I built it on my computer and everything was working > > just great. I had to switch hosts when I realized that my current one > > did'nt support simpleXML (lame) Anyways I got a new host and uploaded > > the project again, but it does not seem to want to authenticate. Here > > is the code that I have > > > > $pic = new Picasa(); > > $pic->authorizeWithClientLogin($user, $password); > > > > $picasa_account = $pic->getAlbumsByUsername($user,null,null,"all"); > > <--- this is what causes the error > > > > $albums = $picasa_account->getAlbums(); > > > > These are the errors that I get. > > > > with the following errors > > Warning: SimpleXMLElement::__construct() [simplexmlelement.-- > > construct]: Entity: line 1: parser error : Start tag expected, '<' not > > found in /home/madinb5/public_html/photoapi/Picasa/Account.php on line > > 210 > > Warning: SimpleXMLElement::__construct() [simplexmlelement.-- > > construct]: Not authorized to view access all in /home/madinb5/ > > public_html/photoapi/Picasa/Account.php on line 210 > > Warning: SimpleXMLElement::__construct() [simplexmlelement.-- > > construct]: ^ in /home/madinb5/public_html/photoapi/Picasa/Account.php > > on line 210 > > An error occured while posting the album: String could not be parsed > > as XML > > > > If I leave "all" set to the default null it only pulls albums that are > > public and all the code works just fine. So this tells me that it is > > not authenticating correctly. Any ideas of why it would authenticate > > the username and password on my localhost but not on the website? I > > even signed up for an authentication key through google and tried to > > authenticate that way... no luck. > > > > Thanks, > > > > Damian Gibbs > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to Google-Picasa-Data-API@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---