PHP Classes

Empty Array?

Recommend this page to a friend!

      Grab Yahoo  >  All threads  >  Empty Array?  >  (Un) Subscribe thread alerts  
Subject:Empty Array?
Summary:empty array returned
Author:Roli For
Date:2010-11-28 21:39:09
Update:2010-12-03 16:21:48

  1. Empty Array?   Reply   Report abuse  
Picture of Roli For Roli For - 2010-11-28 21:39:18

I downloaded the latest version of the GrabYahoo class, I edited the test.php switched it to "messenger", got a succesful login, but unfortunately it returns an empty array.

I tried it on the Online Demonstration and it worked fine, so I am wondering what am I doing wrong?

I have all the requirements regarding curl:

cURL support enabled
cURL Information libcurl/7.16.2 OpenSSL/0.9.8g zlib/1.2.3 libidn/1.5

Can you give me any hints?


  2. Re: Empty Array?   Reply   Report abuse  
Picture of Ehsanul Haque Ehsanul Haque - 2010-11-28 22:05:32 - In reply to message 1 from Roli For
as far as i can think of is you may have issues with proper permission on the directory. the class writes a temporary file with cookie information and other information which is used to parse the address book or messenger list. please either review the web server's error log or review the class to understand where the files are written and set proper permission.

  3. Re: Empty Array?   Reply   Report abuse  
Picture of Roli For Roli For - 2010-12-03 16:21:48 - In reply to message 2 from Ehsanul Haque
Indeed it was about the cookieJarPath directory permissions.

Thank you for your quick and good reply. Keep up the good work!