incubator-zeta-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Pastorino (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZETACOMP-112) $_SERVER['REQUEST_TIME'] float in PHP 5.4 causing MVCTools HTTP request parser to throw an Exception
Date Mon, 19 Dec 2011 11:21:30 GMT

     [ https://issues.apache.org/jira/browse/ZETACOMP-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicolas Pastorino updated ZETACOMP-112:
---------------------------------------

    Attachment: ZETACOMP-112.diff

Possible fix attached.
No Unit-test yet.
                
> $_SERVER['REQUEST_TIME'] float in PHP 5.4 causing MVCTools HTTP request parser to throw
an Exception
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ZETACOMP-112
>                 URL: https://issues.apache.org/jira/browse/ZETACOMP-112
>             Project: Zeta Components
>          Issue Type: Bug
>          Components: MvcTools
>         Environment: Mac OSX 10.6.8
> php-5.4.201112161130
>            Reporter: Nicolas Pastorino
>         Attachments: ZETACOMP-112.diff
>
>
> Here is the exception thrown when loading an MVCTools powered app : 
> Exception: DateTime::__construct(): Failed to parse time string (@1324292391.522) at
position 12 (5): Unexpected character in /usr/local/apache_php531/htdocs/zetacomponents_trunk/MvcTools/src/request_parsers/http.php
on line 140
> Call Stack
> #	Time	Memory	Function	Location
> 1	0.0009	241096	{main}( )	../index.php:0
> 2	0.0351	2153352	ezcMvcConfigurableDispatcher->run( )	../index.php:8
> 3	0.0363	2222984	ezcMvcHttpRequestParser->createRequest( )	../configurable.php:219
> 4	0.0368	2245464	ezcMvcHttpRequestParser->processStandardHeaders( )	../http.php:45
> 5	0.0368	2245672	ezcMvcHttpRequestParser->processDate( )	../http.php:86
> 6	0.0368	2245976	DateTime->__construct( )

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message