Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 1 Year, 4 Months, 2 Weeks ago Board theme (css) is falling apart (moving from windows server to linux)
#1
Solved: 1 Year, 4 Months, 2 Weeks ago
Hi all,
I have an issue with moving the whole MyBB forum (1.8.4) from a Windows server (XAMPP Apache) to a Ubuntu server (Apache2). I think the problem is with some writing/reading rights in the file system, however I can't find out the exact cause.

So my main problem is that the board is not loading the CSS files (maybe the whole themes/templates). Before I made the transfer I did these:
-disabled all plugins
-made a backup of the database (in phpmyadmin and in admin panel)
-copied the root directory
-restored the db
-enabled plugins

I also tried to delete /cache/themes/*, and "rebuild" the theme, but didn't help.
Current status is like this: [link]

Thanks for any suggestions!
Have a nice day.

Khaled
Reply
#2
Solved: 1 Year, 4 Months, 2 Weeks ago
Hello,

First off my name is Brian and I am here to help in anyway I can. Thanks for using the MyBB as your forum software.


Please read Moving to a New Web Host.

Your forum is using https but some links are using http please see this to learn how to set up https for your forum.


Now lets make sure you have everything set up right after switching to the new host.

Did you update your settings.php file in your /inc folder?

Open it and find and update the following if needed.

Code:
$settings['bburl'] = "http://YOURSITE.com";
$settings['homeurl'] = "http://YOURSITE.com/";
$settings['cookiedomain'] = "";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";


If you don't know what your cookies should be please see this or use this.

Now open config.php in the /inc folder and update the database details only if needed.

Best regards,
 - MyBB Support Forums
Reply
#3
Solved: 1 Year, 4 Months, 2 Weeks ago
Hi!
Thanks Brain!

I looked into my settings / config files (/inc/settings.php, /inc/config.php), and I found that I use database for cache. After I changed it to 'files' (from 'db') everything worked fine Smile

$config['cache_store'] = 'files'; //'db'


However I don't know yet how to rebuild database cache, but it's not problem Smile
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)