Warning: The author of this contribution does not provide support for it anymore.

Anti Spam ACP

Installing Anti-Spam ACP 1.0.5 breaks forum - Anti Spam ACP

Installing Anti-Spam ACP 1.0.5 breaks forum

by Shadoefax » Mon Nov 19, 2012 9:30 pm

I realize that there are other threads relating to this, but none are current (the most recent one was started over 21 months ago). I thought it would be best to start a new thread.

I've been running a phpBB forum as a support venue for the Firefox extensions I develop for several years. Spammers have always been around, but two days ago I was completely ambushed with hundreds (yes ... HUNDREDS) of new spam user registration requests. I know they are spam because I've looked up the email addresses and IP addresses in http://www.stopforumspam.com. For the past couple of years or so, I've used Q&A CAPTCHA with very good results but all of a sudden I'm getting barraged with new spam registrations. Yesterday I switched to "Fancy jQuery AJAX" spambot countermeasure, but I'm still getting dozens of invalid registrations per hour. I'm inclined to think these are real-live spammers (and not just spambots) though I don't know what would possess someone to take the time to create all these worthless registrations knowing they will be rejected (I have admin account activation set so the spammers should know immediately it won't go through.) UPDATE: I've disabled user registration until I get this figured out.

Anyway, that's how I got to where I am now. I searched the interwebs for different anti-spam mods and was impressed with what I read about EXreaction's Anti-Spam ACP 1.0.5. I liked the fact that it will lookup at least the email address used during registration in the StopForumSpam database so that would save me at least that step in validating potential new users. (I disagree with the authors belief that IP addresses are not reliable checks in preventing spam. There are many highly "toxic" IP addresses in China, Russia, and the Netherlands that are considered major spam facilitators and since most of my users are English speaking I don't think I would lose too many subscribers by blocking those addresses.)

Now I'll describe the problem I'm having. I have tried at least a half-dozen times to install the mod but cannot get it to complete the installation. After the installation fails, it leaves my board corrupted and unusable. I have to restore from backup to get it running again. I'll lay out the steps I've taken in the hope that someone can point out the error of my ways. I'm sure if this is happening to me, it is likely happening to others.

Here's my setup:
Platform: phpBB v3.0.11
Apache version 2.2.22
PHP version 5.3.13
MySQL version 5.1.65-cll
Architecture i686
Operating system linux

Image

(Full directory listing)

Downloaded Anti-Spam ACP 1.0.5.zip from http://lithiumstudios.org/forum/download/file.php?id=1395

AutoMOD settings:
Image
Image

At this point, AutoMOD is empty:
(AutoMOD screenshot)

Now I attempt to upload the mod but get the following message:
Image

I notice the prior instructions explain how to manually upload:
(AutoMOD screenshot with alternative instructions)

So I unzip Anti-Spam ACP 1.0.5.zip and manually upload the contents to the mods folder:
Image
Image

After the manual upload, I returned to AutoMOD and see:
Image

I click "Install" and get:
Image

Clicking "Test connection" displays:
Image
so I go ahead and click "Install":
Image
Everything is looking good so far ... Until I click "Return to AutoMOD" and a plain white screen with the message:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/common.php on line 127: require(./../antispam/asacp.php) [function.require]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/common.php on line 127: require(./../antispam/asacp.php) [function.require]: failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required './../antispam/asacp.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cbaker/public_html/phpBB2/common.php on line 127

So I click the browser back button and click "Board index" but get:

Code: Select all

Warning: include(../common.php) [function.include]: failed to open stream: No such file or directory in /home/cbaker/public_html/phpBB2/index.php on line 16

Warning: include(../common.php) [function.include]: failed to open stream: No such file or directory in /home/cbaker/public_html/phpBB2/index.php on line 16

Warning: include() [function.include]: Failed opening '../common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cbaker/public_html/phpBB2/index.php on line 16

Fatal error: Call to a member function session_begin() on a non-object in /home/cbaker/public_html/phpBB2/index.php on line 19


At this point the board is destroyed and I have to restore from backup to get it back up again.

Any suggestions?
Shadoefax
Registered User
Posts: 15
Joined: Mon Jan 09, 2006 5:23 am
Location: Glendale, AZ USA
Contact:

Re: Installing Anti-Spam ACP 1.0.5 breaks forum

by OCSFoundationCTO » Wed Nov 21, 2012 4:59 pm

Shadoaefox,

I just installed this MOD on a clean 3.0.11 installation and I had no problems.

It appears that the problem you are having is with required files not being found. I also noticed that the referenced directory is for phpBB2. Is it possible that somewhere along the line a wrong directory was specified or was the phpBB2 directory and upgraded (from 2 to 3) installation of phpBB?
OCSFoundationCTO
Registered User
Posts: 4
Joined: Wed Nov 21, 2012 4:50 pm
Contact:

Re: Installing Anti-Spam ACP 1.0.5 breaks forum

by Shadoefax » Wed Nov 21, 2012 5:30 pm

If the required files are not being found, how are they disappearing? The board works just fine until I try to install the mod. Does the mod installation delete files, change file permissions, or otherwise instruct the board to load files that do not exist? If so, how can I check?

I am using phpBB3 that I upgraded from phpBB2 years ago. I used the same folder because the index link was heavily populated on the net and I did not want to confuse users or bother with re-directs. But I would think (in theory) I could use any folder name to install the board.
Shadoefax
Registered User
Posts: 15
Joined: Mon Jan 09, 2006 5:23 am
Location: Glendale, AZ USA
Contact:

Re: Installing Anti-Spam ACP 1.0.5 breaks forum

by Martin Truckenbrodt » Fri Nov 30, 2012 12:33 pm

Hello shadoefax,
I prefer manually MOD installations on my live boards. AutoMOD still is too much buggy. But a new version 1.0.2 seems to come next days or weeks.

My own experience with Stop Forum Spam: I'm blocking spam with SFS automatically if ip and username are listed or if ip and email address are listed. So I don't have any false positives with SFS. IMO the ip is the most real and trustworthy information about a spammer's idendity.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt
Contact: