vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Crashed the site with to many banned IP (https://vborg.vbsupport.ru/showthread.php?t=201025)

dontoe 01-08-2009 01:37 AM

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

Bellardia 01-08-2009 01:41 AM

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.

dontoe 01-08-2009 01:51 AM

Unfortunately, I'm not experienced enough to do that without more info. Any more help would be a huge help.

Bellardia 01-08-2009 02:03 AM

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.

dontoe 01-08-2009 02:06 AM

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!!!

Marco van Herwaarden 01-08-2009 09:09 AM

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.

dontoe 01-08-2009 08:45 PM

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!


All times are GMT. The time now is 02:59 AM.

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.01035 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete