[Zope] Mistery login problem

Jarbac Betrakeb highlifeinparis at hotmail.com
Fri Dec 12 18:55:46 EST 2003


Hi everyone,

this is my first time on the list and i'm quite a newbie
on zope, but i have a task of moving a plone site from one
server to an other. this is done after an attack on the main
server.

i install zope
i install CFM
i install plone

run zope and everything works great!
i can create plone sites and manage them (enter to the ZMI
at the root of my site)

i install the extra products and put the database in.

now, i can see my sites and all their content :)

but if i enter http://mydomain/MySite/manage i get the sites
login screen.

because of the nature of the attack on the server, i had
to remove all the user accounts, and just leave one user, me.

in the database there are 2 plone sites, but i need to add a
site root too both of them for the images to work with the
apache rewrite rules

how do i get access to the sites?
i have manage and owner roles in the root zope site!

the properties are all set right (i think) in the security
section at the root of zope.

and an other very weird thing is that i get a strange error
when i try to make a new superuser!

--
[root at mypc Zope-2.6.2-linux2-x86]# python zpasswd.py -u admin -p test 
inituser
Traceback (innermost last):
  File "zpasswd.py", line 200, in ?
    if __name__=='__main__': main(sys.argv)
  File "zpasswd.py", line 152, in main
    access_file.write(username + ':' +
  File "zpasswd.py", line 33, in generate_passwd
    encoding=encoding.upper()
AttributeError: 'string' object has no attribute 'upper'
--

and i get the same thing with

--
python zpasswd.py -u admin -p test access
--

i am just totaly stumpt by this, and would really appreciate
any hinters

thanks for your time and have a nice day

Tim Fletcher

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail




More information about the Zope mailing list