Ticket #201 (closed defect: fixed)
Repository Admin scripts fail when using PHP4
|Reported by:||timstrang||Owned by:||timstrang|
|Severity:||minor||Keywords:||Repository Admin PHP4|
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.