Foren

Message board won't work

Yannick Weinz, geändert vor 11 Jahren.

Message board won't work

Junior Member Beiträge: 69 Beitrittsdatum: 15.11.10 Neueste Beiträge
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
Yannick Weinz, geändert vor 11 Jahren.

RE: Message board won't work

Junior Member Beiträge: 69 Beitrittsdatum: 15.11.10 Neueste Beiträge
Can nobady help me with that problem?
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Message board won't work

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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
Paul Robinson, geändert vor 11 Jahren.

RE: Message board won't work

Junior Member Beiträge: 46 Beitrittsdatum: 30.12.08 Neueste Beiträge
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
Yannick Weinz, geändert vor 11 Jahren.

RE: Message board won't work

Junior Member Beiträge: 69 Beitrittsdatum: 15.11.10 Neueste Beiträge
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...
李 婷, geändert vor 11 Jahren.

RE: Message board won't work

New Member Beiträge: 5 Beitrittsdatum: 02.07.12 Neueste Beiträge
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
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Message board won't work

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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.
Yannick Weinz, geändert vor 11 Jahren.

RE: Message board won't work

Junior Member Beiträge: 69 Beitrittsdatum: 15.11.10 Neueste Beiträge
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
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Message board won't work

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
On MS Windows platform, liferay works without these settings. On linux, these settings are required because of tighter security.
Jack Thinkin, geändert vor 7 Jahren.

RE: Message board won't work

Junior Member Beiträge: 45 Beitrittsdatum: 09.05.16 Neueste Beiträge
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?