[mapguide-trac] #201: Repository Admin scripts fail when using PHP4
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Jun 12 12:38:23 EDT 2007
#201: Repository Admin scripts fail when using PHP4
-------------------------+--------------------------------------------------
Reporter: timstrang | Owner: timstrang
Type: defect | Status: new
Priority: medium | Milestone: 1.2
Component: General | Version: 1.2.0
Severity: minor | Keywords: Repository Admin PHP4
External_id: 941904 |
-------------------------+--------------------------------------------------
The Repository Admin scripts fail when using PHP4. There is PHP code
written in the scripts that inform the user that PHP5 is required, however
the PHP4 parser complains about the unknown try/catch before the version
checking code can be executed. The result (when using PHP4) is a cryptic
php parse error which requires the user to debug the code.
To fix this, I would suggest writing a standalone script to check the
version that will run without parse errors on PHP4 and PHP5. This way, the
user will see a nicely formatted message that PHP5 is required to run the
Repositotry Admin scripts.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/201>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list