how to protect php app (vbulletin) from hackers

Our vBulletin system is under constant attack, raising cpu load and making the system very slow for legit users. The attack is a script type attack that is attempting to log in and/or create new login ids (mostly it is trying to create login ids in order to spam the site). In vBulletin, we have … Read more

vBulletin upstreaming to Nginx server

I have two acount on RHC Openshift so i want install nginx one one server and vbulletin on the other server , so have combine server 1 to server two (nginx to Vbulletine) I try this configuration for nginx: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; error_log /var/lib/openshift/568adf5a0c1e66dac3000283/app-root/logs/nginx_error.log debug; pid … Read more

nginx, php-fcgi, VBulletin, WordPress & Node.js

CompassionPit.com is a Node.js app. The CompassionPit blog is WordPress and the CompassionPit forum is VBulletin. Everything was working fine and dandy until I installed the VBseo plugin for VBulletin, which wants me to add these lines to my nginx configuration: location /forum/ { rewrite ^/forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last; try_files $uri $uri/ /forum/vbseo.php?$args; } location ~ … Read more

PHP debugging under Apache on CentOS 5.9

After upgrading a vBulletin installation, accessing any page tells me that files are missing–even though they exist in the filesystem. Based on other questions I found here, I have tried changing the file permissions to no avail, changing the error log directive and php.ini, and changed ownership of the files it’s trying to access. Nothing … Read more

How to resolve Fatal error: Call to undefined function hash()?

I have this error message on my website: Call to undefined function hash() on line 738 in …/public_html/dbtech/dbseo/includes/class_db.php #0 …/public_html/dbtech/dbseo/includes/rewrite/thread.php(265): DBSEO_Database->generalQuery(‘\r\n\t\t\t\tSELECT *\r…’, false) #1 …/public_html/dbtech/dbseo/includes/class_core.php(2396): DBSEO_Rewrite_Thread::getInfo(Array) #2 …/public_html/dbtech/dbseo/hooks/global_complete.php(36): DBSEO::processContent(‘ #3 …/public_html/includes/functions.php(7641) : eval()’d code(3): require(‘/usr/home/admin…’) #4 …/public_html/includes/functions.php(7641): eval() #5 …/public_html/index.php(821): print_output(‘ #6 {main} Fatal error: Call to undefined function hash() on line 738 in …./dbtech/dbseo/includes/class_db.php … Read more

vBulletin Script Problems Litespeed

I would like to change to Litespeed from Apache with mod_php I installed it on a testserver Centos 7, PHP 7.1.33, MySQL 5.7.33. The vBulletin forum 4.2.5 works fine. But I’m using a script which rewrites the forum into .html sites. The main page works but when i click a link i get a 404 … Read more

Why is Memcached not working with vBulletin?

I have Memcached configured and setup to with work with vBulletin 4.1.5 on a Gentoo Linux 32-bit Linode VPS. Memcached is started, includes/config.php is configured to use the memcache, and the site does load and operate normally; however, Memcached does not appear to be caching, or at least caching very well. All services, Apache, MySQL, … Read more

CloudFlare not caching vBulletin php page serving image content

I have signed up with CloudFlare and while it seems to work for some pages I cannot get a rule to work correctly with php pages serving images. The page in question is: http://www.landcruiserclub.net/forums/attachment.php?attachmentid=23999&d=1452806909&thumb=1 I have a rule which says for that exact pattern, cache everything. Every time I go to Web-Sniffer or inspect the … Read more