掲示板

Message board won't work

11年前 に Yannick Weinz によって更新されました。

Message board won't work

Junior Member 投稿: 69 参加年月日: 10/11/15 最新の投稿
Hi,

we're using Liferay 6.0.5 and we're currently trying to get the Message Board to work.

We can add the Portlet to a page, but unfortunately, we can't use it. Pressing on "Add Categorie" sends us to the "/null" page with an error. Same thing happens with "Post new Thread" and "Permissions".

The Message Board seems to work with a default Liferay 6.0.5 installation, but as soon as you add anything to that (for example a portlet project or a theme) the Message board shows the above mentioned behaviour, so we currently can't use it.

We don't even get any real exceptions. All that stands in the catalina.out is:
"12:50:04,364 INFO [PortalImpl:3812] Current URL /null generates exception: null"

But thats clear, all the buttons redirect to the "/null" page, that doesn't exist... but why the buttons redirect there, i have no clue at all...


Can anyone help? Is there some additional configuration to make?

Sincerely,

Yannick
11年前 に Yannick Weinz によって更新されました。

RE: Message board won't work

Junior Member 投稿: 69 参加年月日: 10/11/15 最新の投稿
Can nobady help me with that problem?
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Message board won't work

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
If liferay is working without any problem out of the box, the problem is with the plugins you're adding. Don't use them and your problem is solved.
thumbnail
11年前 に Paul Robinson によって更新されました。

RE: Message board won't work

Junior Member 投稿: 46 参加年月日: 08/12/30 最新の投稿
Hi,

When I see these /null messages and when they are generated in the URL, it normally has to do with the virtualhost settings or host name configuration for the portal.

Have you set up a virtualhost for the community that you're working in?

Thanks,
Paul
11年前 に Yannick Weinz によって更新されました。

RE: Message board won't work

Junior Member 投稿: 69 参加年月日: 10/11/15 最新の投稿
Thanks for the advice.

I somehow solved the Problem, though i don't know why it solves the Problem ^^

Added the following to the portal-ext.properties:
##
## Redirect
##

#
# Set this property to "ip" or "domain" for the redirect security method. If
# set to "domain", the portal will only redirect users to domains listed in
# the property "redirect.url.domain.allowed". If set to "ip", the portal
# will only redirect to domains whose IP address resolve to an IP address
# listed in the property "redirect.url.ip.allowed".
#
redirect.url.security.mode=domain
#redirect.url.security.mode=ip

#
# Input a list of comma delimited domains which the portal is allowed to
# redirect to. Input a blank list to allow any domain.
#
redirect.url.domains.allowed=

#
# Input a list of comma delimited IPs which the portal is allowed to
# redirect to. Input a blank list to allow any IP. SERVER_IP will be
# replaced with the IP of the host server.
#
redirect.url.ips.allowed=127.0.0.1,SERVER_IP


After restarting the Server the Forum now worked suddenly...
11年前 に 李 婷 によって更新されました。

RE: Message board won't work

New Member 投稿: 5 参加年月日: 12/07/02 最新の投稿
I met the same question. When i click the "add Categories" and " Post New" , there is no any response from the server.
The reason i thought could be the button can not redirect to the correct URL, but i don't know how to fix it.
At my local computer,all these issues are not exist, i wonder why.

Wait for anwsers.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Message board won't work

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
The Message Board seems to work with a default Liferay 6.0.5 installation,


So, the default liferay installation actually wasn't working. Anyways, nice to hear that you got it working now.
11年前 に Yannick Weinz によって更新されました。

RE: Message board won't work

Junior Member 投稿: 69 参加年月日: 10/11/15 最新の投稿
The funny thing is, that it DID work with a vanilla Liferay 6.0.5 version.
But as soon as I added some own portlets and Themes, the error appeared. And when I added the afore mentioned lines to the portal-ext.properties, the message board worked again...

Though i have no idea why ^^
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Message board won't work

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
On MS Windows platform, liferay works without these settings. On linux, these settings are required because of tighter security.
7年前 に Jack Thinkin によって更新されました。

RE: Message board won't work

Junior Member 投稿: 45 参加年月日: 16/05/09 最新の投稿
if it is no configured in portal-ext.properties than Buttons add thread and add category are empty -don't executed any actions -message board in Liferay 7 (in Linux) doesn't work.
is there any additional info why it is so? what does variable SERVER_IP mean?