Welcome to Geeklog Saturday, March 28 2020 @ 05:55 pm EDT

Geeklog Forums

1.3.11 Spamx problems


Dr. Confusion

Anonymous
Hey Y'all,

So, I've upgraded to GL 1.3.11 but my spamx install is giving me grief. I can edit my personal list, and import the original MT ban list. But It doesn't stop spam and when I try and mass delete I get this error:

Warning: Invalid argument supplied for foreach() in *SNIP*/geeklog/plugins/spamx/MassDelete.Admin.class.php on line 42

and When I try and to configure the module usage I get:
Fatal error: Call to undefined function: spamx_applyfilter() in *SNIP*/geeklog/plugins/spamx/Config.Admin.class.php on line 30

I've re-installed this plug in and re copied over the config.admin.class file, but I can't seem to get anywhere. Thanks in advance for all your help.

-Dr. Confusion
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 12/08/02
Posts: 300
You must have had the old spamx plugin installed before the upgrade. The easiest thing to do is uninstall spamx. Delete all the old spamx files. Recopy all the new files and reinstall. It will work then.
 Quote

Dr. Confusion

Anonymous
Thanks for the quick reply!

I did have the old copy of spamx on my 1.3.9 site. I do have a question: You said:

>Recopy all the new files and reinstall. It will work then.

So I would get the new spamx files from the 1.3.11 installation file of geeklog, NOT from the spamx plugin download found here are geeklog.net?

Would I still have to change my comments.php to rename the function as I did on my previous install?

Thanks very much in advance!
-Dr. Confusion
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog 1.3.11 comes with a new version of the SpamX plugin pre-installed. You don't need to modify any code. Just make sure you've updated all the files.

bye, Dirk
 Quote

Dr. Confusion

Anonymous
Awesome.

Well, I re-copied all the files from a vanilla 1.3.11 geeklog and installed via the plugin admin console. So far no error messages.

But, there was a bit of confusion, just before the install the spamx tells you to review the install docs and provides a link. Step 5 says:

Step 5: Make the files spamx_action.php, spamx_examine.php, blacklist.php and mtblacklist.php in the public_html/spamx directory writable by you webserver. Either chmod 766 or preferably chown the files to the user the webserver runs under eg nobody or apache. If you do not do this you will not be able to use the admin interface.

Those files have been moved or renamed in the 1.3.11 version. You may want to revise that document.

Thanks for all your help!
-Dr. Confusion
 Quote

Status: offline

Merlisk

Forum User
Newbie
Registered: 25/07/03
Posts: 10
I have the same issue. I did a clean install of 1.3.11 and used the installed files. I can download updates to SpamX without issue. I've also re-downloaded 1.3.11 and moved all spamx scripts to the appropriate directory. I did a chown to give it proper ownership.

But, when I go to mass delete, I get:

Warning: Invalid argument supplied for foreach() in /var/www/geeklog/plugins/spamx/MassDelete.Admin.class.php on line 42

I've read the Forums and others have had similar issues. But, since I get the RSS feeds to update my Blacklist, theie feedback didn't seem to apply.

Could be a permissions issue on my server?

Thanks for any help.
Merlisk
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 12/08/02
Posts: 300
I looked into this issue and noticed that the MassDelete module never got updated to the new reality. So I fixed it and submitted it to the geeklog crew for inclusion in the next version. In the meantime you can pick up a copy of the changed file here. Just unarchive it and replace your copy in the spamx directory.

BTW this will work with any version.
 Quote

Status: offline

Merlisk

Forum User
Newbie
Registered: 25/07/03
Posts: 10
Wonderful! It works!

Thank you for your rapid response.
Merlisk
 Quote

Status: offline

k74

Forum User
Full Member
Registered: 19/09/04
Posts: 128
Location:Australia
confused
Can someone help me I get the following error with spamX:

Fatal error: Call to undefined function: spamx_applyfilter() in /opt/geeklog-1.3.11/plugins/spamx/Config.Admin.class.php on line 30

when I try doing the following only:

View/Import Other SpamX Blacklists
Configure SpamX Module Usage

Everything else works with the plugin. I started with GL1.3.11. So I cannot understand why this does not work correctly. Will this be a problem that I have to worry about, or will the plugin work as is even though I can't use these two functions?

I have unistalled the plugin and re-installed it as well, no change. And it doesn't matter what theme I am using either, I get the same error.

Can anybody suggest anything?

Regards

Kev Very Happy
Live everyday as if it was your last!
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 30/05/02
Posts: 138
angelic
Quote by tomw: I looked into this issue and noticed that the MassDelete module never got updated to the new reality. So I fixed it and submitted it to the geeklog crew for inclusion in the next version. In the meantime you can pick up a copy of the changed file here. Just unarchive it and replace your copy in the spamx directory.

BTW this will work with any version.

great ... it worked for me ...

had the
Warning: Invalid argument supplied for foreach() in *SNIP*/geeklog/plugins/spamx/MassDelete.Admin.class.php on line 42
problem ...

tnx ...
 Quote

angelica

Anonymous
thanks!!! Its a deal - shaking hands
 Quote

All times are EDT. The time is now 05:55 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content