2020-04-15, 01:51 PM
2020-04-15, 01:59 PM
Yeh, ofcourse!
Just export the following:
=> Make a backup of all your files in /html/
=> Export your theme .xml file
=> Export your database - if necessary
Just export the following:
=> Make a backup of all your files in /html/
=> Export your theme .xml file
=> Export your database - if necessary
2020-04-15, 02:04 PM
Basically you could do this way:
That means you should change URL/cookies settings properly for correctly running the board.
- Close your board.
- Backup database and all files in your web root.
- Upload all files onto your new server.
- Restore database backup into your new server's SQL engine, i.e., MySQL/MariaDB or PostgreSQL.
- Navigate to
https://new_domain/path_to_your_forum/admin/
to login into the AdminCP with your new domain.
- If you have issues of logging into AdminCP, please change settings first in
./inc/settings.php
according to this post.
- (Must do) Modify board settings in Site Details like Board URL, Cookie Domain and Cookie Path accordingly, and maybe Cookie Prefix if necessary.
- Visit your board via new URL, maybe
https://new_domain/path_to_your_forum/
- Reopen your board.
That means you should change URL/cookies settings properly for correctly running the board.
2020-04-15, 02:58 PM
Thanks, but I'm running into an issue. What file can I edit to fix this?
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1045 - Access denied for user 'robmeist_Robm'@'localhost' (using password: YES)
Query:
[READ] Unable to connect to MySQL server
2020-04-15, 03:06 PM
2020-04-15, 03:23 PM
Thanks!
So this is odd... when I go to admin it works but when I try to go Configuration it asks me to login again, and again, and again and never lets me in.
Could it have anything to do with different php and mysql versions?
So this is odd... when I go to admin it works but when I try to go Configuration it asks me to login again, and again, and again and never lets me in.
Could it have anything to do with different php and mysql versions?
2020-04-15, 03:42 PM
(2020-04-15, 03:23 PM)Robmeister89 Wrote: [ -> ]Thanks!
So this is odd... when I go to admin it works but when I try to go Configuration it asks me to login again, and again, and again and never lets me in.
Could it have anything to do with different php and mysql versions?
Emm... Cookies...
Looks like you need to edit
./inc/settings.php
and then go to AdminCP to update relevant board settings.For editing
./inc/settings.php
, please check this post: https://community.mybb.com/thread-224737...pid1336290 (sorry I missed it..)Remember to update the settings at AdminCP to save up-to-date values into the database.
2020-04-15, 03:48 PM
There's no link to the post you're referencing ?
2020-04-15, 03:59 PM
below should have correct values in
after saving the file,
you should be able to put those correct values again at
see also MyBB faq : login problems
settings.php
file$settings['bburl'] = "____________";
$settings['cookiedomain'] = "_____________";
$settings['cookiepath'] = "____________";
after saving the file,
you should be able to put those correct values again at
Site Details
in configuration
section of forum admin panel see also MyBB faq : login problems
2020-04-15, 08:10 PM
(2020-04-15, 03:59 PM).m. Wrote: [ -> ]below should have correct values insettings.php
file
$settings['bburl'] = "____________";
$settings['cookiedomain'] = "_____________"; $settings['cookiepath'] = "____________";
after saving the file,
you should be able to put those correct values again at
Site Details
inconfiguration
section of forum admin panel
see also MyBB faq : login problems
EDIT: This worked. Thanks!