留言板
Liferay 7 buttons are not working
Hi,
In my liferay 7 application, I added Message boards portlet in one of the page. The buttons ( for eg. Post New Thread) in portlet are not working. Whenever I click on that button, it is not redirecting and also there is no error in browser console. I can't figure out the problem. Please help me out.
In my liferay 7 application, I added Message boards portlet in one of the page. The buttons ( for eg. Post New Thread) in portlet are not working. Whenever I click on that button, it is not redirecting and also there is no error in browser console. I can't figure out the problem. Please help me out.
Juan Gonzalez,修改在7 年前。
RE: Liferay 7 buttons are not working
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子Syed Nasar:
Hi,
In my liferay 7 application, I added Message boards portlet in one of the page. The buttons ( for eg. Post New Thread) in portlet are not working. Whenever I click on that button, it is not redirecting and also there is no error in browser console. I can't figure out the problem. Please help me out.
One of the most common issues when accesing Liferay on a server. Please read here: https://web.liferay.com/community/forums/-/message_boards/message/17438884.
Thirumal Reddy,修改在7 年前。
RE: Liferay 7 buttons are not working
Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi Juan,
I am also facing problem with cancel button in form-navigator(ex:org/managesite--> cancel).
this is getting in UAT but in my local machine working fine.
so can i add
direct.url.ips.allowed=server ip address,127.0.0.1,SERVER_IP
propertie in my portal-ext.prop's file.
Thanks,
Thirumal
I am also facing problem with cancel button in form-navigator(ex:org/managesite--> cancel).
this is getting in UAT but in my local machine working fine.
so can i add
direct.url.ips.allowed=server ip address,127.0.0.1,SERVER_IP
propertie in my portal-ext.prop's file.
Thanks,
Thirumal
Thirumal Reddy,修改在7 年前。
RE: Liferay 7 buttons are not working
Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi Juan,
I tried with, adding below property in portal-ext.prop's file
direct.url.ips.allowed=server ip address,127.0.0.1
but it doesn't work.
Thanks,
Thirumal.
I tried with, adding below property in portal-ext.prop's file
direct.url.ips.allowed=server ip address,127.0.0.1
but it doesn't work.
Thanks,
Thirumal.
Juan Gonzalez,修改在7 年前。
RE: Liferay 7 buttons are not working
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子Thirumal Reddy:
Hi Juan,
I tried with, adding below property in portal-ext.prop's file
direct.url.ips.allowed=server ip address,127.0.0.1
but it doesn't work.
Thanks,
Thirumal.
That property you pasted doesn't exist. It should be
redirect.url.ips.allowed
.Additionally, if you are using some frontend webserver (Apache, nginx, etc) you should add those IPs too.
Thirumal Reddy,修改在7 年前。
RE: Liferay 7 buttons are not working
Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi Juan,
I tried with this also
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
but NO RESULT
Thanks,
Thirumal.
I tried with this also
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
but NO RESULT
Thanks,
Thirumal.
Juan Gonzalez,修改在7 年前。
RE: Liferay 7 buttons are not working
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子Thirumal Reddy:
Hi Juan,
I tried with this also
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
but NO RESULT
Thanks,
Thirumal.
Did you check the other option I said? (front webserver like Apache, nginx, etc)
Thirumal Reddy,修改在7 年前。
RE: Liferay 7 buttons are not working
Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi Juan,
Yes. we added.
we are using Apache. so i added apache ip address.
Thanks,
Thirumal.
Yes. we added.
we are using Apache. so i added apache ip address.
Thanks,
Thirumal.
Juan Gonzalez,修改在7 年前。
RE: Liferay 7 buttons are not working
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子Thirumal Reddy:
Hi Juan,
Yes. we added.
we are using Apache. so i added apache ip address.
Thanks,
Thirumal.
And that worked?
Thirumal Reddy,修改在7 年前。
RE: Liferay 7 buttons are not working
Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
No It's not working..
Thirumal Reddy,修改在7 年前。
RE: Liferay 7 buttons are not working
Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi Juan,
after adding our netwrok public ip, it is working .
Thanks..
Thirumal.
after adding our netwrok public ip, it is working .
Thanks..
Thirumal.
Juan Gonzalez,修改在7 年前。
RE: Liferay 7 buttons are not working
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子Thirumal Reddy:
Hi Juan,
after adding our netwrok public ip, it is working .
Thanks..
Thirumal.
Great! You probably should change your IP list if changing anything on the frontend web/proxy servers.
One step for avoiding this would be changing to domain mode:
redirect.url.security.mode=domain
and then adding here valid domains on your site:
redirect.url.domains.allowed=
Glad it worked now for you .
chandrakant Lotke,修改在6 年前。
RE: Liferay 7 buttons are not working
New Member 帖子: 3 加入日期: 17-11-7 最近的帖子
Hello,
I am facing same issue. On many pages cancel button is not working.
I did the same configurations but didn't worked.
We have deployed our application on AWS in private subnet. this can be accessible by AWS Load balancer.
172.16.98.72 is the private IP of the server and AWS Load balencer doesn't have any public ip , it has only DNS name (A Record)
The Load balencer is mapped with DNS name.
We are accessing the application via DNS only.
Please see my for configurations,
direct.url.ips.allowed=172.16.98.72,127.0.0.1,SERVER_IP
redirect.url.security.mode=ip
redirect.url.domains.allowed=
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
Any suggestions?
I am facing same issue. On many pages cancel button is not working.
I did the same configurations but didn't worked.
We have deployed our application on AWS in private subnet. this can be accessible by AWS Load balancer.
172.16.98.72 is the private IP of the server and AWS Load balencer doesn't have any public ip , it has only DNS name (A Record)
The Load balencer is mapped with DNS name.
We are accessing the application via DNS only.
Please see my for configurations,
direct.url.ips.allowed=172.16.98.72,127.0.0.1,SERVER_IP
redirect.url.security.mode=ip
redirect.url.domains.allowed=
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
Any suggestions?
Adnan Yaqoob,修改在4 年前。
RE: Liferay 7 buttons are not working
Junior Member 帖子: 36 加入日期: 14-3-24 最近的帖子
@Juan
I'm trying the solution you mentioned but it only works with ip. When I use domain-based configuration it is not working
redirect.url.security.mode=domain
redirect.url.domains.allowed=
but IP based works
redirect.url.security.mode=ip
redirect.url.ips.allowed=40.122.114.47,127.0.0.1,SERVER_IP
The problem is public IP's in cloud environments are not constant unless you go for static IP which we are trying to avoid, any clue why domain is not working?
I'm trying the solution you mentioned but it only works with ip. When I use domain-based configuration it is not working
redirect.url.security.mode=domain
redirect.url.domains.allowed=
but IP based works
redirect.url.security.mode=ip
redirect.url.ips.allowed=40.122.114.47,127.0.0.1,SERVER_IP
The problem is public IP's in cloud environments are not constant unless you go for static IP which we are trying to avoid, any clue why domain is not working?