Page 1 of 1

Notice: Undefined index: ...feusers_forgotpasswordform.php

Posted: Tue Sep 17, 2013 9:54 pm
by forest-guy
Here is what I'm running on my sandbox webserver:

Code: Select all

CMS Version-1.11.7
CMSMailer-5.2.1
CMSPrinting-1.0.4
FileManager-1.4.3
MenuManager -1.8.5
MicroTiny -1.2.5
ModuleManager -1.5.5
News -2.12.12
Search -1.7.8
ThemeManager -1.1.8
Gallery -1.6.1
CGExtensions -1.37.2
SFacebook -0.1
CGJobMgr -1.2.15
NMS -2.7.4
AireLibs -1.3.2
FrontEndUsers -1.21.18
EventsManager -1.2.7
SelfRegistration -1.8.1
CustomContent -1.9
Current PHP Version (phpversion) -5.5.3 
Server Database (server_db_type) -mysql (mysqli)
Server Database Version (server_db_version) -5.6.11
The issue:
I am trying to create a site where users can SelfRegister their FrontEndUser accounts. I've used FrontEndUser previously on other sites, but this is the first time to allow Self Registration.

The Self Registration process appears to work fine. Where the issue is occuring is when I attempt to recover a forgotten password. After I enter the username (which is actually the email) and press the Submit button the following is plastered across the screen:
Notice: Undefined index: startform in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 40

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 40

Notice: Undefined index: title in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 42

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 42
An email has been sent to [users email] with instructions as to how to reset your password. Thank you
Notice: Undefined index: lostpw_message in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 53

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 53

Notice: Undefined index: prompt_username in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 55

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 55

Notice: Undefined index: input_username in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 56

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 56

Notice: Undefined index: hidden in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 64

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 64

Notice: Undefined index: submit in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 65

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 65

Notice: Undefined index: cancel in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 66

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 66

Notice: Undefined index: endform in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 68

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^34462438e32cd9cc53e52d542db209abee983b1f.module_db_tpl.FrontEndUsers;feusers_forgotpasswordform.php on line 68
Note that in the middle of all of this the message is displayed that the email was successfully sent - and it is.

Once the user receives the email and clicks on the link in it, the following is plastered all over the resulting page:
Notice: Undefined index: title in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^6f130530b256d0cd24e2fd18c18ef852c27db5be.module_db_tpl.FrontEndUsers;feusers_forgotpasswordverifyform.php on line 43

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\FrontEndUsers^6f130530b256d0cd24e2fd18c18ef852c27db5be.module_db_tpl.FrontEndUsers;feusers_forgotpasswordverifyform.php on line 43
The page is set to not cache. As this is a fresh new install of everything is there some setting I have overlooked? Is there a possibility of some module conflict?

Any assistance would be appreciated.
Thanks in advance.

Re: Notice: Undefined index: ...feusers_forgotpasswordform.p

Posted: Tue Sep 17, 2013 11:38 pm
by forest-guy
Don't know if this is related or not, but since it still deals with the same modules...

Just got around to trying the "I have already completed the registration form, but did not receive an email, can you please re-send it Click Here" option on the Self Registration and it resulted in the following messages:
Notice: Undefined variable: val in C:\xampp\htdocs\[sandbox]\modules\SelfRegistration\functions.php on line 232

Notice: Undefined index: title in C:\xampp\htdocs\[sandbox]\tmp\templates_c\SelfRegistration^4126bce8339c47d9f53c202e9c12449d98b5bbb7.module_db_tpl.SelfRegistration;selfreg_sendanotheremail_template.php on line 34

Notice: Trying to get property of non-object in C:\xampp\htdocs\[sandbox]\tmp\templates_c\SelfRegistration^4126bce8339c47d9f53c202e9c12449d98b5bbb7.module_db_tpl.SelfRegistration;selfreg_sendanotheremail_template.php on line 34

Re: Notice: Undefined index: ...feusers_forgotpasswordform.p

Posted: Wed Sep 18, 2013 6:46 am
by Rolf
Set error_reporting off in your PHP settings. You can also use the default cmsms .htaccess file and unquote the related lines.

[Solved] Notice: Undef index: ...feusers_forgotpasswordform.

Posted: Wed Sep 18, 2013 3:44 pm
by forest-guy
Rolf,
Did you mean instead to say set display_errors=Off in php.ini? Which puts it into production mode.

error_reporting doesn't have an Off setting and it already is set to production mode with =E_ALL & ~E_DEPRECATED & ~E_STRICT.

Anyway - setting display_errors=Off did the trick after restarting webservices.

Thanks Rolf.