[Chameleon-dev] [Bug 1310] New: [Chameleon] PHP 4.4.2 known bug with fopen()

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Feb 28 15:34:28 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1310

           Summary: [Chameleon] PHP 4.4.2 known bug with fopen()
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: MS4W package
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: jmckenna at dmsolutions.ca


PHP 4.4.2 has a known bug with fopen (http://bugs.php.net/bug.php?id=36017). 
The chameleon admin interface and the WMS parts use this command, and will cause
a php crash with this version of PHP ("Premature end of script headers: php.exe").  

For example, in \admin\htdocs\main.phtml this line causes a php.exe crash now:

   if (!@fopen( $szPHPWMSURI.'layerinfo_button.php', 'r' ) )


The big problem is that MS4W contains 4.4.2.  What should we do about this? 
Upgrade to PHP5 (could be many troubles)?  Or is there a work-around???



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list