MyBB Community Forums

Full Version: Domain I can not hook into the forum.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.

MyBB script version: 1.6.3
forum address: should be [url = http://xda-developers.pl] Xda Developers Poland [/url]
[b]what the problem (screen, description, message): The Forum was plugged into subdomains forum.xda-developers.pl - in this context that the xda-developers.pl stood empty forum wanted to move to this address. Moving into the main address of the forum I carried out according to [url = http://mybbsite.pl/jak-przeniesc-mybb-na-inny-serwer/] guide[/url]. It turned out that in the settings.php file does not have these questions:
 $ settings ['bburl'] = "nowy_adres_forum";
  $ settings ['cookiedomain'] = "nowe_cookie_domain";
$ settings ['cookiepath'] = "nowy_cookie_path" [/ php]
So I added them. [/B] Then set the cookie and I gave such queries in PHPMyAdmin:
[php] UPDATE `mybb_settings` SET `value` = 'http://nowy_adres' `WHERE` mybb_settings. `sid` = '30';
UPDATE `mybb_settings` SET `value` = 'nowe_cookie_domain' `WHERE` mybb_settings. `Sid` = '37 ';
UPDATE `mybb_settings` SET `value` = 'nowy_cookie_path' `WHERE` mybb_settings. `Sid` = '38 ';
I changed the position of sid the corresponding file settings.php and now get:
Quote: Parse error: syntax error, unexpected T_STRING in / home / phoneosp / public_html / forum.xda-developers.pl / inc / settings.php on line 52
Parse error: syntax error, unexpected T_STRING in / home / phoneosp / public_html / forum.xda-developers.pl / inc / settings.php on line 52
do I edit files in HateML Pro - just in the 52 line $ settings took the red color. In cPanel I have everything set correctly. Hosting is GÅ‚owaNET. Please help.

Yours, eQuuS
Quote:Luke from MyBBSite found an error - topic to be closed.
You probably messed up something while editing settings.php. You can delete the file and let it get generated again so that you have a clean file. You should also check the following threads on pointers as to how to change your domain and/or cookies:

http://community.mybb.com/thread-27771.html
http://community.mybb.com/thread-74904.html