Baarssen Posted August 21, 2018 Posted August 21, 2018 When i try to upload a theme in 1.06 i get the message: incorrect/bad configuration file. It doesnt matter what theme i use. Also when i do the procedure by ftp (zip file). I also unzipped it and zipped it again. No luck. I tried several themes, including warehouse 3.8.6 and 3.8.7 Any idea what i do wrong?
0 Baarssen Posted August 21, 2018 Author Posted August 21, 2018 yes, i did. I know sometimes in the zip is another zip, but i always check this:
0 doclucas Posted August 22, 2018 Posted August 22, 2018 I have the same problem on TB 1.0.6 on my Linux server. It says Bad configuration file. However, when uploading the same exact theme file to TB 1.0.6 on my windows server (WAMP) it works perfectly. @Traumflug - any way to debug what's causing this?
0 doclucas Posted August 22, 2018 Posted August 22, 2018 @Baarssen @Traumflug Found the problem. Edit controllers/admin/AdminThemesController.php Change: $xmlFile = $sandbox.$themeDir.'/config.xml'; to $xmlFile = $sandbox.$themeDir.'/Config.xml'; That's Config with a capital C. Hope this helps. :) On git: https://github.com/thirtybees/thirtybees/issues/579
0 Traumflug Posted August 22, 2018 Posted August 22, 2018 Here's a commit which claims the exact opposite: https://github.com/thirtybees/thirtybees/commit/48521e43c18ba4da2071655b8aa5b5191ab73954 :-)
0 doclucas Posted August 22, 2018 Posted August 22, 2018 Most of my themes come with capital C, a few with small c, which is why I wrote on git, it's better you add both cases. :) I guess the person who made the commit 20 days ago (Fabio) did so because his theme came with a small c.
0 Baarssen Posted August 22, 2018 Author Posted August 22, 2018 this is indeed for me the solution. I can upload the themes again. It should be the best when 2 ways should be possible to avoid this. Thanks !
0 doclucas Posted August 22, 2018 Posted August 22, 2018 You welcome. :) Thanks for reporting it. It's quite a critical issue.
0 AndyC Posted August 26, 2018 Posted August 26, 2018 Oh my .. I thought I was going mad as I just couldn't get a template to load..Corrected the c to C and uploaded first attempt.. Thanks Now I just need to master CSV
0 movieseals Posted August 27, 2018 Posted August 27, 2018 It does not work for me... :( Themes used to upload fine up to TB 1.0.5 - in 1.0.6, nothing loads. I get bad configuration errors no matter what. :(
0 doclucas Posted August 27, 2018 Posted August 27, 2018 @movieseals If it worked fine for you on 1.0.5, the only related change I see on 1.0.6 is the code above. To be able to assist you, please post the entire content of your controllers/admin/AdminThemesController.php file
0 movieseals Posted August 27, 2018 Posted August 27, 2018 [01535339718534AdminThemesController.php](Uploading 100%) I have uploaded it, as apparently posting it is too big.
0 doclucas Posted August 27, 2018 Posted August 27, 2018 I don't know where you uploaded it, but you can post it on https://pastebin.com/ and post the link here
0 doclucas Posted August 27, 2018 Posted August 27, 2018 According to your pastebin, you did not change the code. It's still showing config with small c and not capital C.
0 movieseals Posted August 27, 2018 Posted August 27, 2018 I did change the code but the config.xml file in my theme is a small c. Either way, capital or no capital, it does not work. I have to go back to TB 1.0.5 to install the theme then reinstall 1.0.6 over it.
0 doclucas Posted August 27, 2018 Posted August 27, 2018 As we just discussed in the chat, modifying the code as explained does work. Please make sure to upload the original theme zipped.
0 Traumflug Posted August 27, 2018 Posted August 27, 2018 As we just discussed in the chat, modifying the code as explained does work. It works for some themes. Not so for others. If it was just a matter of uppercasing this c, I had changed it already.
Question
Baarssen
When i try to upload a theme in 1.06 i get the message: incorrect/bad configuration file.
It doesnt matter what theme i use. Also when i do the procedure by ftp (zip file). I also unzipped it and zipped it again. No luck.
I tried several themes, including warehouse 3.8.6 and 3.8.7
Any idea what i do wrong?
18 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now