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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 137 forum_permissions
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1952 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1952 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 629 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(732) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(732) : eval()'d code 5 errorHandler->error
/showthread.php 732 eval
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 784 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 784 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 784 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 784 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1506 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1506 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 30 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $addremovesubscription - Line: 79 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 79 errorHandler->error
/showthread.php 1533 eval



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to reset admin password?
#1
Hello,

I'm not a software specialist. Only a user.

I installed yesterday at night the Formtools. After, I created the first form and did tests for your use in my website. But It needs adjusts in layout and I would do it today.

But, when I wanted to do it, I couldn't access the formtools, because the admin password was changed.

In true, was add a 2nd password in one DB field called: "temp_reset_password".

I deleted the content of this field, thinking that the original password would be work, but it not has. I don't want redo the install if possible.

Questions:

1) Is this field original in the accounts table or was created by invasion?

2) How can I return to use the original password?

3) If it will be impossible, how can I reset the admin password? What command do I need use in Mysql panel?

Thank you!
Reply
#2
First, try the password reset link. If that does not work, use these instructions from the documentation:


Tutorial Index
Restting Admin Password
You may find yourself in the sticky position where you've forgotten your administrator password. Ordinarily, you can just request the password to be sent to you via the "Forgot Password" link on the Form Tools login page, but if for whatever reason your email configuration isn't set up properly, you're rather stuck!

This short, one-page tutorial explains how to manually re-set your administrator password.

Requirements
Access to your database via a tool like phpMyAdmin, or something like it. If you don't have this, you will need to contact your hosting provider to ask them for access.

Resetting the password
All passwords are encrypted in the database, so you can't just update the database record with the new one. First, you need to encrypt it.

Go here: http://docs.formtools.org/encrypt.php
On that page, enter your new password and submit the form. Copy and paste the encrypted password to your clipboard.
Now access your database via phpMyAdmin and locate the ft_accounts table. The actual name of your table will depend on the database table prefix you chose when first installing it, but the default is ft_. If you're not sure, take a look at your /global/config.php file and the $g_table_prefix setting.
View the contents of the table and look at the very first row (account_id = 1). Edit the record and for the password column, paste the encrypted password into the field and save.
Now try logging into Form Tools. All should be well! If not, double-check that when you copied the password, it didn't tack on an extra space at the end. Browsers / OSs can do that, occasionally.



(Jan 18th, 2016, 8:12 AM)edmarrp Wrote: Hello,

I'm not a software specialist. Only a user.

I installed yesterday at night the Formtools. After, I created the first form and did tests for your use in my website. But It needs adjusts in layout and I would do it today.

But, when I wanted to do it, I couldn't access the formtools, because the admin password was changed.

In true, was add a 2nd password in one DB field called: "temp_reset_password".

I deleted the content of this field, thinking that the original password would be work, but it not has. I don't want redo the install if possible.

Questions:

1) Is this field original in the accounts table or was created by invasion?

2) How can I return to use the original password?

3) If it will be impossible, how can I reset the admin password? What command do I need use in Mysql panel?

Thank you!
Reply
#3
(Jan 18th, 2016, 8:23 AM)alexh Wrote: First, try the password reset link. If that does not work, use these instructions from the documentation:


Tutorial Index
Restting Admin Password
You may find yourself in the sticky position where you've forgotten your administrator password. Ordinarily, you can just request the password to be sent to you via the "Forgot Password" link on the Form Tools login page, but if for whatever reason your email configuration isn't set up properly, you're rather stuck!

This short, one-page tutorial explains how to manually re-set your administrator password.

Requirements
Access to your database via a tool like phpMyAdmin, or something like it. If you don't have this, you will need to contact your hosting provider to ask them for access.

Resetting the password
All passwords are encrypted in the database, so you can't just update the database record with the new one. First, you need to encrypt it.

Go here: http://docs.formtools.org/encrypt.php
On that page, enter your new password and submit the form. Copy and paste the encrypted password to your clipboard.
Now access your database via phpMyAdmin and locate the ft_accounts table. The actual name of your table will depend on the database table prefix you chose when first installing it, but the default is ft_. If you're not sure, take a look at your /global/config.php file and the $g_table_prefix setting.
View the contents of the table and look at the very first row (account_id = 1). Edit the record and for the password column, paste the encrypted password into the field and save.
Now try logging into Form Tools. All should be well! If not, double-check that when you copied the password, it didn't tack on an extra space at the end. Browsers / OSs can do that, occasionally.



(Jan 18th, 2016, 8:12 AM)edmarrp Wrote: Hello,

I'm not a software specialist. Only a user.

I installed yesterday at night the Formtools. After, I created the first form and did tests for your use in my website. But It needs adjusts in layout and I would do it today.

But, when I wanted to do it, I couldn't access the formtools, because the admin password was changed.

In true, was add a 2nd password in one DB field called: "temp_reset_password".

I deleted the content of this field, thinking that the original password would be work, but it not has. I don't want redo the install if possible.

Questions:

1) Is this field original in the accounts table or was created by invasion?

2) How can I return to use the original password?

3) If it will be impossible, how can I reset the admin password? What command do I need use in Mysql panel?

Thank you!

Thank you for your attention. But it didn't resolve. Can be because were created the aditional field in the table? 2nd password in other DB field called: "temp_reset_password".

Is this field original in the table?

Where is the code settings for this field? Can be that is changed in the original code for password seach?
Reply
#4
Yes temp_reset_password should be there and my guess is it's used in some way during password resets.

What kind of error do you get when you tried to follow the above instructions? Remember, you can't just put a new password in the database as-is be ause the system uses one way encryption.

Alex
Reply
#5
"Sorry, that password does not match."
Reply
#6
Just confirming that you used the http://docs.formtools.org/encrypt.php and pasted the response (with no added space characters) to password column for the admin account (account_id=1)? Then you tried to log in with the text that you entered to be encrypted i.e. your new password?
Reply
#7
(Jan 18th, 2016, 4:37 PM)alexh Wrote: Just confirming that you used the http://docs.formtools.org/encrypt.php and pasted the response (with no added space characters) to password column for the admin account (account_id=1)?  Then you tried to log in with the text that you entered to be encrypted i.e. your new password?

Argh! Exactly what I was looking for but the abovementioned link gives me a Page Not Found response. Had a look through the API.PHP and from what I could see, the password captured at account creation is just stored as an MD5 hash? Tried using an online MD5 encryption tool, pasted the hash into admin account password field but still get a "Sorry, that password does not match" error. Is the encrypt.php page available at another link? and/or can someone shed some light on how to correctly encrypt a new admin password PLEASE? TIA
Time flies like an arrow...fruit flies like a banana
Reply
#8
Rainbow 
(Jun 5th, 2017, 2:55 AM)Crexis Wrote:
(Jan 18th, 2016, 4:37 PM)alexh Wrote: Just confirming that you used the http://docs.formtools.org/encrypt.php and pasted the response (with no added space characters) to password column for the admin account (account_id=1)?  Then you tried to log in with the text that you entered to be encrypted i.e. your new password?

Argh! Exactly what I was looking for but the abovementioned link gives me a Page Not Found response. Had a look through the API.PHP and from what I could see, the password captured at account creation is just stored as an MD5 hash? Tried using an online MD5 encryption tool, pasted the hash into admin account password field but still get a "Sorry, that password does not match" error. Is the encrypt.php page available at another link? and/or can someone shed some light on how to correctly encrypt a new admin password PLEASE? TIA

Smile I figured it out! Took another look at api.php and realised it's an MD5 of an MD5 of the plain text pwd. Hallelujah!
Time flies like an arrow...fruit flies like a banana
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)