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
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
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
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
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
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]
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;
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}/
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
...
===
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
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()) {
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()) {
12 matches
Mail list logo