掲示板

Liferay 7 buttons are not working

thumbnail
7年前 に Syed Nasar によって更新されました。

Liferay 7 buttons are not working

Junior Member 投稿: 64 参加年月日: 15/09/03 最新の投稿
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.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

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.
7年前 に Thirumal Reddy によって更新されました。

RE: Liferay 7 buttons are not working

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
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
7年前 に Thirumal Reddy によって更新されました。

RE: Liferay 7 buttons are not working

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
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.emoticon

Thanks,
Thirumal.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

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.emoticon

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.
7年前 に Thirumal Reddy によって更新されました。

RE: Liferay 7 buttons are not working

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
Hi Juan,
I tried with this also
redirect.url.ips.allowed=127.0.0.1,SERVER_IP

but NO RESULT

Thanks,
Thirumal.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

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)
7年前 に Thirumal Reddy によって更新されました。

RE: Liferay 7 buttons are not working

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
Hi Juan,
Yes. we added.
we are using Apache. so i added apache ip address.

Thanks,
Thirumal.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

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?
7年前 に Thirumal Reddy によって更新されました。

RE: Liferay 7 buttons are not working

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
No It's not working..
7年前 に Thirumal Reddy によって更新されました。

RE: Liferay 7 buttons are not working

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
Hi Juan,
after adding our netwrok public ip, it is working .emoticon

Thanks..
Thirumal.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

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 .emoticon

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 emoticon.
6年前 に chandrakant Lotke によって更新されました。

RE: Liferay 7 buttons are not working

New Member 投稿: 3 参加年月日: 17/11/07 最新の投稿
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?
thumbnail
5年前 に Adnan Yaqoob によって更新されました。

RE: Liferay 7 buttons are not working

Junior Member 投稿: 36 参加年月日: 14/03/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?