MyBB Community Forums

Full Version: Missing styles in user access, not in admin access
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Installed MyBB via Instalatron on provider hosting
version 1.8.29
PHP 7.4 php-fpm
Nothing changed after the install just plain MyBB

When I Login with *site-name*/*install folder*/admin/ I get a decent default interface.
When I change to normal user acces there is no style.
Just like described in :
https://docs.mybb.com/1.8/faq/styles/

But the solution offered in the faq does not resolve the missing of style.
Also read a forumpost with a simular problem:
https://community.mybb.com/thread-226623...t+style%22

Tried the possible solutions in that thread to no avail.
Removed & installed MyBB a few times, no good result.
Tried to force default on all users in themes, no solution

Has someone encounterd this problem too, and has some help pointers for me?
Thanks
No link, so troubleshooting absolute guess work.  As the doc says - *most* missing style issues are as described in the broken styles article of Common Issues.

Also note you've opted to use a scripted installation, which is not recommended, and complicates the matter.  See this post and followup discussing "one click" installations.  You can find similar examples on this board:

https://community.mybb.com/thread-231107...pid1362323
As above, it'll likely either be a Board URL or SSL, but we can't tell without a URL. Could also be the automatic installer messed something up, as they're not exactly known to be reliable.
(2021-12-26, 01:35 PM)Matt Wrote: [ -> ]As above, it'll likely either be a Board URL or SSL, but we can't tell without a URL. Could also be the automatic installer messed something up, as they're not exactly known to be reliable.

What if the $settings['bburl'] = "https://www.autosimsport.net/lopen_new"; agrees with the location of the forum?

[attachment=44841]
[attachment=44840]

I used the /install/index.php automatic installer that comes with the download.  I followed the guide from here: https://docs.mybb.com/1.8/install/#installer

How does one go about doing a 'manual' install? I am comfortable editing PHP files, but do not know where to start!

This is not my live forum, but a secondary one so that I can get things worked out.
This seems to be an issue with the CSS files not bing accessible - what are the CHMOD settings on ./cache/ and ./cache/themes/?
(2022-01-20, 07:13 PM)Matt Wrote: [ -> ]This seems to be an issue with the CSS files not bing accessible - what are the CHMOD settings on ./cache/ and ./cache/themes/?

I verified and re-verified they are both 777 - cache, cache/themes and all themes sub folders...

The cache/themes/theme1/css3.css file is 644. should it be something else?
Can you re-save the stylesheets in the ACP and see if it fixes it?

This is throwing a 403 Forbidden error which is the issue: https://www.autosimsport.net/lopen_new/c...1642705159

Weirdly though it still shows that even if I go to a URL that doesn't exist... something is stopping files in this folder being accessible.
(2022-01-20, 07:25 PM)Matt Wrote: [ -> ]Can you re-save the stylesheets in the ACP and see if it fixes it?

This is throwing a 403 Forbidden error which is the issue: https://www.autosimsport.net/lopen_new/c...1642705159

Weirdly though it still shows that even if I go to a URL that doesn't exist... something is stopping files in this folder being accessible.

I did that with those that were suggested it be done.  The topmost all said 'migrated from somewhere else's style sheet' to begin with.  I just did the re-save with ALL of the CSS.

Everything is fine with the ACP  [attachment=44843]

Didn't fix it.  did CTRL-F5

Is it possibly something with the .htaccess in the cache folder?
<Files *>
Order Allow,Deny
Deny from All
</Files>
Oh, yes, that would do it. That's denying access to all files. Is there a reason that's there? By default MyBB doesn't come with a .htaccess file here.
(2022-01-20, 09:18 PM)Matt Wrote: [ -> ]Oh, yes, that would do it. That's denying access to all files. Is there a reason that's there? By default MyBB doesn't come with a .htaccess file here.

I have to assume the installer put it there.  I certainly didnt.   [attachment=44844]

should i delete those other two files too?

edit: i renamed all three of those [filename].txt and now it works.

Why would the installer add a .htaccess file there?

Now I'll try the MERGE tool again!
Pages: 1 2