Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 07-14-2014, 11:06 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can't Login to admincp and user account

I have a persistent issue with attempting to login to both user account as well as Admin cp. I found similar issue someone had https://vborg.vbsupport.ru/showthrea...=287312&page=2, but didn't find good solution to this problem.

I did these steps many times, but nothing worked for me... I use vb.4.2.2 pl1
-------------------
1- clear browser cache, but still get this issue whenever I try to login after 15 minutes and more " Wrong username or password. You have used up your failed login quota! Please wait 15 minutes before trying again. Don't forget that the password is case sensitive. Forgotten your password? Click here[color=Red]!"

2- used tools.php and executed the query TRUNCATE strikes;

3- reset the cache

and repeated the same steps on and one, but nothing worked...!!

any idea??
Reply With Quote
  #2  
Old 07-14-2014, 11:42 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using Cloudflare by any chance?
Reply With Quote
  #3  
Old 07-14-2014, 11:48 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Are you using Cloudflare by any chance?
No, I'm not...

no other CDN as well...
Reply With Quote
  #4  
Old 07-14-2014, 11:57 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you query the database? Check the session table and check the IP address column, does every result have the same IP or are the IP addresses different?
Reply With Quote
  #5  
Old 07-14-2014, 12:16 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Can you query the database? Check the session table and check the IP address column, does every result have the same IP or are the IP addresses different?
I'm not sure how to query teh database...

The IP addresses for main forum, forum.php, admincp and login.php is the same, others are not.

do I have to change anything here?
Reply With Quote
  #6  
Old 07-14-2014, 12:54 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Either upload something like PHPMyAdmin to your server or execute the query directly on your server under a SSH connection. First option would probably be easier for you. When did this issue start happening by the way?
Reply With Quote
  #7  
Old 07-14-2014, 01:00 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Either upload something like PHPMyAdmin to your server or execute the query directly on your server under a SSH connection. First option would probably be easier for you. When did this issue start happening by the way?
I have phpmyadmin on my server installed!!

and have SSH connection as well..

This issue has started 2 days ago. I changed the cookie prefix in config.php and then removed the browser cache and could login without any issues. 1 day after that, I can't seem to login anymore... and till now the issue is on...

--------------- Added [DATE]1405348232[/DATE] at [TIME]1405348232[/TIME] ---------------

I could solve the issue myself...

I believe I had a hash issue so that's why it wouldn't let me to login...

I replaced the user table with previous one I have as a backup and now works fine.

Thanks for trying to help

Great health to everyone
Reply With Quote
  #8  
Old 07-14-2014, 09:29 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remember everyone, when you change anything related to cookies its a good idea to clear your cookies (or in the least the cookies for said site). Using tools.php was a good idea if you're ever unsure but if all else fails you can run a query to reset any users password:

Code:
UPDATE `user`
SET `password` = MD5(CONCAT(MD5('newpassword'), `user`.`salt`))
WHERE `userid` = 1
Of course change newpassword to the actual password they wish to use and the 1 to the userid of the user in question. If your database uses a prefix then include the prefix.
Reply With Quote
Благодарность от:
fxdigi-cash
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07050 seconds
  • Memory Usage 2,231KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete