Forum OpenACS Development: Re: unable to access

Collapse
4: Re: unable to access (response to 1)
Posted by Dave Bauer on
You always have the option to use psql to edit the parameters directly in the database, then restart AOLserver. Much less drastic than reinstalling.
Collapse
5: Re: unable to access (response to 4)
Posted by Iuri Sampaio on
Thanks dave,

I found my way out debugging the API related.

file /packages/acs-subsite/tcl/subsite-navigation-procs.tcl
line 79. there was an assignment:

array set section_a $section_spec

i just put an if statement and the TCL command lrange does the magic

if { [llength $section_spec] eq 3 } {
set section_spec [lrange $section_spec 0 end-1]
}

Then i got back access to the pages. Change the mistyped space. and then of course removed the paliative code.

To use psql i should know very good openacs core datamodel. otherwise i would be lost looking for where that parameter is storaged. One day i will know it, from the top of my head!!

thanks