vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - vbStopForumSpam - known spammer lookup for new registrations (https://vborg.vbsupport.ru/showthread.php?t=176481)

steadicamop 05-24-2008 08:13 AM

Quote:

Originally Posted by pedigree (Post 1528413)
edit register.php and search for register_addmember_process and register_addmember_complete - if you find them in something that says hook on the same line, then it should work.

I checked and both hooks are present, although I had to edit the xml file to change the version from 3.6.5 to 3.6.2 - but installed ok, after a quick text using an email address off the stop spam site ... I got the same error as above -

Quote:

Fatal error: Cannot instantiate non-existent class: simplexmlelement in /homepages/13/d103069509/htdocs/includes/functions_vbsfs.php on line 47
After a quick check it would appear that the class simplexmlelement is only in PHP 5 upwards ... I'm on 4.4.8 -- so this isn't compatible.

pedigree 05-25-2008 12:06 PM

Ill add a test in the code for the php5 function, if it doesnt exist, then it will have to skip. Php4 is end of live. If I get the time, Ill right a replacement for it but it seems pointless in doing that when php provides a perfectly good function

pedigree 05-25-2008 12:07 PM

Quote:

Originally Posted by skippybosco (Post 1528835)
So StopForumSpam.com has stopped responding (5/23 4amPST) for the last 30 min or so (DOS??). The result is that registrations are failing with a blank white screen.

Errors being thrown are:

Code:

Database error in vBulletin 3.6.10:

Invalid SQL:
INSERT HIGH_PRIORITY IGNORE INTO vbstopforumspam_remotecache (date, data, spambot, field) VALUES (now(), '124.8.230.120', '0', 'ip');;

Tried adjusting time out settings with no success.. bummer.

Hmm, strange. I setup my firewall to drop all connections to SFS to test connection errors. Are you usign curl?

skippybosco 05-25-2008 12:33 PM

I suspect dropping connections (immediate failure) is probably exhibiting different behavior than a request stalling out from a delayed response?

I'm using default settings, so CURL if available.

My server is configured:

Code:

cURL support        enabled
cURL Information        libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.2.3


Twin_Turbo 05-25-2008 02:29 PM

Quote:

Originally Posted by pedigree (Post 1530881)
Ill add a test in the code for the php5 function, if it doesnt exist, then it will have to skip. Php4 is end of live. If I get the time, Ill right a replacement for it but it seems pointless in doing that when php provides a perfectly good function

I'm not sure I understand what you mean, are you going to write a fix? I'd love to use this mod. I've got some pensy pests from germany and china, they were being blocked but otehrs couldn't register because of the error.

Thanks

Marck

pedigree 05-25-2008 08:06 PM

ill write some code to check if youre using php5... if not, then Im still undecided what I should do. Tomorrow, I might write some code to parse the XML without php5 functions.

But you REALLY should move to php5

skippy - Ill test how it handles complete junk response and fix them up.

Twin_Turbo 05-25-2008 10:42 PM

Aha! I was assuming I was on PHP 5.2 but i was not, somehow it was running on 4.8 (the other guy must have messd with the settings) changed it back, works like a charm now. Thanks :)

Scalemotorcars 05-26-2008 12:09 AM

This is a very cool hack but I'm holding off until you get the bugs out.

Im on a heavily modified 3.6.5 so please keep developing this for 3.6 Looking forward to the stable release. :up:

skippybosco 05-26-2008 03:54 AM

From Russ regarding the slow down the other day:

Quote:

DimeNOC, the datacenter where our server is hosted, experienced a massive power outage at around 8AM EST Friday morning. When the generator kicked on the UPS couldn't sustain the load and tripped about 40% of their servers. When ours finally came back up, a duplex mismatch caused the site to slow down to a crawl. Everything finally came back to normal though.

steadicamop 05-26-2008 07:10 AM

Quote:

Originally Posted by pedigree (Post 1531250)
But you REALLY should move to php5

Easier said than done when you're hosting with 1and1 who very likely won't upgrade if I ask nicely!


All times are GMT. The time now is 10:34 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.01795 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete