vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Bad Behavior Integration (https://vborg.vbsupport.ru/showthread.php?t=233628)

chingon 01-22-2010 02:18 PM

wtf, my forum is gone and I get this:

Warning: require_once(bad-behavior/bad-behavior-generic.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(28) : eval()'d code on line 10

Fatal error: require_once() [function.require]: Failed opening required 'bad-behavior/bad-behavior-generic.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xsquid/public_html/forum/global.php(28) : eval()'d code on line 10

I can't even get in my admin panel, is this a joke??????

chingon 01-22-2010 02:32 PM

I get viewing directory contents not permitted on the forum and the above trying to get into the admincp, how can i get rid of this?

SemperFideles 01-22-2010 02:41 PM

Quote:

Originally Posted by Alfa1 (Post 1963406)
Do any big boards or high traffic boards run this? If yes, was any negative performance hit experienced?

I know that a lot of high traffic PHP sites use this. It's been used on Wordpress for quite some time and I've had it running on several of my own, which is why I implemented this for my board. My own board gets about 5000 hits a day but that's not a big board per se. I can tell you that it doesn't slow down my board but does seem to reduce load.
Quote:

Originally Posted by chingon (Post 1963417)
wtf, my forum is gone and I get this:

Warning: require_once(bad-behavior/bad-behavior-generic.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(28) : eval()'d code on line 10

Fatal error: require_once() [function.require]: Failed opening required 'bad-behavior/bad-behavior-generic.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xsquid/public_html/forum/global.php(28) : eval()'d code on line 10

I can't even get in my admin panel, is this a joke??????

It is not a joke. I used the same product file to install my own instance and I have never had this problem.

SemperFideles 01-22-2010 02:47 PM

Quote:

Originally Posted by chingon (Post 1963440)
I get viewing directory contents not permitted on the forum and the above trying to get into the admincp, how can i get rid of this?

Is it possible that you have a CHMOD problem for a folder or files? I honestly don't know what is causing your problem because I have never experienced it.

chingon 01-22-2010 02:49 PM

I disabled the plugins through config.php to get into the admoncp and uninstall it, board is back up. It's remaining unstalled, not touching it again.

SemperFideles 01-22-2010 02:51 PM

Quote:

Originally Posted by chingon (Post 1963417)
Warning: require_once(bad-behavior/bad-behavior-generic.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(28) : eval()'d code on line 10

Did you upload the directory contents in the zip file into your forum root? The zip file unzips into a bad-behaviour folder and you should upload that into your forum root.

The "no such file" seems pretty obvious that it cannot even find the file. Do you have a bad-behaviour-generic.php file within a bad-behaviour folder on your forum root?

Alfa1 01-22-2010 03:02 PM

Quote:

== Release Notes ==

= Bad Behavior 2.0 Known Issues =

* Bad Behavior may be unable to protect cached pages on MediaWiki.
How does this relate to vb and caching/ x-cache?

After installation, do we need to edit any settings?

SemperFideles 01-22-2010 03:10 PM

Quote:

Originally Posted by Alfa1 (Post 1963481)
How does this relate to vb and caching/ x-cache?

After installation, do we need to edit any settings?

There are no "settings" for this. This is the generic implementation of Bad-Behaviour. You may want to ask the script developer more about how his script works. My assumption on the above is that the script protects activity that is occuring within PHP activity and cached content is often put into html files that the script would not be able to detect.

Alfa1 01-22-2010 03:14 PM

Does this script protect against download tools like httrack? That would save a lot of bandwidth.

SemperFideles 01-22-2010 03:19 PM

Quote:

Originally Posted by Alfa1 (Post 1963496)
Does this script protect against download tools like httrack? That would save a lot of bandwidth.

I recommend you direct such questions to the script developer. The only thing I have done is provide a way for your board to call the functions that the script provides. It worked for me and the script has been very successful at blocking spam attempts on Wordpress sites that I run. I make no claims to having the exhaustive understanding of what the script does or does not do nor what the script developer has in mind for the future of the script.

I simply provided a way to implement the generic mode of the script as the script developer describes on his site.


All times are GMT. The time now is 02:59 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.01113 seconds
  • Memory Usage 1,741KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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