Forum OpenACS Development: CSS broken

Collapse
Posted by Iuri Sampaio on
Hi all,

acs-templating on my box seems to be broken after i ran a fresh installation of openacs HEAD i got the followed error at error.log

well actaully it is not an error, but a warning. However i have no idea what is causing that neither how to fix, because there's no references to track and debug.

does anyone already see this situation?

best,

[06/Mar/2009:14:06:04][25456.3033680816][-conn:openacs::0] Notice: random: generating 1 seed
[06/Mar/2009:14:06:04][25456.3033680816][-conn:openacs::0] Warning: /acs-admin/ has no doc(title) set.
[

Collapse
2: Re: CSS broken (response to 1)
Posted by Iuri Sampaio on
Furthermore,

it is not only /acs-admin.

I got warnings whatever place i browse on the website

[06/Mar/2009:14:13:45][25456.3032628144][-conn:openacs::1] Warning: / has no doc(title) set.

Collapse
3: Re: CSS broken (response to 1)
Posted by Dave Bauer on
The name of the properties have changed.

Where you see
<property name="title"
should be
<property name="doc(title)"

I am not sure why you are referring to CSS or that anything is broken. It's a warning for old pages that don't conform to the standards.

I don't believe any core packages use the old properties on HEAD, are you sure you have a clean checkout from OpenACS CVS?

Collapse
4: Re: CSS broken (response to 3)
Posted by Iuri Sampaio on
where do i see what?
should be what?
Collapse
5: Re: CSS broken (response to 4)
Posted by Iuri Sampaio on
yes i am sure is from HEAD i just downloaded again to confirm that.
Collapse
6: Re: CSS broken (response to 5)
Posted by Iuri Sampaio on
Problem solved!

It was a multiple definition of template.
Thanks dave

[06/Mar/2009:15:16:20][25773.3034479536][-conn:openacs::1] Notice: Loading packages/intranet-core/tcl/intranet-design-procs.tcl...
[06/Mar/2009:15:16:20][25773.3034479536][-conn:openacs::1] Warning: Multiple definition of template::head::add_css in /web/openacs/packages/acs-templating/tcl/head-procs.tcl and /web/openacs/packages/intranet-core/tcl/intranet-design-procs.tcl
[06/Mar/2009:15:16:20][25773.3034479536][-conn:openacs::1] Warning: Multiple definition of template::head::add_javascript in /web/openacs/packages/acs-templating/tcl/head-procs.tcl and /web/openacs/packages/intranet-core/tcl/intranet-design-procs.tcl
[06/Mar/2009:15:16:20][25773.3034479536][-conn:openacs::1] Notice: Loaded packages/intranet-core/tcl/intranet-design-procs.tcl.