Advertisement:

Author Topic: [Free Plugin] Anti Spam & Protection System  (Read 46047 times)

jerry singh

  • Newbie
  • *
  • Posts: 25
Re: [Free Plugin] Anti Spam & Protection System
« Reply #960 on: February 01, 2018, 12:20:35 pm »
#8 {main}
  thrown in public_html/oc-includes/xxxx/model/Admin.php on line 63
[31-Jan-2018 ] PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /public_html/oc-content/plugins/spamprotection/classes/class.spamprotection.php on line 1285 
Code: [Select]
   if (in_array($ip, $table)) {


[31-Jan-2018] PHP Warning:  in_array() expects parameter 2 to be array, boolean given in public_html/oc-content/plugins/spamprotection/classes/class.spamprotection.php on line 1285 
Code: [Select]
   if (in_array($ip, $table)) {

thats the line-
Code: [Select]
in_array  responsible for error,   

am using  latest spamprotection ,  osclass- 3.7.4   php 7.0

------------------------------------------------------------------------------------------

due to spamprotection am also getting one or more error-  illustrated below-

/tmp  is working well.

PHP Fatal error:  Uncaught Error: Call to a member function numRows() on boolean in public_html/oc-includes/osclass/model/Admin.php:63

line 63-     if( $return->numRows() > 0 ) {
Code: [Select]
         if( $return->numRows() > 0 ) {
                $this->setFields( array('pk_i_id', 's_name', 's_username', 's_password', 's_email', 's_secret', 'b_moderator') );
            } else {
                $this->setFields( array('pk_i_id', 's_name', 's_username', 's_password', 's_email', 's_secret') );
            }
« Last Edit: February 01, 2018, 12:27:30 pm by jerry singh »

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 5803
  • Hardliner
Re: [Free Plugin] Anti Spam & Protection System
« Reply #961 on: February 01, 2018, 12:28:13 pm »
@jerry singh

The latest version of the plugin is not on Osclass Market but here:

http://amfearliath.ml/osclass-spam-protection/

As for the errors, i have also some of the WARNINGS but not the FATAL one you post at the end.

The fatal one

Code: [Select]
PHP Fatal error:  Uncaught Error: Call to a member function numRows() on boolean in public_html/oc-includes/osclass/model/Admin.php:63
could be a Hosting problem, from what i recall reading this forums.


« Last Edit: February 01, 2018, 12:30:37 pm by Aficionado »

buninsan

  • Jr. Member
  • **
  • Posts: 93
Re: [Free Plugin] Anti Spam & Protection System
« Reply #962 on: February 03, 2018, 02:03:02 pm »
Hello!
Sorry, I'm using Google translator.
Bots are registered on the site and not place ads.
They create a profile and fill in two fields: a website and a description.
I suggest:
1) Make a stop word filter in the description field.
2) It is necessary to automatically remove users without ads after a certain time.

muratbora

  • Full Member
  • ***
  • Posts: 139
Re: [Free Plugin] Anti Spam & Protection System
« Reply #963 on: February 09, 2018, 10:44:42 pm »
I am receiving error while install this plugin;

Plugin can not install due to ; Error importSQL::spam_prot
/home2/xxxxx/public_html/www.mysite.com/oc-content/plugins/spamprotection/assets/create_table.sql

What can be reason? related with plugin or hosting?

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 5803
  • Hardliner
Re: [Free Plugin] Anti Spam & Protection System
« Reply #964 on: February 09, 2018, 10:52:49 pm »
I am receiving error while install this plugin;

Plugin can not install due to ; Error importSQL::spam_prot
/home2/xxxxx/public_html/www.mysite.com/oc-content/plugins/spamprotection/assets/create_table.sql

What can be reason? related with plugin or hosting?

Seeing your other post:

https://forums.osclass.org/plugins-20/spam-registrations-in-spite-of-using-nocaptcha-recaptcha-plugin/msg160324/#msg160324

i doubt it is the plugin causing the problem.

Have you ever installed that plugin in the past ?


« Last Edit: February 10, 2018, 12:15:25 am by Aficionado »

muratbora

  • Full Member
  • ***
  • Posts: 139
Re: [Free Plugin] Anti Spam & Protection System
« Reply #965 on: February 11, 2018, 04:16:04 pm »
Yes, it was already installed CAPTCHTA plugin, since it is not stopping spams, I decided to use Anti Spam & Protection System plugin, and I am receiving above error while install.

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 5803
  • Hardliner
Re: [Free Plugin] Anti Spam & Protection System
« Reply #966 on: February 11, 2018, 04:34:49 pm »
Yes, it was already installed CAPTCHTA plugin, since it is not stopping spams, I decided to use Anti Spam & Protection System plugin, and I am receiving above error while install.

I don't follow. The question is: is the FIRST time you install this Anti-spam plugin ? or the second ?


muratbora

  • Full Member
  • ***
  • Posts: 139
Re: [Free Plugin] Anti Spam & Protection System
« Reply #967 on: February 11, 2018, 06:57:00 pm »
Yes first time !

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 5803
  • Hardliner
Re: [Free Plugin] Anti Spam & Protection System
« Reply #968 on: February 11, 2018, 07:18:56 pm »
Yes first time !

Ok some more questions:

1. Do you have any such problem with other plugins or just this one?

2. Have you checked your debug.log for errors ?

3. What kind of hosting do you use ? PHP version ? Mysql version?


muratbora

  • Full Member
  • ***
  • Posts: 139
Re: [Free Plugin] Anti Spam & Protection System
« Reply #969 on: February 11, 2018, 07:58:16 pm »
1 ) Only this plugin I face problem
2 ) linux SHARED hosting, PHP Version, 5.3.29, MySQL Version, 5.6.33
3 ) I dont see a ERROR LOG file under FTP files

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 5803
  • Hardliner
Re: [Free Plugin] Anti Spam & Protection System
« Reply #970 on: February 11, 2018, 08:04:09 pm »
1 ) Only this plugin I face problem
2 ) linux SHARED hosting, PHP Version, 5.3.29, MySQL Version, 5.6.33
3 ) I dont see a ERROR LOG file under FTP files

Ok, PHP 5.3 is very old and discontinued. COULD be your problem. Switch to 5.6 or later (up to 7.0.x and NOT 7.1)

Also to see debug.log follow this:

https://doc.osclass.org/Debug_PHP_errors


Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 5803
  • Hardliner
Re: [Free Plugin] Anti Spam & Protection System
« Reply #971 on: February 13, 2018, 01:01:39 pm »
Is Liath to be declared MIA ?

 ;D ;D ;D ;D

TangoX

  • Jr. Member
  • **
  • Posts: 62
Re: [Free Plugin] Anti Spam & Protection System
« Reply #972 on: February 14, 2018, 10:55:36 pm »
Is Liath to be declared MIA ?

 ;D ;D ;D ;D
Too bad he didn't get to finish v1.7.4 Final...  :'(

Resta

  • Full Member
  • ***
  • Posts: 172
Re: [Free Plugin] Anti Spam & Protection System
« Reply #973 on: February 20, 2018, 08:05:55 am »
Hello,

Thanks to Liath and everyone. I haven't used this plugin as I don't have a published website yet, but the plugin looks very good and I think Liath has put in a lot of work.

If I may make a suggestion - I just made a post regarding the contact form spam (and from my experience with other websites, this is a huge problem from common scammers and Nigerian princes). So, if it is possible please consider adding limits to the amount of emails an user can send via contact form per hour/day/month etc., I posted more regarding this at the other topic - https://forums.osclass.org/plugins/no-more-inquiry-spam/

TIA!

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 5803
  • Hardliner
Re: [Free Plugin] Anti Spam & Protection System
« Reply #974 on: February 20, 2018, 08:36:09 am »
@Resta i don't think a plugin can do what you ask, still not 100% sure.

What could be done with this plugin is for contact emails to be filtered, using the stop-words.