The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Administrator account password not working and not possible to retrieve - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Administrator account password not working and not possible to retrieve (/showthread.php?tid=439)



Administrator account password not working and not possible to retrieve - Evensen - Jan 13th, 2010

I have installed v2.0.0-beta-20091012. I seems that all 3 admin accounts are unable to log inn. Seems to be related to the password validation. I have one user account which is possible to log in to, but that does not help much. The retrieve password function is not working either. It says "fine" but the error "Notice: Undefined index: swiftmailer_enabled in /lft/59/8507/www/formtools/global/code/accounts.php on line 302" is visible in the header. I am not really a script guru, so I am a little stuck.

Is it possible to fix this?


RE: Administrator account password not working and not possible to retrieve - Ben - Jan 16th, 2010

Hi Evensen,

Eesh. That sounds like a royal headache. It sounds like the Swift Mailer module isn't installed on your server, but for some reason it thinks it is... most odd.

Admin and client accounts are now encrypted in the database in FT2, so you'll need to manually update them through the database. To do this, go here:
http://docs.formtools.org/encrypt.php

And enter your password. Then, via phpMyAdmin or another DB access tool, find the ft_accounts table (the table prefix may be different for your system) and locate your user account. There, update the password value with the encrypted string generated by the page above.

Having said all this, it's VERY odd that passwords no longer work. I'm wondering if maybe your hosting provider changed the way the md5() encryption routine functions... one user account password failing to work could be attributed to human error, but three sounds really fishy.

Once you've gained access again, take a look over your Swift Mailer plugin - perhaps uninstall & re-install the latest version, just to check you're up to date. Then log out and try the "forget password" page again.

Curious!

- Ben


RE: Administrator account password not working and not possible to retrieve - Evensen - Jan 16th, 2010

(Jan 16th, 2010, 11:52 AM)Ben Wrote: Hi Evensen,

Eesh. That sounds like a royal headache. It sounds like the Swift Mailer module isn't installed on your server, but for some reason it thinks it is... most odd.

Admin and client accounts are now encrypted in the database in FT2, so you'll need to manually update them through the database. To do this, go here:
http://docs.formtools.org/encrypt.php

And enter your password. Then, via phpMyAdmin or another DB access tool, find the ft_accounts table (the table prefix may be different for your system) and locate your user account. There, update the password value with the encrypted string generated by the page above.

Having said all this, it's VERY odd that passwords no longer work. I'm wondering if maybe your hosting provider changed the way the md5() encryption routine functions... one user account password failing to work could be attributed to human error, but three sounds really fishy.

Once you've gained access again, take a look over your Swift Mailer plugin - perhaps uninstall & re-install the latest version, just to check you're up to date. Then log out and try the "forget password" page again.

Curious!

- Ben

Thanks for the answer! I was able to change the password with your solution via phpMyAdmin. With concern to the Swift Mailer I will check it out. Thanks again.
Stein