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??
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Failure when moving pn_users data to Zikula
-
- Rank: Registered User
- Registered: Dec 31, 1969
- Last visit: Nov 02, 2009
- Posts: 47
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
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 -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
- Rank: Registered User
- Registered: Dec 31, 1969
- Last visit: Nov 02, 2009
- Posts: 47
- Moderated by:
- Support
