XF 1.3 Problem after changing IP adres

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.
 
Top Bottom