Fork me on GitHub

Failure when moving pn_users data to Zikula  Bottom

  • First of all, I made a fresh new install of Zikula on my developer server.

    When moving (removed non used rows and added new rows) table pn_user from 764 table to zk_user Zikula 1.0 table, users cannot log in.
    I noticed in the table zk_user that the passwordstring (pn_pass) is now longer than it was in 764, when comparing with the admin password that I entered in the setup.
    I have the same password in 764 as in Zikula 1.0.
    Is the passwordfunction altered from 764? And is this an issue when upgrading manualy??
  • I think you should run the upgrade procedure for a correct conversion of the users table. You could also do an upgrade and after that only use the users table in a fresh zikula install.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • The users table is radically different between .7x and .8x so you cannot simply move data around like that. The password field in .8x is capable of holding three types of password hash md5 (the .7x method), sha1 and sha256 (the .8x default). This password hash type is determined by hash_method field (1 = md5, 5 = sha1, 8 = sha256).

    Additional many .7x user table fields are moved into dynamic user data properties for the user in .8x.

    In short you can't move a users table directly from .7x to .8x and expect it to work.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Thanks for the anser.
    Have to do that then.
    Thanks

This list is based on users active over the last 60 minutes.