spam block problem...

Found a bug? Tell us!!
Post Reply
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

spam block problem...

Post by oxygenws »

i used spamblock in my weblog, but sometime it NEVER accept any comment....

i log all event in the DB and it said:
"Invalid captcha (Entered: AMV, Expected: )"

i checked the session, it is ok and contains:
"{some characters};spamblock|a:1:{s:7:"captcha";s:3:"AMV";}"

the cookie in my browser stored fine (checked it)

i didn't find the reason yet!

note: i used the last version.

regards.
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: spam block problem...

Post by garvinhicking »

Can you reproduce that somehow? It might be a difference in the used URL? (maybe www.yourhost.com vs. yourhost.com and then the session cookie differs)

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/
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

reproduced, nothing chaged.

at lines around 560, i added:

if ($show_captcha && $addData['type'] == 'NORMAL') {
@session_start();
var_dump($_SESSION['spamblock']);

if (!isset($_SESSION['spamblock']['captcha']) || !isset($sere.....

and it returns NULL!
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Did you check the URL thing I mentioned? Do you make sure you access the same URL?

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/
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

yes, it answers without www! but with www it cannot!
any solution?!
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Yes, you must use ONE hostname to access your blog. The one you configured, to be exact.

Or enable the "Autodetect HTTP host" setting in your s9y config.

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