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

XF 1.3 Problem after changing IP adres

Discussion in 'Troubleshooting and Problems' started by Princ3, Jun 12, 2014.

  1. Princ3

    Princ3 Member

    After my host changed my ip, they discovered that innodb was corrupted and a lot of sites I own, got corrupted databases. Then they used a backup from 3 days earlier and every one worked, only a xenforo forum didn't. This is the name of my community: www.forumpiece.com
    You can see images like this: http://forumpiece.com/likes8.png
    But you cannot access forum pages like this: http://www.forumpiece.com/help/trophies or the index page.
    I don't know what to do!
  2. Liam W

    Liam W Well-Known Member

    Are there any PHP errors logged in a time anywhere?

  3. Princ3

    Princ3 Member

    I can't even see that on the admin cp or somewhere else.
  4. Mike

    Mike XenForo Developer Staff Member

    Well, it appears to be sorted now. Do you know what the issue was?
  5. Princ3

    Princ3 Member

    Yes very simple but it was very difficult to solve because I couldn't see the difference.
    On the file config.php I tried earlier to change the name localhost to the new IP adres. I figured it out that it was a mistake, because it always stays as localhost and it doesn't matter what your ip address is. Then I wrote localhost again but this way:
    $config['db']['host'] = ‘localhost;
    After 3 or 4 hours I noticed that after localhost there wasn't any apostrophe. so when I did, it didn't solved at all. Because before localhost there was a quotation mark instead of a normal apostrophe and that is what solved the problem. I only noticed the difference between the quotation mark and the apostrophe when I saw it on directadmin otherwise I wouldn't have noticed it at all.

Share This Page