Download & Extend

Fix_User_Table timestamp replacement columns are off

Project:Database Scripts
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:hefox
Status:closed (fixed)

Issue Summary

The Timestamp columns are set as :
$access_column = 10;
$login_column = 11;

However, my schema is as follows for user:
0 uid
1 name
2 pass
3 mail
4 mode
5 sort
6 threshold
7 theme
8 signature
9 signature_format
10 created
11 access
12 login
13 status
14 timezone
15 language
16 picture
17 init
18 data

Thus I am updating my code to:
$access_column = 11;
$login_column = 12;

Comments

#1

Assigned to:Anonymous» hefox

I wonder if that is why my user table always has conflicts hm!

The code should figure out the real column placement or put it into config file; I'd prefer the former but need to talk to ceardach to see if schema definitions are easy to access.

#2

Priority:critical» normal
Status:active» fixed

http://drupalcode.org/viewvc/drupal/contributions/modules/dbscripts/dbsc...

This was due to drupal update that added in signature_format before those two columns. Should now be fixed.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here