[Problem] New Trackbackspam Plugin

Found a bug? Tell us!!
Post Reply
Shakadi
Regular
Posts: 7
Joined: Mon Feb 21, 2005 4:22 pm
Contact:

[Problem] New Trackbackspam Plugin

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [Problem] New Trackbackspam Plugin

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Shakadi
Regular
Posts: 7
Joined: Mon Feb 21, 2005 4:22 pm
Contact:

Post by Shakadi »

ok i now give them a try.

thx a lot

regards matthias
wavking
Posts: 3
Joined: Tue Feb 15, 2005 2:03 am

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wavking
Posts: 3
Joined: Tue Feb 15, 2005 2:03 am

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply