Jump to:

10845 Posts in 2513 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Unable to call Mollom::getServerList()

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1696 Views
  • lancer
    Avatar
    57 Posts

    Unable to call Mollom::getServerList() Link to this post

    My website got hit today. 1000 spam messages were left in the blog. Obviously the spam protection measures of SS 2.3.0- are not sufficient anymore.

    I updated to 2.3.1 an installed mollom and spamprotection. However, when I load a blog page I get:
    [Warning] call_user_func_array() [function.call-user-func-array]: Unable to call Mollom::getServerList()

    The error comes from doCall in MollomServer.php.

    I verified that Mollom::getServerList(); has no problems when called directly from MollomServer.php. What is going on?

    The system is RHEL5.3 without SELinux running PHP 5.1.6 (RedHat stock PHP)

  • lancer
    Avatar
    57 Posts

    Re: Unable to call Mollom::getServerList() Link to this post

    Nobody with a smart idea?

    I checked a few things; bugzilla shows no PHP bugs for RHEL 5.3. I tried modifying Mollom::getServerList to always return a certain value to exclude problems with the return status, but that didn't help either.

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: Unable to call Mollom::getServerList() Link to this post

    see http://open.silverstripe.org/ticket/3770 - as a temporary fix you change "call_user_func_array( 'Mollom::' . $name, $params)" to "call_user_func_array(array('Mollom', $name), $params)" in line ~87 of MollomServer.php

  • lancer
    Avatar
    57 Posts

    Re: Unable to call Mollom::getServerList() Link to this post

    Thanks (and I feel stupid for checking bugzilla and not checking trac)

    1696 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.