Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #2414 getResponseCookies() fails
Submitted: 2004-09-30 07:07 UTC
From: pordal at orangeilk dot com Assigned: mj
Status: Closed Package: Documentation
PHP Version: 4.3.8 OS: Gentoo Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-09-30 07:07 UTC] pordal at orangeilk dot com
Description: ------------ The example code provided to get cookies returns the following error: Fatal error: Call to a member function on a non-object in cookies.php on line 11 (when copied into a file named test.php). Reproduce code: --------------- The code was copied and pasted verbatim from: http://pear.php.net/manual/en/package.http.http-request.cookie.php Expected result: ---------------- A table of cookies Actual result: -------------- Fatal error

Comments

 [2004-09-30 10:24 UTC] avb
Recategorizing it as Documentation bug... Whoever wrote the HTTP_Request docs should check the examples provided, I think there are more broken ones there.
 [2004-09-30 13:55 UTC] mj
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.