You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Jonathan Linczak <li...@hiram.edu> on 2004/06/29 17:30:55 UTC
HELP! Cannot add any assets in Lenya
Hi all,
I'm demoing Lenya to our core set of users, and while testing out
everything I wanted to show them, I'm finding that I cannot add any
assets to Lenya. It appears to add, but it never gets listed in the
Asset Library. Does anyone know some possible areas to check why this
would not be working?
Jon
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by Rolf Kulemann <ro...@apache.org>.
On Tue, 2004-06-29 at 21:34, Peter Shipley wrote:
> Rolf Kulemann wrote:
> > It works for me on the demo machine, which runs 1.2.
> > Can u please check that?
> >
> > For example here
> > http://olr.kbs.uni-hannover.de:8080/lenya/default/authoring/tutorial/test.html
> >
>
>
> FWIW, I click the link, edit the page in BXE and am presented with the
> biggest red error screen (with layered error popup).
Non conatiner elements like a,img need to be nested in container element
like p or div, iirc. The error only says, hey u directly tried to insert
non container elements in html element where only conatiners are allowed
as specified by the underlying relanxNG.
--
Rolf Kulemann
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by Peter Shipley <ps...@nomensa.com>.
Rolf Kulemann wrote:
> It works for me on the demo machine, which runs 1.2.
> Can u please check that?
>
> For example here
> http://olr.kbs.uni-hannover.de:8080/lenya/default/authoring/tutorial/test.html
>
FWIW, I click the link, edit the page in BXE and am presented with the
biggest red error screen (with layered error popup).
<error>
Validation Alert
meta(http://www.w3.org/1999/xhtml) is not allowed as child of
html(http://www.w3.org/1999/xhtml)
head(http://www.w3.org/1999/xhtml) is not allowed as child of
html(http://www.w3.org/1999/xhtml)
body(http://www.w3.org/1999/xhtml) is not allowed as child of
html(http://www.w3.org/1999/xhtml)
</error>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by Jonathan Linczak <li...@hiram.edu>.
On Jun 29, 2004, at 12:36 PM, Rolf Kulemann wrote:
> It works for me on the demo machine, which runs 1.2.
> Can u please check that?
Thanks all for your help. Unfortunately, I wasn't able to get it
working on the soon-to-be production environment, but I have it working
on a test environment for now. I think I just really need someone to
help me out one on one with some of these issues... I'll keep plugging
away to see what the issue is.
Jon
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by Rolf Kulemann <ro...@apache.org>.
It works for me on the demo machine, which runs 1.2.
Can u please check that?
For example here
http://olr.kbs.uni-hannover.de:8080/lenya/default/authoring/tutorial/test.html
On Tue, 2004-06-29 at 18:02, Jonathan Linczak wrote:
> On Jun 29, 2004, at 11:38 AM, Wolfgang Kaltz wrote:
>
> > Jonathan Linczak <linczakjw <at> hiram.edu> writes:
> >
> >> I'm demoing Lenya to our core set of users, and while testing out
> >> everything I wanted to show them, I'm finding that I cannot add any
> >> assets to Lenya. It appears to add, but it never gets listed in the
> >> Asset Library. Does anyone know some possible areas to check why this
> >> would not be working?
> >
> > First of all, your Lenya installation may have been built with upload
> > disabled -
> > did you build it from source ? In that case, you need to set
> > enable.uploads = true
> > in your build.properties
> >
> > Second, if your installation does have uploads enabled, there are
> > certain types
> > of file types that you may upload. Unfortunately, there is (was?) a bug
> > allowing you to upload .png, but they don't show up in the asset
> > library.
> > Try to upload a jpg, for example.
>
> I have enable.uploads=true in the document
> $LENYA_HOME/build.properties. I also added it to
> local.build.properties in $COCOON_HOME, recompiled Cocoon:
>
> ./build.sh clean
> ./build.sh -Dinclude.webapp.libs=yes webapp
>
> Reinstalled Lenya:
>
> ant clean
> ant install
>
> And then went to the website, tried to add an asset in both the
> interface offered through BXE and through the Site tab, and every time,
> it takes the photo and submits the form, but no assets are listed
> anywhere, or on the server. Are there other places to check? Should
> permissions on directories be set to 755 for uploading?
>
> > Generally speaking, if something goes wrong, look for errors in
> > the WEB-INF/logs subdirectory of your application.
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
--
Rolf Kulemann
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by Jonathan Linczak <li...@hiram.edu>.
On Jun 29, 2004, at 11:38 AM, Wolfgang Kaltz wrote:
> Jonathan Linczak <linczakjw <at> hiram.edu> writes:
>
>> I'm demoing Lenya to our core set of users, and while testing out
>> everything I wanted to show them, I'm finding that I cannot add any
>> assets to Lenya. It appears to add, but it never gets listed in the
>> Asset Library. Does anyone know some possible areas to check why this
>> would not be working?
>
> First of all, your Lenya installation may have been built with upload
> disabled -
> did you build it from source ? In that case, you need to set
> enable.uploads = true
> in your build.properties
>
> Second, if your installation does have uploads enabled, there are
> certain types
> of file types that you may upload. Unfortunately, there is (was?) a bug
> allowing you to upload .png, but they don't show up in the asset
> library.
> Try to upload a jpg, for example.
I have enable.uploads=true in the document
$LENYA_HOME/build.properties. I also added it to
local.build.properties in $COCOON_HOME, recompiled Cocoon:
./build.sh clean
./build.sh -Dinclude.webapp.libs=yes webapp
Reinstalled Lenya:
ant clean
ant install
And then went to the website, tried to add an asset in both the
interface offered through BXE and through the Site tab, and every time,
it takes the photo and submits the form, but no assets are listed
anywhere, or on the server. Are there other places to check? Should
permissions on directories be set to 755 for uploading?
> Generally speaking, if something goes wrong, look for errors in
> the WEB-INF/logs subdirectory of your application.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by Wolfgang Kaltz <jw...@yahoo.com>.
Jonathan Linczak <linczakjw <at> hiram.edu> writes:
> I'm demoing Lenya to our core set of users, and while testing out
> everything I wanted to show them, I'm finding that I cannot add any
> assets to Lenya. It appears to add, but it never gets listed in the
> Asset Library. Does anyone know some possible areas to check why this
> would not be working?
First of all, your Lenya installation may have been built with upload disabled -
did you build it from source ? In that case, you need to set
enable.uploads = true
in your build.properties
Second, if your installation does have uploads enabled, there are certain types
of file types that you may upload. Unfortunately, there is (was?) a bug
allowing you to upload .png, but they don't show up in the asset library.
Try to upload a jpg, for example.
Generally speaking, if something goes wrong, look for errors in
the WEB-INF/logs subdirectory of your application.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by Jonathan Linczak <li...@hiram.edu>.
Sorry, just changed it, but it's still not happening. I did an "ant
install" after I changed in $LENYA_HOME, but I still cannot add assets.
I see a build.properties in $COCOON_HOME that is disabled. Should
both be enabled?
Jon
On Jun 29, 2004, at 11:33 AM, Gregor J. Rothfuss wrote:
> Jonathan Linczak wrote:
>
>> Hi all,
>> I'm demoing Lenya to our core set of users, and while testing out
>> everything I wanted to show them, I'm finding that I cannot add any
>> assets to Lenya. It appears to add, but it never gets listed in the
>> Asset Library. Does anyone know some possible areas to check why
>> this would not be working?
>
> did you enable upload in your build.properties ?
>
> --
> Gregor J. Rothfuss
> Wyona Inc. - Open Source Content Management - Apache Lenya
> http://wyona.com http://cocoon.apache.org/lenya
> gregor.rothfuss@wyona.com gregor@apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: HELP! Cannot add any assets in Lenya
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Jonathan Linczak wrote:
> Hi all,
>
> I'm demoing Lenya to our core set of users, and while testing out
> everything I wanted to show them, I'm finding that I cannot add any
> assets to Lenya. It appears to add, but it never gets listed in the
> Asset Library. Does anyone know some possible areas to check why this
> would not be working?
did you enable upload in your build.properties ?
--
Gregor J. Rothfuss
Wyona Inc. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org