Cache stored in wrong location 2.1.10

2006-12-25 Thread Dan Hertz
I just upgraded to 2.1.10, and I notice that even though I have the cache and work directories set at: init-param param-namecache-directory/param-name param-valueWEB-INF/work/cache-dir/param-value /init-param init-param param-namework-directory/param-name

Re: Cinclude file not found - why?

2006-12-18 Thread Dan Hertz
I just don't understand what the difference is between an iframe calling the URL (or typing it in the browser) -- which returns the expected result, and a cinclude which calls the external file (using http:// and not the cocoon:/ protocol) -- which does not. Big difference between iframe and

Re: Cinclude file not found - why?

2006-12-12 Thread Dan Hertz
this error is most probably caused by Cocoon not getting back to the web server. Thanks Jörg, I tried it on a LINUX server with a cinclude (does NOT work), and an iframe which sources the file (works). Curiously, the cinclude works on a Windows machine (same apache/mod_jk/php config) OK, so

Cinclude file not found - why?

2006-12-03 Thread Dan Hertz
I'm running cocoon with apache/mod_jk for some php stuff. If I type this in my browser: http://mytestweb.com/getname.php?name=john cocoon passes it off to apache (I have a pipeline reader), and returns the following XML: ?xml version=1.0 encoding=ISO-8859-1? resultsmith/result But if I put

Help! Cocoon can't set cache directory

2006-12-02 Thread Dan Hertz
I recently upgraded from 2.1.8 to 2.1.9, and all has been well on my Windows dev box. Today I upgraded our LINUX server files to 2.1.9, and cocoon can't set the cache / work directory at start-up. I get the following error. Thanks for your help! Dan ERROR (2006-12-02) 12:09.07:383

[solved] Help! Cocoon can't set cache directory

2006-12-02 Thread Dan Hertz
I set an absolute server path to the cache-dir and that works. Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SQL Transformer Bug?

2006-11-18 Thread Dan Hertz
I'm hoping someone can help me troubleshoot why I can't insert an xml nodeset into my database using the SQL Transformer. All I end up with is the text() values concatenated together -- no elements or attribute nodes. For example: sql:execute-query xmlns:sql=http://apache.org/cocoon/SQL/2.0;

Re: use-request-parameters with checkboxes

2006-10-03 Thread Dan Hertz
Hi Peter, You can actually parse checkbox values using xslt2/xpath2 (I've only got it to work with get, not post): Based on: http://foo.bar/cgi-bin?field=valuestuff=abcstuff=defstuff=ghimore=bar 1. Add parameter to sitemap: map:parameter name=requestQueryString value={request:queryString}/

Re: Flowscript file permissions on mkdir - pls help!

2006-06-02 Thread Dan Hertz
Thanks for the tip, Bertrand. Unfortunately, the folder created by the flowscript still doesn't get write permissions. Using your chmod g+s, the folder gets 2755 permissions, instead of 2774. Any suggestions? Daniel == On 6/1/06, Dan Hertz wrote: ...but on LINUX, the folder

Re: Flowscript file permissions on mkdir - pls help!

2006-06-02 Thread Dan Hertz
... === On 6/1/06, Dan Hertz wrote: Hi, The following flowscript dynamically makes a directory and uploads a photo to it: ===Extracts=== var uploadWidget = form.lookupWidget(upload); if (uploadWidget.getValue() != null) { // test if user directory exists, if not, create

Dossier permissions pour flowscript mkdir

2006-06-01 Thread Dan Hertz
Bonjour! Le flowscript suivant produit un dossier pour 'uploading' mes photos: ===Extracts=== var uploadWidget = form.lookupWidget(upload); if (uploadWidget.getValue() != null) { // test if user directory exists, if not, create it if (!userDir.exists()) {

Flowscript file permissions on mkdir - pls help!

2006-06-01 Thread Dan Hertz
Hi, The following flowscript dynamically makes a directory and uploads a photo to it: ===Extracts=== var uploadWidget = form.lookupWidget(upload); if (uploadWidget.getValue() != null) { // test if user directory exists, if not, create it if (!userDir.exists()) {