Opened 17 years ago

Closed 17 years ago

#201 closed defect (fixed)

Repository Admin scripts fail when using PHP4

Reported by: timstrang Owned by: timstrang
Priority: medium Milestone:
Component: General Version: 1.2.0
Severity: minor Keywords: Repository Admin PHP4
Cc: External ID: 941904

Description

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.

Change History (3)

comment:1 by tomfukushima, 17 years ago

Milestone: 1.2

comment:2 by jbirch, 17 years ago

I believe that this was fixed with Changeset 1812

http://trac.osgeo.org/mapguide/changeset/1812

comment:3 by brucedechant, 17 years ago

Resolution: fixed
Status: newclosed

This has been addressed with Changeset 1812.

Note: See TracTickets for help on using tickets.