Not able to enter comments

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Not able to enter comments

Post by plofhead »

Users can't enter comments when they use the 'comments' link under the entry. When entering a comment when the entry is opened after clicking on the entry headline seems to work normally.
I'm using Spam Protector v1.51 with captchas enabled.

The message after entering a comment is:

Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was cought by anti-spam measurements. Click here to return to the comments, and here to close this window.

What am I doing wrong?
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Not able to enter comments

Post by garvinhicking »

Hi!

This might depend on your spamblock plugin settings. Please tell us how you configured the plugin, with which values.

If you enabled logging, you might want to check the serendipity_spamblocklog DB table to see why comments get rejected.

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/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

I use the following settings in Spam Protector:

Emergency comment shutdown - no
Disable spamblock for Authors - administrator
Do not allow duplicate comments - yes
Reject comments which only contain the entry title - yes
IP block interval - 0
Enable Captchas - yes
Force captchas after how many days - 0
Background color of the captcha - 255,255,255
Force comment moderation after how many days - 30
How to treat comments made via APIs - none
Check Trackback URLs - yes
How many links before a comment gets moderated - 2
How many links before a comment gets rejected - 3
Activate wordfilter - moderate
Activate URL filtering by blogg.de Blacklist - none
Akismet API Key -
How to treat Akismet-reported spam - reject
Hide E-Mail addresses of commenting users - yes
Check e-mail addresses? - no
Required comment fields - name, email,comment
Choose logging method - file
Choose logging method - spamblock.log

I find it strange that entering comments works after opening the Entry, but not with the 'comments' link underneath the entry.
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I just added two comments; one from the extended entry form and one from the comment popup form. Both worked!

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/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi,

I just entered a comment at the same entry as you did and it seems to work. Then I tried to comment on another entry but got the same error message as before. When trying to comment on the first one I did not succeed anymore! Did several attempts without succes.
Could it be because the server on which my site is running is very slow sometimes? I also have problems adding new entries, I have to save the entry several times before I get the message that the entry is saved.

I'm busy to get my site on another server...

Bert
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Can you please check the spamblocklog file and see if the comments you tried to make show up there?

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/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi,

There is no spamblock.log file!

Thanks,
Bert
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm, then it might be that the directory you specified is not writable. Try to set the logging to database and use phpMyAdmin to browse the spamblocklog DB table to check that?

Best regard,s
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/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi,

I set the logging to database, and found in the spamblock from MySQL that all attempts were blocked due to wrong inputs of the captchas code:
f.i.
Invalid captcha (Entered: nzd, Expected: CDETW)
Invalid captcha (Entered: BUV, Expected: DKNP)
Invalid captcha (Entered: RZC, Expected: )

I find this very strange because I know for sure that I entered the right codes. The codes entered don't even look like the codes which were expected.

Regards,
Bert
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Could you send me the output of your phpinfo()? Did you make sure that the spamblock plugin is only installed once in your plugin listing?

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/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi,

The spamblock plugin is installed only once!
Where do I find the phpinfo file?

Thanks,
Bert
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I just checked with a seperate thread were someone was having the same "mismatching" captchas. In his setup the reason was that the URL he used to access the blog was different than the one configured. Did you enable "HTTP Host auto-detection" in the s9y configuration? if not, try to enable that.

A phpinfo can be found by storing a "info.php" file into your s9y blog directory with this content:

Code: Select all

<?php phpinfo(); ?>
Then call that in your browser.

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/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi,

I'm sorry, I enabled the HTTP Host auto-detection, but still not able to enter comments.

After calling the info.php I get the following message:

Warning: phpinfo() has been disabled for security reasons in ................./plofhead.nl/html/blog/info.php on line 1

I think my provider set up this security.

The file is executable!

Regards,
Bert
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Oh, that's bad. Then you'll need to ask your provider to give you that phpinfo() output please. I'd need it to see how the PHP cookie/session functionality is set up, and maybe if there is a problem with it.

Did you try to log into your blog WITHOUT the "Remember me" functionality and try to create an entry? If that does not properly work, it's a clear indicator that the PHP session is behaving unproperly.

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/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi,

Do you mean the 'remember me' in the comment entry window? I've never used it!

I will ask my provider to give me the phpinfo() output.
To bee or not to bee, that is the question
Post Reply