New registrations / user_id New registrations / user_id
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

New registrations / user_id

Started by ambitionen, June 26, 2006, 10:50:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ambitionen

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.

Nibbler

Set the user_id field to auto_increment using phpmyadmin.

ambitionen