Hi,
I am getting more than 25 spam trackbacks every minute and this is causing a huge load on my shared hosting account and sometimes, my admin is suspending the hosting account.
How can i disable trackback
How can I delete all the existing trackbacks from the database?
Also, i can prevent spam trackback.
I am using 0.8.x version of serendipity.
Thank you for any quick help.
Cheers
How to Prevent Spam trackbacks
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How to Prevent Spam trackbacks
Hi!
The only way to get low traffic is to edit your comment.php and insert this:
after the first <?php.
Best regards,
Garvin
The only way to get low traffic is to edit your comment.php and insert this:
Code: Select all
if ($_REQUEST['type'] == 'trackback') die('Disabled');
MySQL: DELETE * FROM serendipity_comments WHERE type = 'TRACKBACK';How can I delete all the existing trackbacks from the database?
Yes, by using the spamblock event plugin. However if you use the PHP code from above, all trackbacks will be disabled.Also, i can prevent spam trackback.
Your serendipity version might contain security issues, please read the 'Security' section on blog.s9y.org to see if you require an upgrade.I am using 0.8.x version of serendipity.
Best 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/
# 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/
Hi,
I tried to runt his query from my phpmyadmin,
Thanks
I tried to runt his query from my phpmyadmin,
But i get teh following error...DELETE * FROM serendipity_comments WHERE type = 'TRACKBACK';
Any help greatly appreciated.#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM serendipity_comments WHERE type = 'TRACKBACK'' at line 1
Thanks
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Oh, sorry. The query would need to read:
Regards,
Garvin
Oh, sorry. The query would need to read:
DELETE FROM serendipity_comments WHERE type = 'TRACKBACK';
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/
# 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/
gravin...
Looks like the new query worked.
But, I got the following warning message in my phpmyadmin when teh query was executed.
Thank you for any help on that warning message.
Cheers
Looks like the new query worked.
But, I got the following warning message in my phpmyadmin when teh query was executed.
I hope this warning is not going to cause any further problems to me.Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_meta_style.inc.php:27) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/common.lib.php on line 1154
Thank you for any help on that warning message.
Cheers
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, might be an issue in the phpMyAdmin code, but shouldn't create any problems for you!
It's only a duplicate message - did you check if the comments table shrunk in size?
Regards,
Garvin
Hm, might be an issue in the phpMyAdmin code, but shouldn't create any problems for you!
It's only a duplicate message - did you check if the comments table shrunk in size?
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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, then this will have worked properly
Regards,
Garvin
Yes, then this will have worked properly
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/
# 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/