[EMAIL PROTECTED] wrote at 2005-12-7 20:14 +0100:
>I have a problem. I erase object acl_users in root directory and now I can´t 
>login in zope. Zope have site error on http://locahost:8080/
>
>An error was encountered while publishing this resource. 
>
>Error Type: AttributeError
>Error Value: acl_users
>
>it´s possible create object acl_users?

Access your Zope via an interactive interpreter (it must not be running
as a server or you need ZEO).
Under *nix, you use "bin/zopectl debug" for this.
If necessary, search the archive for a batch script that does this under
Windows.

In the interpreter call:

   app.manage_addUserFolder()
   app.acl_users._doAddUser('yourManager', 'hisPassword', ['Manager'],())
   get_transaction().commit()

Exit the interpreter.

You have again a UserFolder with
Manager 'yourManager' and password 'hisPassword'.

-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to