Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


DB function failed with error number 1062
Date: 2007/11/18 14:53 By: lseibert Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 4
graphgraph
When a user registers on our client's site, www.bikinisandbifocals.com, they receive the following error on the completion of thier registration. They are using the Account Expiration Control Component for site paid registrations. Please help. The guys at AEC said this was a Community Builder issue. Thanks.

> Registration Complete!
> An email with further instructions on how to complete your registration has been sent to the email address you provided. Please check your email to complete your registration.
>
> 1store errorB function failed with error number 1062 Duplicate entry
> '512' for key 1 SQL=INSERT INTO jos_comprofiler (
> `id`,`user_id`,`approved`,`confirmed`,`cb_suiteapt`,`cb_streetaddress`
> ,`cb_city`,`cb_state`,`cb_country`,`cb_zipcode`,`cb_phone`,`cb_bbcircl
> emember`,`cb_circlename`,`cb_circle`,`cb_circleyes`,`cb_circlecity`,`c
> b_circlestate`,`cb_circlecountry`,`cb_circlenumber`,`cb_findout`,`cb_b
> irthyear`,`firstname`,`middlename`,`lastname` ) VALUES ( '512','512','1','0','','18 Valleyview Drive','Fisherviille','KY','USA','40023','502-442-7851','No','','','','','','','','Friend','1988','' ,'','' ) SQL = INSERT INTO jos_comprofiler ( `id`,`user_id`,`approved`,`confirmed`,`cb_suiteapt`,`cb_streetaddress`,`cb_city`,`cb_state`,`cb_coun try`,`cb_zipcode`,`cb_phone`,`cb_bbcirclemember`,`cb_circlename`,`cb_circle`,`cb_circleyes`,`cb_circ lecity`,`cb_circlestate`,`cb_circlecountry`,`cb_circlenumber`,`cb_findout`,`cb_birthyear`,`firstname `,`middlename`,`lastname` ) VALUES ( '512','512','1','0','','18 Valleyview Drive','Fisherviille','KY','USA','40023','502-442-7851','No','','','','','','','','Friend','1988','' ,'','' )
Click here to see the profile of this user The administrator has disabled public write access.

Re:DB function failed with error number 1062
Date: 2007/11/18 16:43 By: beat Status: Admin  
Karma: 256  
Admin

Posts: 4214
graphgraph
That error just says database seems not ok, having an entry with id 512 in it already in jos_comprofiler table, while it shouldn't have one.

Doesn't happen without AEC. I didn't look at AEC and AEC's hacks in CB, so can't tell why this happens. Checked CB genuine code and didn't see a bug.
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.2 RC4 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login