Raised This Month: $128 Target: $400
 32% 

Theme Error: default is not a valid theme. Must have a valid theme.conf.php file.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 12-17-2020 , 01:45   Theme Error: default is not a valid theme. Must have a valid theme.conf.php file.
Reply With Quote #1

Theme Error: default is not a valid theme. Must have a valid theme.conf.php file.
But there is default folder inside of themes (775 permissions) and there is theme.conf.php inside of default folder (664 permissions). I tried also 777 for theme.conf.php its the same.


I didn't manually create themes_c folder before installation, could that have caused this?
Also I manually created config.php as it didn't exist.


I just checked and in MYSQL database sb_settings, config.theme is also set to default.

Last edited by HvG Community; 12-17-2020 at 01:57.
HvG Community is offline
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 12-17-2020 , 20:29   Re: Theme Error: default is not a valid theme. Must have a valid theme.conf.php file.
Reply With Quote #2

The solution was re-installing.


Also, make sure that when you are setting permissions on folders, owner and group are the same as your web server user.

So if you are using apache, your web server user is probably www-data.

What you can also do is add your personal account to www-data group:
sudo adduser username www-data
And then also add write access to group. So instead of sudo chmod -R 644 demos you will do 664.

And also don't have newest version of PHP like me (7.4), else you will have to go around dozen of files and remove code that is incompatible.
HvG Community is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:39.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode