Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 09-24-2013, 02:44 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Yeah you got some issues there, best bet is to ask at vb.com, they are more involved with this sort of thing.
Well that ain't gonna happen, my account expired. Can't post over there. ANYONE???? Really need help!!!
Reply With Quote
  #22  
Old 09-24-2013, 02:46 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pityocamptes View Post
Not sure what is going on. I get this message after creating a user or when a user is registering. However, the registration actually goes through if you check users in admincp. How can I fix this?

***
Database error in vBulletin 4.2.1:

Invalid SQL:
INSERT INTO userfield
(field1, field2, field3, field4, userid)
VALUES
('', '', '', '', 138);

MySQL Error : Duplicate entry '138' for key 1
Error Number : 1062
Request Date : Sunday, September 22nd 2013 @ 07:48:45 PM
Error Date : Sunday, September 22nd 2013 @ 07:48:46 PM
Script : XXXXXXXXXXXXXXXX/user.php?do=update
Referrer : XXXXXXXXXXXXXXXXXXXXX/user.php?do=add
IP Address : XXXXXXXXXXXXXXXXXX
Username : XXXXXXXXXXXXXXXX
Classname : vB_Database
MySQL Version : 5.0.96-log
***
Quote:
Originally Posted by snakes1100 View Post
Do a repair on the user table.

Its most likely a hack causing it to create that issue tho.
Quote:
Originally Posted by pityocamptes View Post
No it started before I added any mods. I did merge over from phpbb3. I have tried to repair the tables and it comes back saying its fine. Now, it seems I am getting this error (looks like it happened after I created an admin account on the back end_ - never saw before...

Warning: Invalid argument supplied for foreach() in [path]/login.php(119) : eval()'d code on line 4

When I reload the page it goes away...
Your first post doesnt state that you dont have hacks/addons installed.

A simple repair of the table will fix the dupe key issue.

If a repair in phpmyadmin dont work, run a myisamchk via the command line if you have shell access to the server.

But that is normally caused by hacks, its not a vbulletin issue causing that.
Reply With Quote
  #23  
Old 09-24-2013, 02:47 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully someone more knowledgeable than me in this sort of thing can give you a hand here.
Reply With Quote
  #24  
Old 09-24-2013, 02:54 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Your first post doesnt state that you dont have hacks/addons installed.

A simple repair of the table will fix the dupe key issue.

If a repair in phpmyadmin dont work, run a myisamchk via the command line if you have shell access to the server.

But that is normally caused by hacks, its not a vbulletin issue causing that.
The ONLY mods I installed are admin firewall and spam-o-matic.

In both the userfield and usertextfield tables I have 647 entries with multiple duplicates in some of the fields that keep repeating.

In the userlist table it is empty.

In the user table I have 134 entries which is what shows in the back end for the amount of users...

The errors were happening BEFORE I installed the mods, I did a merge over from phpbb3 and IMPEX kept crapping out, and VB.com told me to run IMPEX again. Now I don't have support from them, over a month ago... I wonder if the several times I ran impex created DUPLICATES in the tables? How do I fix this?

--------------- Added [DATE]1379995503[/DATE] at [TIME]1379995503[/TIME] ---------------

Good GOD!!! It looks like that is what happened!! Everytime I ran IMPEX it would give errors on importing from phpbb3. Had to keep running the options until it gave no errors.

http://www.vbulletin.com/forum/forum...database-error

OK, so what do I need to do to fix this cleanly?

Basically what I want to attempt to do is rerun the database import - fresh from my phpb3.

Do I need to uninstall the two VB mods I added, then upload my original db (backup) back to the server and run impex again?

I just got done with my temlate (custom) and do NOT want to have to start over on that...

Any help appreciated!! Thanks.
Reply With Quote
  #25  
Old 09-24-2013, 03:25 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once you complete the impex import, you should have it remove the session & the temp id's it used.

If your getting errors during the impex process, then certainly DONT rerun the import steps over and over, thats not going to fix the issue.

I would start over fresh & dont use the admincp firewall, simply use a htaccess protection, nothing more needed for it, but neither of those will protect you from a sql injection anyways.
Reply With Quote
  #26  
Old 09-24-2013, 02:32 PM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Once you complete the impex import, you should have it remove the session & the temp id's it used.

If your getting errors during the impex process, then certainly DONT rerun the import steps over and over, thats not going to fix the issue.

I would start over fresh & dont use the admincp firewall, simply use a htaccess protection, nothing more needed for it, but neither of those will protect you from a sql injection anyways.

Thanks! Ok, last night I removed the three mod addons I had with vbulletin. I uploaded the old forum (phpbb3) files and database up to the server.

So, at this point, wipe the database through IMPEX and start over the import?

I know I have some large import files on my old forum. A couple were around 55 megs. How do I make sure that those files xfer to VBulletin? Also, I know last time when I was running certain imports like "users" it would show that most xferred over but I had errors. It never told me what the errors were and so I would rerun the import. Maybe someone can help me on this. What do you do when IMPEX shows an error? How do you know what the error is exactly?

Also, since I am bringing in the DB from my old forum software, do I need to upload the "install" folder for VBulletin that was removed after I installed the VBulletin software? Thanks again!
Reply With Quote
  #27  
Old 09-25-2013, 12:38 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes you would start fresh

New Vb DB with a normal install
Fresh copy of the import DB
Then run Impex & stop when it errors, dont run it again.

You would need to post the actual errors if it produces a error, we dont know what they are.
Reply With Quote
  #28  
Old 09-25-2013, 03:19 AM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Yes you would start fresh

New Vb DB with a normal install
Fresh copy of the import DB
Then run Impex & stop when it errors, dont run it again.

You would need to post the actual errors if it produces a error, we dont know what they are.
Ok, I don't know where to find the errors for impex. The upload screen (in the past) just showed that 100 users merged and 50, for example, did not, but I don't know why. I uploaded the old db and forum software onto the server. I wonder if I should go back into the old forum and make everyone a registered user and delete the custom ranks I had installed in phpbb3? Then create new ranks in vbulletin and change the users at that point? Thoughts on that? Or will I mess anything up? Also, what are the DEFAULT user settings offered in vbulletin that will hopefully merge with phpb3? Thx
Reply With Quote
  #29  
Old 09-25-2013, 07:03 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try enabling debug in the impex config file, my guess its going to be a bad email or blank email for those users.
Reply With Quote
  #30  
Old 09-25-2013, 07:29 PM
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: Apr 2010
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Try enabling debug in the impex config file, my guess its going to be a bad email or blank email for those users.
Thanks. Assuming that that may be the issue, A) how do I fix this, and B) How do I get those users to import without having to redo the import and end up with duplicate entries in the DB??

Also, is there a method in IMPEX to allow very large imports of files? I noticed during the last time I did the merge, it crapped out on a couple of file (pdf) uploads that were between 40-50mb. Thanks again!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04569 seconds
  • Memory Usage 2,268KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete