You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Linc <li...@iprimus.com.au> on 2004/02/16 05:35:13 UTC

Lynotype sample - Permissions?

Hi,

I am trying to get the Lynotype sample working on the server (works fine
locally).
Currently I can't:
1. Edit news items bacause when I save it just goes back to the original
text.
2. On selecting "Write a news" I get the error:
"...  news/6/document.xml doesn't exist. "

I think its a permissions issue so can anyone tell me what permissions I
need so Lynotype can create directories and files. Cocoon is running on a
Lynix server with Tomcat.

TIA

Linc




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Lynotype sample - Permissions?

Posted by Linc <li...@iprimus.com.au>.
I found a similar error in msg05088 - Linotype Problem (Mozilla). Stefano
mentions setting a global variable to fix the problem:
-----
<global-variables>
  <home>/samples/linotype</home>
</global-variables>

and later on the following usage:

<map:parameter name="home" value="{request:contextPath}{global:home}"/>

This fix makes it at least independent on the servlet container (config).

Stefano?
-----

Does anyone know where to makethese changes. Which files? where abouts in
those files?



Linc



> Hi,
>
> I am trying to get the Lynotype sample working on the server (works fine
> locally).
> Currently I can't:
> 1. Edit news items bacause when I save it just goes back to the original
> text.
> 2. On selecting "Write a news" I get the error:
> "...  news/6/document.xml doesn't exist. "
>
> I think its a permissions issue so can anyone tell me what permissions I
> need so Lynotype can create directories and files. Cocoon is running on a
> Lynix server with Tomcat.
>
> TIA
>
> Linc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Lynotype sample - Permissions?

Posted by Ugo Cei <u....@cbim.it>.
Linc wrote:
> Hi,
> 
> I am trying to get the Lynotype sample working on the server (works fine
> locally).
> Currently I can't:
> 1. Edit news items bacause when I save it just goes back to the original
> text.
> 2. On selecting "Write a news" I get the error:
> "...  news/6/document.xml doesn't exist. "
> 
> I think its a permissions issue so can anyone tell me what permissions I
> need so Lynotype can create directories and files. Cocoon is running on a
> Lynix server with Tomcat.

Did you enable uploads in web.xml?

	Ugo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org