Downloaded themes won't work

Started by mia2904, September 03, 2021, 12:47:16 AM

Previous topic - Next topic

mia2904

Hi.

I'm having trouble installing themes in 2.0.17/18. Tried 2.1 RC4 and they seem to work (but few of them are compatible with this version sadly).

Themes will install successfully. But once I set them up, the forum will just not load and leave a blank screen (with NightBreeze20, got a message: Unable to load the 'main_above' template.). Then I would need to revert to the core theme to get the site working again.

I tried:
- Installing 2.0.18 from Softaculous
- Installing 2.0.17 and 2.0.18 from FTP + install script.
- Installing 2.1 RC4, even tho had trouble because the installer would throw an error: unable to write settings.php. Fixed it by removing lines 383 and 384 of Subs-Admin.php,for some reason this check was returning false: if ($settings_vars === false)). Compatible themes worked fine with this version.

Error log (logged when trying "Fusion" theme):
[03-Sep-2021 04:35:50 Etc/GMT0] PHP Fatal error:  Uncaught Error: Call to undefined function loadCSSFile() in /home/chistowa/public_html/smf20/Sources/Load.php(2229) : eval()'d code:119
Stack trace:
#0 /home/chistowa/public_html/smf20/Sources/Load.php(1941): template_html_above()
#1 /home/chistowa/public_html/smf20/Sources/Subs.php(3399): loadSubTemplate('html_above', true)
#2 /home/chistowa/public_html/smf20/Sources/Subs.php(2844): template_header()
#3 /home/chistowa/public_html/smf20/Sources/Errors.php(333): obExit(NULL, true, false, true)
#4 /home/chistowa/public_html/smf20/Sources/Errors.php(161): setup_fatal_error_context('Call to undefin...')
#5 /home/chistowa/public_html/smf20/index.php(130): fatal_error('Call to undefin...', 'critical')
#6 [internal function]: {closure}(Object(Error))
#7 {main}
  thrown in /home/chistowa/public_html/smf20/Sources/Load.php(2229) : eval()'d code on line 119

This is my forum: hxxp:smf.mia2904.com [nonactive]

Any help will be greatly appreciated

Dzonny

Hey there and welcome to SMF community!

How are you installing themes? Through admin panel? Can you verify that there's directory with files in Themes folder for each theme you install, after you do it? For example you should have Themes/Fusion/ when you install that theme.
Also using the Softaculous thing is not something we'd recommend.
To me it looks like a permission problem though, can you check your folder/files chmod, most likely folders should be 755 and files 644.

Arantor

Also note that themes are not cross compatible, Fusion for 2.1 isn't going to work on 2.0 for example, and 2.0 themes won't work properly on 2.1.
Holder of controversial views, all of which my own.


mia2904

Quote from: Dzonny on September 03, 2021, 03:01:37 AMHey there and welcome to SMF community!

How are you installing themes? Through admin panel? Can you verify that there's directory with files in Themes folder for each theme you install, after you do it? For example you should have Themes/Fusion/ when you install that theme.
Also using the Softaculous thing is not something we'd recommend.
To me it looks like a permission problem though, can you check your folder/files chmod, most likely folders should be 755 and files 644.

Thanks for the welcome :)

Yes, I'm installing the themes using the admin panel.
Just tried some other themes and they seem to work, I guess I just had bad luck with NightBreeze. Other themes I tried were not designed for 2.0 it seems. I'm going to ask in the main support thread of this particular theme.

Thanks for your help!

Dzonny

Yeah, though as Arantor said, you can't use 2.0 themes on 2.1 and vice versal.

Arantor

Though 2.1 will tell you about a 2.0 theme not being compatible, 2.0 has no way to know on its own.
Holder of controversial views, all of which my own.


Sir Osis of Liver

#6
Nightbreeze works fine in 2.0, I've installed/customized it on several forums.  AFAIK there's currently no 2.1 version.  You may have a corrupt package, try downloading it again, or use the attached.
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: