Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2015, 05:24 PM
MistViper MistViper is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Nobody in the forum can login

Hey guys I have a pretty big issue here. On my forum whenever I try to login, or any other user tries there is an error. It says invalid username/pass and that we need to wait 15 minutes before trying again. Do you guys know any way to fix this? I've seen people say go to php myadmin and create an admin account, but will that work for this issue? I'll try it and let you guys know but if you have ANY other help that would be greatly appreciated. Btw the site is -> mistviper.com

Edit:

I get this error when installing the tools.php file to my admincp directory:

Warning: require_once(./install/includes/class_upgrade.php) [function.require-once]: failed to open stream: No such file or directory in /home/mistvipe/public_html/forum/admincp/tools.php on line 46

Fatal error: require_once() [function.require]: Failed opening required './install/includes/class_upgrade.php' (include_path='.:/usr/local/php53/pear') in /home/mistvipe/public_html/forum/admincp/tools.php on line 46
Reply With Quote
  #2  
Old 03-07-2015, 05:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have access to the database through phpMyAdmin, try emptying or truncating the 'strikes' table.

I think people have said that problem happens when you're using a proxy or cloud and it looks like everyone has the same ip address, then if anyone gets locked out, everyone's locked out.

If that's what the problem is, you can temporarily disable the strike system (although I guess you don't want to do that for very long), then figure out how to get things to use the right ip address. I'm not sure how to offhand, but I'll do a search, or maybe someone else will answer.
Reply With Quote
  #3  
Old 03-07-2015, 05:54 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your session table in the database, you can login cpanel then go to phpmyadmin to check the table in the your forums database. If the session table has around 30,000+ listed then its an issue there.

IF and I mean IF the session table has an insane amount of entries (like I mentioned above around 30k) then it could be your timeout setting i.e. how long the members can stay logged in - If you set this too high without modifying certain files it can cause an issue. IF the session table is full then run this query:

PHP Code:
TRUNCATE TABLE session 
http://www.vbulletin.com/forum/forum...-table-is-full

*All my comments above should only be read and any directions followed IF you checked your session table first and IF its full or around 30k entries.
Reply With Quote
  #4  
Old 03-07-2015, 05:56 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MistViper View Post
Edit:

I get this error when installing the tools.php file to my admincp directory:

Warning: require_once(./install/includes/class_upgrade.php) [function.require-once]: failed to open stream: No such file or directory in /home/mistvipe/public_html/forum/admincp/tools.php on line 46

Fatal error: require_once() [function.require]: Failed opening required './install/includes/class_upgrade.php' (include_path='.:/usr/local/php53/pear') in /home/mistvipe/public_html/forum/admincp/tools.php on line 46
You need to upload the install folder to use tools.php.
Reply With Quote
  #5  
Old 03-07-2015, 05:56 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
If you have access to the database through phpMyAdmin, try emptying or truncating the 'strikes' table.

I think people have said that problem happens when you're using a proxy or cloud and it looks like everyone has the same ip address, then if anyone gets locked out, everyone's locked out.

If that's what the problem is, you can temporarily disable the strike system (although I guess you don't want to do that for very long), then figure out how to get things to use the right ip address. I'm not sure how to offhand, but I'll do a search, or maybe someone else will answer.
Ahh Kevin you're right too, sometimes if can be cloudflare or similar. There was a fix for this, some hosts updated and made sure cloudflare worked as-intended and then some hosts did not i.e. why they still run folks on php 5.2.14 when most should be on 5.4+
Reply With Quote
  #6  
Old 03-07-2015, 05:57 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
Ahh Kevin you're right too, sometimes if can be cloudflare or similar. There was a fix for this, some hosts updated and made sure cloudflare worked as-intended and then some hosts did not i.e. why they still run folks on php 5.2.14 when most should be on 5.4+
Yeah, I thought because it said "15 minutes" that it was strikes, but I'm not 100% sure that's the only time you get that message.

Edit: I'm not sure if this will do that: https://vborg.vbsupport.ru/showthread.php , it may be for users using proxies as opposed to the server side. I don't know enough about it to know if it's handled the same.
Reply With Quote
  #7  
Old 03-07-2015, 06:32 PM
MistViper MistViper is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok guys so somehow some way I waited 15 minutes and logged into the admin cp, as it saved my password and I just hit the login button. I disabled the strikes system so all my members are good now they can login. I really appreciate the quick support as I'm stressed out there is some internal error or something causing this. I definitely want the strikes system back asap for obvious reasons.

We don't have full table sessions or anything so that's not the issue.
We are using php version 5.3.29 would that be an issue? We do not use cloudflare though.
Reply With Quote
  #8  
Old 03-07-2015, 06:37 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you go to Who's Online, does it actually look like everyone's at the same ip?
Reply With Quote
  #9  
Old 03-07-2015, 06:41 PM
MistViper MistViper is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it does! How can we fix this?
Reply With Quote
  #10  
Old 03-07-2015, 06:58 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check to see if your scheduled tasks (cron) is running properly, if not then the cron job that clears strikes is not running. What was recently done or recently changed that would have caused this? Something was done it didn't just happen so in order to fix this situation we need to know what that was.
Reply With Quote
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 08:42 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.06813 seconds
  • Memory Usage 2,260KB
  • 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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete