The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I have spent the last 2 days trying to integrate vB 4.2 into CI 2.1.2...
Everything seems fine, but the datamanager outputs an SQL error page when saving a new user (outside of vB). My index.php... PHP Code:
My library... PHP Code:
My controller... PHP Code:
Loading mydomain.com/sandbox/vb_test generates the vB sql error page and I receive the following email... Code:
Database error in vBulletin 4.2.0: Invalid SQL: INSERT INTO usertextfield (userid) VALUES (29); MySQL Error : Duplicate entry '29' for key 1 I am at a loss. Why is the datamanager is trying to insert the "usertextfield" record twice? The records for user, userfield, and usertextfield are all added to the database. I simply can't figure out why the sql error is coming through using the datamanager. I've rewritten this library a few times already to make sure it was an issue with me providing incorrect data to the manager, but nothing gets around this problem. Please help ![]() Notes: We have a custom cms in place that already has users. Any new registrations will be processed on the main site, and our script adds the forum user to the vB database using the datamanager. Registration and login are handled externally. Login/logout works fine so I did not include those methods in the code above. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|