Jump to content
thirty bees forum
  • 0

Question

Posted

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_1534886253653_themeipload.png

18 answers to this question

Recommended Posts

  • 0
Posted

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
Posted

@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
Posted

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
Posted

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
Posted

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
Posted

@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
Posted

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
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...