|
URL Shortening Script Contact Us Script Ad Board Script Address Book Script Life Insurance Quotes Request Form Script Real Estate Contact Form Script Bug List |
Bug List
Bug 303
Date :
2009-12-03
Applies to :
CU204 v1.06, CU205 v1.07
Symptomz :
When the email field can not confirmed on the form,
the scripts shows the error message [
Fatal error: Call to undefined method cls_form_EmailConf::SetPDErrMsg() in web/codelib/asc/cls_fl_form.inc.php on line 42
]
Resolution :
Open /web/codelib/asc/cls_fl_form.inc.php in a text editor.
remove red lines
and add the green lines.
This bug was fixed in v1.08 series.
/**
* Confirm email
*
* @param object $msg
* @return true = success, false = failure
*
*/
function Validate_Conf( $v )
{
$obj =& $this->prt->GetChild('email');
if ( ! ( $v == $obj->GetVal() ) )
{
$this->SetPDErrMsg( EMT_CAN_NOT_CONFIRM, $v );
$this->SetErrMsg( RSTR_ERR_CAN_NOT_CONFIRM, $v );
return false;
}
return true;
}
Bug 302
Date :
2009-09-12
Applies to :
All v1.02 series
Symptomz :
If a user can not submit a form becuase of a mail server problem,
the script takes the user back to the input form. When it happens, the
email confirmation field on the form disappers.
Resolution :
Open /web/form/app/cls_ps_form.inc.php in a text editor.
Remove the red characters ( shown below )
from the script and save the file.
//------------------------------------------------------
// Page3
//------------------------------------------------------
case "reg_page3":
//-- [BEGIN] Check PageSig
if ( !SKIP_DOUBLE_SUBMIT_CHECK )
{
if ( !$this->sys->PageSig->Check( $pagesig_key ) )
{
$sc->DoubleSubmitError();
break;
}
}
//-- [END] Check PageSig
//-- [BEGIN] Validate the privious page
if ( !$sc->CheckPrevPageID(
array( "reg_page2" )
) ) break;
//-- [END] Validate the privious page
//-- [BEGIN] Set PageID
$sc->SetPageID( "reg_page3" );
//-- [END] Set PageID
//-- [BEGIN] Set default destination
$sc->SetNextSc( "reg_page1_pb" );
//-- [END] Set default destination
Bug 301
Date :
2009-08-07
Applies to :
All v1.01 series
Symptomz :
On a search pages of the staff area,
when you try to move to another page by clicking
a page index link ( Prev.. 1 | 2 | 3 ... Next ) the search
criteria will be reset.
Resolution :
Open /web/staff/app/cls_ps_form.inc.php in a text editor.
Add the green characters shown below
to the script and save the file.
This bug was fixed in v1.02 series.
switch( $cmd )
{
case "search":
case "search_pb":
case "search_ps":
case "search_ret":
//-- Clear "Key (PrimaryKey)"
if ( $cmd == "search_ret" )
{
$def->SetNS( "key:def:" );
$def->SetList( "key" );
$def->ClearState();
}
//-- Parepare to get criteria from state or criteria input
$def->SetNS( "sp:def:" );
$def->SetList( "sp" );
switch ( $cmd )
{
case "search_ret":
//-- Restore state to fieldlist and clear state
$def->FromState();
$def->ClearState();
break;
case "search":
//-- Set criteria input to fieldlist and set init values
$def->FromInput();
$def->FromInitValue( 'search' );
break;
case "search_pb":
case "search_ps":
//-- Set criteria input to fieldlist
$def->FromInput();
break;
}
//-- Validate criteria
$b = $def->Validate( XPT_SEARCH );
//-- Output criteria input
$def->ToZBuffer( XC_OF_SEARCH );
//-- Criteria validated successfully
if ( $b )
{
//-- OK to show result
$this->SetDisplay( "def:", true );
//-- Create query
$qc = $def->GetQueryCond();
//-- Output query result in table format
$def->SetNS( "rs:def:" );
$def->SetList( "sr" );
$b_clear = ( $cmd == "search_pb" );
$def->ToZBufferTable( "_this/search_ps", $qc, $b_clear, 'AND' );
}
//-- Set default id
$sc->SetDefID( $def->Get(XA_ID_NAME) );
//-- Set template page
$this->SetPage( $sc, "search" );
break;
|