1
svaha
Could not register new user
  • 2005/9/15 13:41

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Hi I have a problem with one of my sites. New users can't register, the message is : could not register new user.

I use version 2.013_1

I checked the database, that seems to be ok. I checked other forms of registration but always get the same message.
Funny thing is that the other site with XOOPS 2.013_1 doesn't have this problem.

Any answers?
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

2
svaha
Re: Could not register new user version 2013
  • 2005/9/15 18:18

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


I'm sorry, have to bump.
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

3
svaha
Re: Could not register new user version 2013
  • 2005/9/19 8:22

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


I could not find the error and got no respond here, so I asked the support department of onsmart.com (my host) to look at it. They found it very quick :

Quote:
I extracted the error message from MySQL insert:

INSERT INTO the database of rainbowshaman.com_users (uid, uname, name, email, url, user_avatar, user_regdate, user_icq, user_from, user_sig, user_viewemail, actkey, user_aim, user_yim, user_msnm, pass, posts, attachsig, rank, level, theme, timezone_offset, last_login, umode, uorder, notify_method, notify_mode, user_occ, bio, user_intrest, user_mailok, user_lang) VALUES (, 'onsmart',, 'jacky at onsmart.net'
,,,,,,,,,,,,,,,,,,,,,,,,,,,,)

Unknown column 'user_lang' in 'field list'

Based on the error, it usually mean the script version is not match the version in database. Have you edited any file, and used any hack?


I know that I did not delete this column user_lang by hand
Any suggestions what might have caused this, and how to solve the problem elegantly?
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

4
Mithrandir
Re: Could not register new user

XOOPS 2.0.13 doesn't have a user property called user_lang... How did that get in there?
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

5
christian
Re: Could not register new user
  • 2005/9/19 8:50

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


The field user_lang has created with smartlanguage from Marcan.
You can install the smartlanguage 2.0.3 version

6
svaha
Re: Could not register new user
  • 2005/9/19 8:55

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


I don't know, I looked at the full version of 2013_1 now and I did not find this user_lang.
This site is in two languages, therefore I use the hack of marcan.

But, I also did not find it here (in the MySQL commands)


So, for me the easiest now would be to remove this insert of user_lang into the database.
Where can I find the commans that insert the data into the database during the registering process?
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

7
svaha
Re: Could not register new user
  • 2005/9/19 8:59

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Quote:

christian wrote:
The field user_lang has created with smartlanguage from Marcan.
You can install the smartlanguage 2.0.3 version

Thank you for your answer, I installed 2.03 of ML (actually the update from 2.02 to 2.03) and updated the module smartlanguage of course.
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

8
svaha
Re: Could not register new user
  • 2005/9/19 9:24

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


I found user_lang now in the french version of the changelog of ML, I don't understand french this well, but as I understand it, there seems to be a bug in inserting this user_lang into the database (version ml 1.4.2)

Quote:
=> version 1.4.2
================

- Correction du bug causé par le fait que le champ user_lang n'était pas ajouté à la table users.


Now, probably there has gone something wrong with the update on this site (I only have the problem on this site)

How can I proceed now, how can I insert this user_lang into my database?
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

9
svaha
Re: Could not register new user
  • 2005/9/19 18:01

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Pffff found it, user_lang was still present in kernel\user.php
Something went wrong with updating my site, user_lang is nomore needed in the last version of ml.
What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

Login

Who's Online

59 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 59


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits