1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Couple errors

Discussion in 'Troubleshooting and Problems' started by Will, Oct 8, 2010.

  1. Will

    Will Active Member

    I am getting an error when I try to associate my facebook account. It says: An error occurred while connecting with Facebook. Please try again later.

    I get an error when I tried to import a database. It says: The table prefix or database name is not correct.

    I am not sure why I am getting these errors but any help would be appreciated. Thanks.
     
  2. Blandt

    Blandt Well-Known Member

    first error is probably bad facebook application settings.
    second error :
    do you have a custom prefix for vB db? or is it the default vB prefix?
     
  3. Will

    Will Active Member

    The facebook should be setup correctly as I have had it setup before but I just changed the url to match the new one. I also even made a new application just to check to see if that was the problem but it still gives the error.

    I used the default vB prefix.
     
  4. Will

    Will Active Member

    Anyone else have any ideas?
     
  5. Blandt

    Blandt Well-Known Member

    Leave the prefix blank, do not put anything in that box.

    If it doesn't work then you do not have the default vB prefix. fo to phpmyadmin and find out what your prefix is.

    If you don't know how to do that.. open config.php from your vb installation and search for table prefix
     
  6. Will

    Will Active Member

    I already had it left blank.

    I don't have a table prefix set so I'm confused.
     
  7. Blandt

    Blandt Well-Known Member

    hmmmm I suspect that you are entering the wrong MySQL info.
    What version of vB are you importing?
     
  8. Will

    Will Active Member

    Well I've double checked info just to make sure and everything is correct. Maybe I am missing something during this process.
    I select vBulletin 3.7/3.8 and I get that error when I put my info in.
     
  9. Blandt

    Blandt Well-Known Member

    just put what ever you see in you vB config file

    ftp your vB site go to the public folder and navigate to your include folder, find config.php download it
    and open it with notepad
    look for this :

    $config['Database']['dbname'] = 'database name' -----------> database name is the database name,

    $config['Database']['tableprefix'] = ''; -------------> This is your prefix , if you have default install then it should have nothing between the quotes
    $config['MasterServer']['username'] = 'myusername'; ------> myusername is the user name
    $config['MasterServer']['password'] = 'mypassword'; ----------> mypassword is the password


    that's the info you need to fill in the form with.
     
  10. Will

    Will Active Member

    That's what I thought but the table prefix is just like this:
    $config['Database']['tableprefix'] = '';
     
  11. Blandt

    Blandt Well-Known Member

    so leave the table prefix empty

    re-upload this file : library\XenForo\Importer\vBulletin.xml

    and try again
     
  12. Will

    Will Active Member

    Still not working. Facebook integration still not working either so I'm wondering what is causing these issues.
     
  13. Blandt

    Blandt Well-Known Member

    I can take a look and try .... I just went through importing a medium size db with no issues

    PM me your info and I'll try to help
     
    D37 likes this.
  14. Will

    Will Active Member

    Maybe we can see what we can do tomorrow because I'm done for the night.
     
  15. Blandt

    Blandt Well-Known Member

    haha so am I :D Central time here ;)
     
  16. Will

    Will Active Member

    I wonder if any of these errors has to do with server stuff. I don't know but I'm just trying to figure out why these errors occur.
     
  17. Blandt

    Blandt Well-Known Member

    Ok, it could be you are entering the wrong database name?

    if you are on a shared hosting, it's a common thing for the host to ad a prefix to your database name (not to be confused with your table prefix)
    so let say you think you named your database blaData in reality it's MyUserNameatMyHost_blaData

    I'll look into that ;)
     
  18. Will

    Will Active Member

    I have a VDS with GoDaddy. Yea I know I hate them but it wasn't my choice so oh well. But I know what your talking about. They use a prefix on their database name but I had already had that correct.

    I'm still wondering if it has to do with something with the server but at the same time I'm also thinking that it wouldn't work at all if that as the case. It would be nice to see if a developer could help with this maybe they would have an idea.
     
  19. Will

    Will Active Member

    Still need help figuring this out.
     
  20. Lawrence

    Lawrence Well-Known Member

    Will, the information in your vB config.php file is definitely correct or your vB forum would not be working. Double check that the DB information you are entering into XF's importer matches that of your vB config file. Is your XF installed on the same dot com as your vB, or did you have to copy the vB database over to your XF?
     

Share This Page