Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2009, 01:37 AM
dontoe dontoe is offline
 
Join Date: Nov 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Crashed the site with to many banned IP

I just crashed my site by adding the full length of IP address' from stopforumspam.com.
Now I can't get into the admin section to delete them. ANy ideas?

Quote:
vBulletin Message
Unable to add cookies, header already sent.
File: /home/carolikf/public_html/forums/includes/class_core.php
Line: 3075

And at the top of the screen..........


Quote:
Warning: preg_match() [function.preg-match]: Compilation failed: regular expression is too large at offset 482950 in /includes/functions.php on line 700
Reply With Quote
  #2  
Old 01-08-2009, 01:41 AM
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Location: Hamilton, Ontario
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try disabling the functions for now. Open the php files and wrap the functions in comments
/* */ which should prevent it from using up all the memory. Go in, delete the banned IP's and then uncomment the functions.
Reply With Quote
  #3  
Old 01-08-2009, 01:51 AM
dontoe dontoe is offline
 
Join Date: Nov 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately, I'm not experienced enough to do that without more info. Any more help would be a huge help.
Reply With Quote
  #4  
Old 01-08-2009, 02:03 AM
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Location: Hamilton, Ontario
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to the lines in the files specified (3075) in the first one. You'll see that it's a particular function, perhaps the middle of one. Scroll up until you can find the function definition (something like function Do_this() ). It might be in a class. Type /* before the function definition, and scroll down to find where it ends, should terminate with a } but not necessarily the first one you see, it will be tabbed in the same amount as the function line. Type a */ after the }.

Do this for both. There's probably an easier way to do this, but I've never had this problem. I -hope- you can kind of understand what I'm saying.
Reply With Quote
  #5  
Old 01-08-2009, 02:06 AM
dontoe dontoe is offline
 
Join Date: Nov 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do ya get into the php with the Cpanel on the server? A newby here..........

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

Normally I access the files through "Filezilla"
Is that the way?

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

OK, I figured it out. Thank you very much for the help. I got it going again thanks to your advice. And thanks Vbulletin.org for being there when things go wrong!!!
Reply With Quote
  #6  
Old 01-08-2009, 09:09 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please also post it in the bugtracker on vB.com.

It is not really a vB bug, but better report it as such so the developers are aware of this issue and might be able to put a check before such a large list is saved. Since this problem need manual edits to the database to resolve, it mightbe worth trying to prevent it.
Reply With Quote
  #7  
Old 01-08-2009, 08:45 PM
dontoe dontoe is offline
 
Join Date: Nov 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea. I looked at the IP address' after the problem and I see now there are 99 pages of them on a "word" document. Sheesh!
Reply With Quote
Reply


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 02:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03937 seconds
  • Memory Usage 2,215KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete