Bug Report #3813
Request::factory on external url error "Call to a member function uri() on a non-object"
| Status: | Closed | Start date: | 03/02/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Core | |||
| Target version: | v3.1.2 | |||
| Resolution: | fixed | Points: |
Description
While trying to execute next code:
$data = Request::factory('http://google.com')->execute()
get next error:
ErrorException [ Fatal Error ]: Call to a member function uri() on a non-object
php 5.3.2 Ubuntu 10.04
Related issues
History
Updated by Ashish Padave about 1 year ago
SYSPATH\classes\kohana\request.php [ 793 ]
788 }
789
790 // Add the current parameters
791 $params += $this->_params;
792
793 return $this->_route->uri($params);
794 }
795
796 /**
797 * Create a URL from the current request. This is a shortcut for:
798 *
Updated by Jeremy Bush about 1 year ago
- Target version set to v3.1.2
Updated by Jeremy Bush about 1 year ago
- Category set to Core
- Status changed from New to Closed
- Assignee set to Sam de Freyssinet
- % Done changed from 0 to 100
- Resolution set to fixed
This was fixed by 7fe4843a for ticket #3775.