Laliwala IT Services

Laliwala IT Services
Website Development

Liferay Question Answer 2


Jaber C. Mourad : The link back goes to null page !
Hi,
I have a trouble with a fresh install of lf 6.0.2.
Every link "back to..." are going to null page !!
In catalina.out I've got that exception :







Alfredo Larotonda : RE: The link back goes to null page !

Hi,

I have a trouble with a fresh install of lf 6.0.2.

Every link "back to..." are going to null page !!

Is there any possibility to change that behavior ?

Regards


Jaber C. Mourad : Hi,

I'm using mysql under linux (ubuntu server 10.04).

It is happening for many components (control panel, document repository...), that's why I'm suspecting configuration problem...



Regards


Alfredo Larotonda :
Jaber C. Mourad:
Hi,

I'm using mysql under linux (ubuntu server 10.04).

It is happening for many components (control panel, document repository...), that's why I'm suspecting configuration problem...

Regards
I have the same issue with MS SQL Server 2005 so It doesn't depend on the execution environment.
Maybe some configuration?
I hope someone will help us !!

Alfredo


Shagul Khajamohideen : What is your setup like? Are you running Apache/Web Server in a separate machine?

Mazhar Anwar : Dear Shagul,

Back Url issue is there for local instance also.

Simple way to reproduce it is remove VIEW Permission of one folder for Guest Users in Document Library Portlet.

Now try to access that folder without login. You will get Error page showing message that "You do not have the required permissions."

Now check the << Back URL on Right Tab.
It seems some OOB Issue.


Alfredo Larotonda :
Shagul Khajamohideen:
What is your setup like? Are you running Apache/Web Server in a separate machine?
Yes, in my configuration I have an Apache Http Server in a separate machine that is connected via ajp with the Tomcat.
But we used this kind of configuration with other releases of Liferay without any problem.

Alfredo

Shagul Khajamohideen :
Shagul Khajamohideen:
Try updating the below property in portal-ext.properties with the IP address of Apache also and see if that helps.


Thanks a lot for the answer !! Is this a valid parameter for Liferay 6.0.2. ?

Alfredo


Alfredo Larotonda : Shagul Khajamohideen:

Try updating the below property in portal-ext.properties with the IP address of Apache also and see if that helps.



Thanks a lot for the answer !! Is this a valid parameter for Liferay 6.0.2. ?

?Alfredo


Alfredo Larotonda : Yes it's a valid parameter, I found it on Liferay 6.0.2 portal properties.
Ok I'm going to try if it works !!

Alfredo


Alfredo Larotonda : Finally I fixed it !!!

The answer is explained here:
http://www.liferay.com/community/forums/-/message_boards/message/4951822

In my configuration the issue was resolved with this two parameters in the portal-ext.properties:

redirect.url.security.mode=domain
redirect.url.domains.allowed=

I hope this will be helpful for someone!!

Wow I'm happier than the day Italy won the FIFA world cup !!!
This was a very big big problem for me, a week before going to production !!!

Thanks a lot !!!!
Alfredo