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

Had to change to a new SQl server.

Discussion in 'Installation, Upgrade, and Import Support' started by Adam Wakefield, Jul 26, 2011.

  1. So i had to transfer to a new SQL server as i kept getting the error:
    An unexpected database error occurred. Please try again later.
    I backed up the SQL, made a new DB and uploaded the SQL to that DB, changed the settings in config.php

    And now i cant login, i get the error:
    A server error occurred. Please try again later.
    And when i try to login to admin, nothing happens but a little "M" shows under the login.. What happened? What went wrong?

    Thanks in advance.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Since you can't access the Admin CP, try enabling debug mode by adding this line to your library/config.php file:

    $config['debug'] = 1;
    That will reveal a more detailed error.
  3. borbole

    borbole Well-Known Member

    Can you double check all the settings again? Especially the server name. Maybe it is different at the new host.

    When you created the db and the user at the new host, did you granted it full access and permissions to the db?

    Alternatively if everything is ok with the above mentioned things, then contact your host.
  4. cynthetiq

    cynthetiq Member

    will it show it on the screen or some log file?
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It should show it on the screen. Or you can check the xf_error_log table in the database.
  6. cynthetiq

    cynthetiq Member

    okay, thanks. I'm getting an error too. I'm not able to figure out why it's happening,.


Share This Page