Loading...
 
Skip to main content

Features / Usability


New users unable to register in version 2.2

I recently upgraded my tikiwki installation on xeraworks.com from 1.9.10.1 to 2.2

However, when new users try to register, it gives an error similar to the one below:

----
An error occured in a database query!


Context:
File tiki-register.php
Url tiki-register.php
Query:
insert into `users_users`(`login`, `password`, `email`, `provpass`, `registrationDate`, `hash`, `pass_confirm`, `email_confirm`, `created`, `valid`, `openid_url`, `lastLogin`, `waiting`) values(?,?,?,?,?,?,?,?,?,?,?,?,?)
Values:
0 adex
1 f0b8bcf2a7dd8dbe6be1b2deb4fb19c1
2 ad...@ya...
3 adeoba1234
4 1239733554
5 $1$gBUwn/w4$2WRyEhHpjI2heYr7S0CQA1
6 1239733554
7 1239733554
8 1239733554
9 f0b8bcf2a7dd8dbe6be1b2deb4fb19c1
10
11 NULL
12 u
Message:
Unknown column 'email_confirm' in 'field list'
Built query was probably:
insert into `users_users`(`login`, `password`, `email`, `provpass`, `registrationDate`, `hash`, `pass_confirm`, `email_confirm`, `created`, `valid`, `openid_url`, `lastLogin`, `waiting`) values('adex','f0b8bcf2a7dd8dbe6be1b2deb4fb19c1','ad...@ya...','adeoba1234','1239733554','$1$gBUwn/w4$2WRyEhHpjI2heYr7S0CQA1','1239733554','1239733554','1239733554','f0b8bcf2a7dd8dbe6be1b2deb4fb19c1','',NULL,'u')

-------

What happened and how can I fix it please?

Hi,

I have gotten the answer from an earlier post.

The problem was that the column email_confirm was missing in the table users_users in the new installation.

Solution: Add the column to the table users_users using the following syntax in phpMyAdmin:

ALTER TABLE users_users ADD email_confirm int( 14 ) default NULL