Loading...
 
Skip to main content

Architecture / Installation


Urgent help needed!! I can't create new users after upgrade to 1.9.8

When creating a new user I get the following error:

Warning: mysql error: Unknown column 'valid' in 'field list' in query:

insert into
`users_users`(`login`, `password`, `email`, `provpass`, `registrationDate`, `hash`, `pass_due`, `created`, `valid`)
values(?,?,?,?,?,?,?,?,?)


in /home/dutyfree/public_html/tiki/lib/tikidblib.php on line 134

I'm a non-techie administator new to Tikiwiki - so any advice would be gratefully received.

Cheers

Your Tiki database is incomplete, as the database structure apparently missed upgrading at some point. Specifically, the users_users table is missing its valid column. You can run the tiki_1.8to1.9.sql file in phpMyAdmin, or however you can access the database table directly.

-- Gary


> When creating a new user I get the following error:
>
> Warning: mysql error: Unknown column 'valid' in 'field list' in query:
>
> insert into
> `users_users`(`login`, `password`, `email`, `provpass`, `registrationDate`, `hash`, `pass_due`, `created`, `valid`)
> values(?,?,?,?,?,?,?,?,?)
>
>
> in /home/dutyfree/public_html/tiki/lib/tikidblib.php on line 134
>
> I'm a non-techie administator new to Tikiwiki - so any advice would be gratefully received.
>
> Cheers
OK great thanks! I have added a new column 'valid' to the users_users table using phpMyadmin and this seems to have fixed the problem. I did not run the tiki_1.8to1.9sql file in phpMyadmin becuase I didn't know how to go about doing this. Hopefully I won't have anymore problems.
Thank you again chibaguy for the advice!