Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Rest_Route
-
Labels:None
-
Tags:
Description
Using the Zend_Rest_Route throws fatal error
PHP Fatal error: Call to a member function getHeader() on a non-object in ...\\Zend\\Rest
Route.php on line 165
i commented this part out to get the rest working
/* UOPS ERROR
} elseif ( $this->_request->getHeader('X-HTTP-Method-Override') ) {
$values[$this->_actionKey] = strtolower($this->_request->getHeader('X-HTTP-Method-Override'));
*/
The problem remains under php 5.2.10 under Windows XP Apache 2.2 as module.
(Info: inside creating issues the component selector does not show all components, so i decided to chose unknown)
Attachments
Issue Links
| This issue is duplicated by: | ||||
| ZF-7655 | Zend_Rest_Route has references to "$this->_request->getHeader", should prob. be "$request->getHeader", getting null reference! |
|
|
|
Set component and change assinee