Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Problems upgrading from Vanilla 1.1.10 to 2.0.11
SubJunk
✭✭
I've noticed some problems with the upgrading process and I'm not sure if the problems are unique to me or if they are just how it is.
Any comments would be helpful, and I might still have commit access to be able to change it, since I was a Vanilla 1 developer.
Any comments would be helpful, and I might still have commit access to be able to change it, since I was a Vanilla 1 developer.
- Before the database import, users are able to register. After the import, registration is broken.
- Old users can no longer log in
- In the new installation, deleted comments are visible to everyone.
0
Comments
3) Would need to be answered / addressed by @Todd or @Lincoln
Vanilla Forums COO [GitHub, Twitter, About.me]
Thanks for the reply.
You're right about 1 and 2, that fixed it.
An answer on 3 would be great since that is the last think that is preventing me from updating from 1 to 2, I think.
The vanilla2export file is the builder, but you probably just want the Vanilla 1 class.
Send pull requests to the unstable branch (just like Garden).
If it's by design then I think you can remove the DateDeleted column from the Comments table in Vanilla 2 since it seems redundant.
Let me know if I'm misunderstanding, though.
Anyway the fix for the importer is to replace line 154 in class.vanilla1.php,
AND coalesce(c.WhisperUserID, 0) = 0", $Comment_Map);
with:
AND coalesce(c.WhisperUserID, 0) = 0 AND coalesce(c.Deleted, 0) = 0", $Comment_Map);
I also added the updated export script to my blog here in case anyone wants to use the update before it is officially released.