Jump to content

SQL Error When Registering


RayChill

Recommended Posts

This error appears when registration is set to user or admin after the new member clicks submit to join the forum.

Error inserting user group, group count

 

DEBUG MODE

 

SQL 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 ' 2235, 0)' at line 2

 

INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES (, 2235, 0)

 

Line : 1080

File : usercp_register.php

 

This is the line listed:

 

    message_die(GENERAL_ERROR, 'Error inserting user group, group count', '', __LINE__, __FILE__, $sql);
Link to comment
Share on other sites

INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES (, 2235, 0)

i think the line needs to be

INSERT INTO phpbb_user_group (group_id, user_id, user_pending) VALUES ("", 2235, 0)

because in the Values clause the 1st value is not set it cant disappear.

the query needs to see it has nog value

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.