Foros de discusión

Message board won't work

Yannick Weinz, modificado hace 11 años.

Message board won't work

Junior Member Mensajes: 69 Fecha de incorporación: 15/11/10 Mensajes recientes
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, modificado hace 11 años.

RE: Message board won't work

Junior Member Mensajes: 69 Fecha de incorporación: 15/11/10 Mensajes recientes
Can nobady help me with that problem?
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Message board won't work

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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, modificado hace 11 años.

RE: Message board won't work

Junior Member Mensajes: 46 Fecha de incorporación: 30/12/08 Mensajes recientes
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, modificado hace 11 años.

RE: Message board won't work

Junior Member Mensajes: 69 Fecha de incorporación: 15/11/10 Mensajes recientes
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...
李 婷, modificado hace 11 años.

RE: Message board won't work

New Member Mensajes: 5 Fecha de incorporación: 2/07/12 Mensajes recientes
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, modificado hace 11 años.

RE: Message board won't work

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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, modificado hace 11 años.

RE: Message board won't work

Junior Member Mensajes: 69 Fecha de incorporación: 15/11/10 Mensajes recientes
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, modificado hace 11 años.

RE: Message board won't work

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
On MS Windows platform, liferay works without these settings. On linux, these settings are required because of tighter security.
Jack Thinkin, modificado hace 7 años.

RE: Message board won't work

Junior Member Mensajes: 45 Fecha de incorporación: 9/05/16 Mensajes recientes
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?