留言板

Recaptcha Problem?

thumbnail
manasa chandri,修改在12 年前。

Recaptcha Problem?

Regular Member 帖子: 152 加入日期: 10-9-28 最近的帖子
Hi All,

I have created simple log-in plug-in portlet, i have kept captcha to my portlet,
I have configured the below code in my portal-ext.properties file. it is working in localhost
But, it is not working when i opened with my IP.
error: Input error: Invalid referer


My code:
##
# Enable or not reCaptcha
##
#recaptcha.enabled=true

captcha.engine.impl=com.liferay.portal.captcha.recaptcha.ReCaptchaImpl
#captcha.engine.impl=com.liferay.portal.captcha.simplecaptcha.SimpleCaptchaI

captcha.check.portal.create_account=true
captcha.check.portal.send_password=true
captcha.check.portlet.message_boards.edit_category=false
captcha.check.portlet.message_boards.edit_message=false

##
# Urls to access reCaptcha services
##
captcha.engine.recaptcha.url.script=http://api.recaptcha.net/challenge?k=
captcha.engine.recaptcha.url.noscript=http://api.recaptcha.net/noscript?k=
captcha.engine.recaptcha.url.verify=http://api-verify.recaptcha.net/verify

##
#reCaptcha domain specific keys
##
captcha.engine.recaptcha.key.private=6Lfs-MUSAAAAAKXaBglJ76UAnTd3S3PqdveOQsjI
captcha.engine.recaptcha.key.public=6Lfs-MUSAAAAAAdY0BKrSV4FFI-zNylppAdWNjfs




Can anybody know solution for my problem.
Please help me.

Thank you in advance


Thanks & Regards
Manasa.chandri
Tema Business Systems