Forum OpenACS Development: Re: 5.0 upgrade experience

Collapse
Posted by Carl Robert Blesius on

It is hard to visit /acs-lang/admin/load-catalog-files when I can not login.

I already tried what Robert mentioned above (loading /foo.tcl with lang::catalog::import -locales [list "en_US"] in it).

Just to make sure I removed the "-locales [list "en_US"]" part so it more closely resembles /acs-lang/admin/load-catalog-files and tried it again. No luck, same error on registration.

Collapse
Posted by Jeff Davis on
you could do something like this
rename _ original_
proc _ {{key {}}} {
  if {[string is space $key]} { 
     return NULL_KEY
  }
  return [original_ $key]
}
in a file like SERVERROOT/tcl/zz-hack.tcl. That should allow you to at least log in.
Collapse
Posted by Jeff Davis on
actually, I guess you would have to handle the substitution variables as well (I should have looked at the proc before I
wrote that I guess).
Collapse
Posted by Malte Sussdorff on
I know this is a horible security risk, but find out your user_id and login using a page which uses "ad_user_login -forever=0 $user_id" to log you into the system. Maybe this can help your loging in problem.