| Id |
Date reported |
Status |
Date closed |
Jose A. Accino wrote me that Phrame 3 generated the following errors when running it with PHP5:
- The
Object class generates a "parse error, unexpected T_CLONE, expecting T_STRING in Object.php on line 24". This is caused by the name of the clone() method, which is a reserved word in PHP5. A workarround is to rename this method to something like php4clone. This will be included in Phrame 3 version 3.0.4;
- The
HttpSession class generates a "Fatal error: Cannot re-assign $this in HttpSession.php on line 51". This is caused by the stricter rules in PHP5 with respect to the manipulation of objects. In fact the constructor of HttpSession displays some poor coding habits from my side, which I will correct in Phrame 3 version 3.0.4.
|
|
Compatibility with the Phrame 2 Action and ActionForm constructor signature is broken as a result of the introduction of various objects for e.g. ActionServer, HttpRequest and HttpResponse.
|
|
If you allow Phrame to restart PHP sessions to avoid 'incomplete object' errors when loading class definitions 'just in time' and PHP is using cookies to store the session id on the client side, PHP wil add multiple Set-cookie headers to your responses which all refer to the same session id.
|