[Chameleon-dev] [Bug 700] New: [Chameleon - Core] gszAppPath calculations fail with PHP 4.3.2RC3

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Thu Oct 14 12:25:16 EDT 2004


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

           Summary: [Chameleon - Core] gszAppPath calculations fail with PHP
                    4.3.2RC3
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: pspencer at dmsolutions.ca


When Chameleon tries to figure out the gszAppPath, it tests $_SERVER variables
to see where the page resides on the filesystem.  The $_SERVER array is
populated by PHP based on information coming from the web server and is
different depending on PHP version and web server version (i.e php 4.3.2 reports
different values that php 4.3.6 for the same web server).  Chameleon already
detects the two major differences, which is PATH_TRANSLATED and
ORIG_PATH_TRANSLATED.  It appears that some versions of PHP will provide both
but one will be an empty string.  Since PATH_TRANSLATED is tested first, if it
is an empty string, Chameleon will incorrectly determine the location of the
application and will fail to work.



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


More information about the Chameleon-dev mailing list