PHP Classes

error

Recommend this page to a friend!

      PicasaWeb class  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:could not be parsed as XML
Messages:3
Author:juglesh
Date:2009-06-23 18:56:42
Update:2009-06-23 21:25:00
 

  1. error   Reply   Report abuse  
Picture of juglesh juglesh - 2009-06-23 18:56:42
Hello, and thank you for this class, ive been looking for something like it.

In the examples, the index.php works fine, but clicking on the album links results in error:
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in
D:\picasaweb\picasaweb.class.php:118 Stack trace: #0 D:\www\picasaweb\picasaweb.class.php(118): SimpleXMLElement->__construct('') #1
D:\picasaweb\dispalbum.php(14): picasaweb->getPhotos('525223041906618...') #2 {main} thrown in D:\picasaweb\picasaweb.class.php on line 118

Can you please get me started in troubleshooting this?

thanks,
J

  2. Re: error   Reply   Report abuse  
Picture of Thomas Jakober Thomas Jakober - 2009-06-23 20:50:44 - In reply to message 1 from juglesh
Did you set up the login-parameters in dispalbum.php correctly? Replace the xxx and yyy by your username and password of the picasaweb.

Hope this helps,

Thomas

  3. Re: error   Reply   Report abuse  
Picture of juglesh juglesh - 2009-06-23 21:25:00 - In reply to message 2 from Thomas Jakober
yes, thank you :)

line 21 of the main class has a typo, should be fixed to reference the dispphoto.php.

Thanks!
J