[geeklog-devel] Upgrade error with SEC_updateUserPassword

Vincent Furia vfuria at gmail.com
Sat Mar 3 18:40:38 EST 2012


Dirk,

I pushed a fix. I don't have an old DB around to test with. Could you test
it? If you find a bug in my fix, feel free to fix it. The gist of what I
did should be pretty obvious.

Thanks,
Vinny

On Sat, Mar 3, 2012 at 16:22, Vincent Furia <vfuria at gmail.com> wrote:

> Yeah,
>
> My fault. The USER_createPassword needed to be pulled out from the main
> Geeklog install because running that function in 1.9.0 will mess things up.
> So I changed the update script for 1.7.2 not to use it, not considering
> that the database wouldn't (yet) be to 1.9.0 configuration yet.
>
> I'll have to move the code from USER_createPassword into the 1.7.2 upgrade
> script. I'll work on that today.
>
> In the future, should we avoid using Geeklog code in the upgrade scripts
> to prevent this sort of catch 22?
>
> -Vinny
>
>
> On Sat, Mar 3, 2012 at 15:30, Dirk Haun <dirk at haun-online.de> wrote:
>
>> Trying to migrate an older geeklog.net backup to the current 1.9.0 from
>> the Mercurial repository, I'm running into a few problems:
>>
>> Notice: Undefined index: pass_alg in .../geeklog/system/lib-security.php
>> on line 1281
>> Notice: Undefined index: pass_stretch in
>> .../geeklog/system/lib-security.php on line 1281
>> (a few more of those)
>> Fatal error: 1064: You have an error in your SQL syntax; check the manual
>> that corresponds to your MySQL server version for the right syntax to use
>> near 'WHERE uid = 14633' at line 1 in
>> .../geeklog/system/databases/mysqli.class.php on line 228
>>
>> Quick analysis: The function SEC_updateUserPassword() which should
>> actually do the password updates for 1.9.0 is, for some reason, being
>> called in mysql_1.7.2_to_1.8.0.php
>>
>> The function update_UsersFor180() was originally used to add passwords
>> for OAuth accounts, but that code is gone now?
>>
>> Vinny? Something went wrong there …
>>
>> bye, Dirk
>>
>>
>> --
>> http://www.themobilepresenter.com/
>>
>> _______________________________________________
>> geeklog-devel mailing list
>> geeklog-devel at lists.geeklog.net
>> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20120303/74846c6f/attachment.html>


More information about the geeklog-devel mailing list