Foros de discusión

NoSuch User exception

thumbnail
Harshal Shah, modificado hace 13 años.

NoSuch User exception

Junior Member Mensajes: 49 Fecha de incorporación: 25/05/10 Mensajes recientes
Hi all,

Again a trival issue. I uploaded the document using document portlet.

When I access the document via localhost I am able to do so but when I access the same document from my website I get No user exception

Current URL PortalImpl/documents/-/document_library/view/0/156?_20_redirect=http%3A%2F%2Fwww.kanoka.info%2Fdocuments%3Fp_p_id%3D20%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D1
01:02:09,761 INFO [PortalImpl:3749] Current URL /documents/-/document_library/view/0/156?_20_redirect=http%3A%2F%2Fwww.kanoka.info%2Fdocuments%3Fp_p_id%3D20%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D1 generates exception: No User exists with the key {companyId=10130, screenName=-}
01:02:09,762 INFO [PortalImpl:3760] com.liferay.portal.NoSuchUserException: No User exists with the key {companyId=10130, screenName=-}

Any one has any idea what I am doing wrong..

www.kanoka.info/documents.

One difference I see is

when I access documents from localhost it goes http://localhost/web/guest/documents
but when I access from outside it goes http://www.kanoka.info/documents
thumbnail
Harshal Shah, modificado hace 13 años.

Partially Solved: NoSuch User exception

Junior Member Mensajes: 49 Fecha de incorporación: 25/05/10 Mensajes recientes
In Manage Pages -> Settings->Virtual Host
I put in www.kanoka.info/web/guest

Now when I access documents I am getting url www.kanoka.info/web/guest/documents

But the problem is when I access www.kanoka.info/documents it takes me to file structure.

also I dont want that any help would be great.