Public Report
Report From: Delphi for PHP/Compatibility/Other    [ Add a report in this area ]  
Report #:  43607   Status: Resolved
Application error under PHP 5.2.1
Project:  Delphi for PHP Build #:  1.0.1.414
Version:    1.0 Submitted By:   Zelin Mo
Report Type:  Basic functionality failure Date Reported:  4/1/2007 6:23:02 PM
Severity:    Critical / Show Stopper Last Updated: 4/17/2007 7:32:47 AM
Platform:    All platforms Internal Tracking #:  
Resolution: Fixed (Resolution Comments) Resolved in Build: : 1.1
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Designed a basic page with a combobox and button for visitor to select which site they wish to be redirected to.

Application worked properly when launched from Delphi for PHP, but when deployed onto webserver, showed the error:

"Application raised an exception class Exception with message  The Input Filter PHP extension is not setup on this PHP installation,
so the contents returned by Input is *not* filtered "

Thus, even my very basic web page failed to display.

Found the website http://neshertech.net/adler/?p=58 (and translated it using Babelfish - Portuguese to English) which states that the input filter is implemented differently between PHP 5.2.1 and previous versions.

My web server happens to be using 5.2.1.
Steps to Reproduce:
Deploy any webpage with form elements (e.g. combobox, button) on webserver with PHP 5.2.1.
Workarounds
According to the web site above, commented off line 226 in the system.inc.php file from Delphi for PHP.

Deployed web site again, web page now works.

(Alternatively, you may wish to just edit the above file and upload to the "vcl" directory of your already deployed site, if any)
Attachment
None
Comments

Walter Cruz at 4/12/2007 6:04:58 AM -
Same problem here.
Thanks for the advice.
I'll try this workaround.

Walter

Server Response from: CODE1