OSCommerce Product Manager

OSCommerce Product Manager for Windows
Tasklist

FS#335 - Detect disabled PHP functions.

Attached to Project: OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Wednesday, 19 April 2006, 08:36 GMT-6
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Wednesday, 19 April 2006, 09:13 GMT-6
Task Type Bug Report
Category Backend / Core
Status Assigned
Assigned To Mario A. Valdez-Ramirez (mvaldez)
Operating System All
Severity Low
Priority Immediate
Reported Version any
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Recently, an user reported problems to use the OSCPMwin application. The problem was:

a) The server-side script had a scripting error.
b) The OSCPMWin application was unable to detect and report the problem.

This bug report if about the first item.

The problem was that the function php_uname was disabled by disable_function in the server. The script was not aware of that and tried to call the function, resulting in a error string in the script output. This confused the OSCPMWin application.

The expected behavior is: check for disabled functions, if not so important, just don't use them, if critical, crash the script.
This task depends upon

Comment by Mario A. Valdez-Ramirez (mvaldez) - Wednesday, 19 April 2006, 08:41 GMT-6
Use ini_get function to check it.
Comment by Mario A. Valdez-Ramirez (mvaldez) - Wednesday, 19 April 2006, 09:13 GMT-6
Unless ini_get is also disabled.

Loading...