HTML_QuickForm Validation
| From: | Barry Steele | Date: | Tue, 10 Aug 2004 05:17:48 +0000 |
| Subject: | HTML_QuickForm Validation | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14036@lists.php.net to get a copy of this message | ||
Hi,
I have a PHP/PEAR based app running in both development and production.
In development the form processes effectively but in the production
environment it seems to fail, regularly.
Below is partial output from:-
Var_Dump::display($_SESSION);
...
User details
...
_Incident Mgt_container Array(4)
+ defaults Empty array ()
| constants Empty array ()
| values Array(2)
|
| + incident Empty array ()
| + resus Empty array ()
|
+ valid Array(2)
|
| + incident Boolean (FALSE)
| + resus Null (Null)
|
This is the case regardless of the data entered on the form.
We run RH9 on both machines.
Dev:
Apache1.3, php4.3.5
pear
[root@hpfm01 admin]# pear list
Installed packages:
===================
Package Version State
Archive_Tar 1.1 stable
Auth 1.2.0 stable
Auth_PrefManager 0.2.31 stable
Benchmark 1.2.1 stable
Config 1.10 stable
Console_Getopt 1.2 stable
DB 1.6.4 stable
DBA 1.0 stable
DBA_Relational 0.19 devel
DB_DataObject 1.7.1 stable
DB_DataObject_FormBuilder 0.8.1 beta
DB_QueryTool 0.9.2 stable
DB_ldap 1.0 stable
Date 1.4.3 stable
File 1.0.3 stable
File_Find 0.2.0 stable
File_HtAccess 1.1.0 stable
HTML_CSS 0.2.0 stable
HTML_Common 1.2.1 stable
HTML_Crypt 1.2.2 stable
HTML_Form 1.0.1 stable
HTML_Javascript 1.1.0 stable
HTML_Menu 1.0 stable
HTML_QuickForm 3.2.1 stable
HTML_QuickForm_Controller 1.0.1 stable
HTML_Select_Common 1.1 stable
HTML_Table 1.5 stable
HTML_Template_IT 1.1 stable
HTML_Template_PHPLIB 1.3.1 stable
HTML_Template_Xipe 1.7.2 stable
HTML_TreeMenu 1.1.9 stable
HTTP 1.2.3 stable
I18N 0.8.6 beta
Image_Color 1.0.0 stable
Image_GIS 1.0.0 stable
Image_GraphViz 1.0.3 stable
LiveUser 0.8.1 beta
MDB 1.2 stable
Mail 1.1.2 stable
Net_CheckIP 1.1 stable
Net_SMTP 1.2.6 stable
Net_Socket 1.0.1 stable
PEAR 1.3.1 stable
PHPUnit 1.0.1 stable
PhpDocumentor 1.2.3 stable
Text_Password 1.0 stable
Translation 1.2.6pl1 stable
Validate 0.2.0 alpha
Var_Dump 0.4 stable
XML_CSSML 1.1 stable
XML_Parser 1.0.1 stable
XML_RPC 1.1.0 stable
XML_RSS 0.9.2 stable
XML_SVG 0.0.3 stable
XML_Transformer 1.0.1 stable
XML_Tree 1.1 stable
XML_Util 0.5.2 stable
XML_fo2pdf 0.98 stable
XML_image2svg 0.1 stable
apd 0.4p2 stable
xdebug 1.2.0 stable
[root@hpfm01 admin]#
On the prodiuction machine
Apache2.0,php4.2
pear
[root@mail etc]# pear list
Installed packages:
===================
Package Version State
Archive_Tar 1.1 stable
Auth 1.2.0 stable
Auth_PrefManager 0.2.31 stable
Benchmark 1.2 stable
Config 1.10 stable
Console_Getopt 1.2 stable
DB 1.6.4 stable
DBA 1.0 stable
DB_DataObject 1.7.1 stable
DB_DataObject_FormBuilder 0.8.1 beta
DB_QueryTool 0.9.2 stable
DB_ldap 1.0 stable
Date 1.4.3 stable
File 1.0.3 stable
File_Find 0.2.0 stable
File_HtAccess 1.1.0 stable
HTML_CSS 0.2.0 stable
HTML_Common 1.2.1 stable
HTML_Crypt 1.1 stable
HTML_Form 1.0 stable
HTML_Javascript 1.0.0 stable
HTML_Menu 1.0 stable
HTML_QuickForm 3.2.2 stable
HTML_QuickForm_Controller 1.0.2 stable
HTML_Select_Common 1.1 stable
HTML_Table 1.4 stable
HTML_Template_IT 1.0.0 stable
HTML_Template_PHPLIB 1.2 stable
HTML_Template_Xipe 1.7.2 stable
HTML_TreeMenu 1.1.4 stable
HTTP 1.2.2 stable
Image_Color 0.4 stable
Image_GIS 1.0.0 stable
MDB 1.1.1 stable
Mail 1.1.2 stable
Net_CheckIP 1.1 stable
Net_SMTP 1.2.3 stable
Net_Socket 1.0.1 stable
PEAR 1.3.1 stable
PHPUnit 1.0.0-alpha2 alpha
Text_Password 1.0 stable
Validate 0.2.0 alpha
Var_Dump 0.3 stable
XML_Parser 1.0.1 stable
XML_RPC 1.0.4 stable
XML_Tree 1.1 stable
XML_Util 0.5.2 stable
apd 0.4p2 stable
xdebug 1.2.0 stable
[root@mail etc]#
Any thoughts?
Barry
Barry Steele
hpfm solutions pty ltd
mob: 0413947980
fax: 0299817727
mailto:: barry@hpfm.com.au