Page 1 of 1

[Problem] New Trackbackspam Plugin

Posted: Tue Feb 22, 2005 2:33 pm
by Shakadi
Hy everyone,

I' ve just installed the plugin mentioned here.

Now, my friend has send me an Email concerning the unability to post comments.

If he try to post a comment, he gets this error message.
Fatal error: Call to undefined function: serendipity_serveroffsethour() in /www/htdocs/USERXXXXXX/weblog/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 816
Could anyone be so kind and let me know how to make this stop.

Thx

Matze

Re: [Problem] New Trackbackspam Plugin

Posted: Tue Feb 22, 2005 2:41 pm
by garvinhicking
I'm sorry, it seems that the plugin was not compatible with Serendipity 0.7.

I have just patched the serendipity_event_spamblock.php file. Insert this at the top of the file:

Code: Select all

if (!function_exists('serendipity_serverOffsetHour')) {
    function serendipity_serverOffsetHour() {
        return time();
    }
}
Regards,
Garvin

Posted: Tue Feb 22, 2005 5:02 pm
by Shakadi
ok i now give them a try.

thx a lot

regards matthias

Posted: Sun Mar 13, 2005 12:50 pm
by wavking
I tried this and it did not help. I have the same problem. I am running v.0.7-beta3 on Godaddy servers.

Posted: Sun Mar 13, 2005 2:07 pm
by garvinhicking
wavking, please upgrade to at least Serendipity 0.7.1. 0.7-beta3 has security issues and will not properly support the spamblock plugin.

Regards,
Garvin

Posted: Sun Mar 13, 2005 9:15 pm
by wavking
I have the files ready to uplad but I need to be sure I am not going to write over any of the blog entries. Where are the entries stored? I AM able to access my server via ftp.

When it was created originally, Godaddy did it automatically as a free service.

Posted: Mon Mar 14, 2005 4:09 pm
by garvinhicking
wavking, the entries are stored in your MySQL database/table. So just create a DB backup dump via phpMyAdmin or something similar.

Regards,
Garvin