coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: ambitionen on June 26, 2006, 10:50:01 PM

Title: New registrations / user_id
Post by: ambitionen on June 26, 2006, 10:50:01 PM
I recently upgraded from 1.46 to 1.48, nearly at the same time I tried to use coppermine in combination with wordpress.

The second item did not work, the users from wordpress where imported to Coppermine with a user_id of 0.

Since that time new users registering always get a 0 as user_id, and they can´t login after registration.
No problem with existing users or if I give them a user_id manually with phpmyadmin. Anyhow not a nice way on the long run ...

Checking for the registration process I couldn´t find a hint where the user_id is inserted into the database or where the "maximum number of the user_id" is generated or whether there is another solution for my homemade (?) problem.
Title: Re: New registrations / user_id
Post by: Nibbler on June 26, 2006, 11:41:49 PM
Set the user_id field to auto_increment using phpmyadmin.
Title: Re: New registrations / user_id [solved]
Post by: ambitionen on June 27, 2006, 05:18:03 AM
 :) worked. Thank you.