Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.6.0

Bug #8725 Invalid Response Code
Submitted: 2006-09-18 08:29 UTC
From: alexandre at melard dot org Assigned: ttsuruoka
Status: Assigned Package: Services_Delicious (version 0.5.0)
PHP Version: 4.4.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 34 - 22 = ?

 
 [2006-09-18 08:29 UTC] alexandre at melard dot org (Alexandre MELARD)
Description: ------------ unexpected output Test script: --------------- $dlc = &new Services_Delicious($username, $password); $tags = $dlc->getTags(); print_r($tags); Expected result: ---------------- list of tags and content... Actual result: -------------- pear_error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => [message] => Invalid Response Code [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /mnt/132/free.fr/3/a/amelard/include/PEAR.php [line] => 542 [function] => pear_error [class] => pear_error [type] => -> [args] => Array ( [0] => Invalid Response Code [1] => [2] => 1 [3] => 1024 [4] => ) ) [1] => Array ( [file] => /mnt/132/free.fr/3/a/amelard/include/Services/Delicious.php [line] => 369 [function] => raiseerror [class] => pear [type] => :: [args] => Array ( [0] => Invalid Response Code [1] => ) ) [2] => Array ( [file] => /mnt/132/free.fr/3/a/amelard/include/Services/Delicious.php [line] => 129 [function] => _sendrequest [class] => services_delicious [type] => -> [args] => Array ( [0] => tags [1] => get ) ) [3] => Array ( [file] => /mnt/132/free.fr/3/a/amelard/links.php [line] => 14 [function] => gettags [class] => services_delicious [type] => -> [args] => Array ( ) ) ) [callback] => )

Comments

 [2006-09-18 09:42 UTC] ttsuruoka at php dot net (Tatsuya Tsuruoka)
In order to use the Services_Delicous-0.5.0 you need to install the OpenSSL package. Is OpenSSL supported?
 [2006-09-18 09:51 UTC] alexandre at melard dot org
You can find the phpinfo there : www.melard.org/info.php I use this package since about a year without problem, I just noticed the error a few weeks ago. Regards,
 [2007-04-30 18:23 UTC] zhigang (Zhigang Wang)
I get this error too. $ php getTags.php Content-type: text/html X-Powered-By: PHP/4.3.9 <pre>pear_error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 401 [message] => Invalid Response Code [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /usr/share/pear/PEAR.php [line] => 538 [function] => pear_error [class] => pear_error [type] => -> [args] => Array ( [0] => Invalid Response Code [1] => 401 [2] => 1 [3] => 1024 [4] => ) ) [1] => Array ( [file] => /data/tmp/Services_Delicious-0.5.0/examples/Services/Delicious.php [line] => 369 [function] => raiseerror [class] => pear [type] => :: [args] => Array ( [0] => Invalid Response Code [1] => 401 ) ) [2] => Array ( [file] => /data/tmp/Services_Delicious-0.5.0/examples/Services/Delicious.php [line] => 129 [function] => _sendrequest [class] => services_delicious [type] => -> [args] => Array ( [0] => tags [1] => get ) ) [3] => Array ( [file] => /data/tmp/Services_Delicious-0.5.0/examples/getTags.php [line] => 7 [function] => gettags [class] => services_delicious [type] => -> [args] => Array ( ) ) ) [callback] => ) </pre>
 [2008-03-22 12:59 UTC] amir (Amir Mohammad Saied)
Moved from #9703 here to close duplicated one: [2006-12-27 21:40 UTC] robin at millette dot info (Robin Millette) Description: ------------ Depends on php4-curl to send requests (for ssl / authentication). Relates to http://pear.php.net/bugs/8725 but a captcha problem prevents me from reporting it there.
 [2008-04-06 14:18 UTC] doconnor (Daniel O'Connor)
This is no doubt because http://api.del.icio.us:443/v1/ is giving... an invalid response code.
 [2008-04-06 14:20 UTC] doconnor (Daniel O'Connor)
I would suggest quickly browsing http://del.icio.us/help/api/ In particular: "Please set your User-Agent to something identifiable. The default identifiers like "Java/1.4.3" or "lwp-perl" etc tend to get banned from time to time." That sounds like a possible cause of the problem
 [2008-04-09 08:46 UTC] ttsuruoka (Tatsuya Tsuruoka)
I'll look into this issue again and fix the code if necessary.