FEU + Notice: Undefined index:
Posted: Sat Mar 26, 2011 7:27 am
Still trying to crack the nut of the "Notices."
Below is one of several Notices from FEU;
Notice: Undefined index: hidden in C:\xampp\htdocs\mywebsite\tmp\templates_c\FrontEndUsers^%%5E^5ED^5EDE5C3C%%module_db_tpl%3AFrontEndUsers%3Bfeusers_forgotpasswordform.php on line 22
I could track it down to: element {hidden}
When commenting out {hidden}, to<!-- {hidden} -->
the Notice disappears.
Below is the only reference to {hidden} I could find in ....forgotpassword.php:
what can I do about this to get the notice to disappear? what might be the cause?
thanks
cmsms:1.9.4.1 xampp home dev
Below is one of several Notices from FEU;
Notice: Undefined index: hidden in C:\xampp\htdocs\mywebsite\tmp\templates_c\FrontEndUsers^%%5E^5ED^5EDE5C3C%%module_db_tpl%3AFrontEndUsers%3Bfeusers_forgotpasswordform.php on line 22
I could track it down to: element {hidden}
Code: Select all
<!-- forgot password template -->
<div id="lostpwd-form">
{$startform} <!--{* {$title} *} -->
{if !empty($message) }
{if !empty($error) }
<p><font color="red">{$message}</font></p>
{else}
<p>{$message}</p>
{/if}
{/if}
<div id="lostpwd-message">{$lostpw_message}</div>
<div id="lostpwd-prompt">{$prompt_username} {$input_username}</div>
[color=#FF0000] {$hidden} [/color] {$submit} {$cancel}
{$endform}
</div>
the Notice disappears.

Below is the only reference to {hidden} I could find in ....forgotpassword.php:
Code: Select all
if( isset( $params['returnto'] ) )
{
$this->smarty->assign('hidden',
$this->CreateInputHidden($id,'input_returnto',$params['returnto']));
}
thanks
cmsms:1.9.4.1 xampp home dev