Jump to content

Bad Configuration file message on new theme install


Recommended Posts

I am using theme installer in prestashop version 1.4.7. to import a new prestashop theme but I receive the message "Bad Configuration File."

I have tried importing the zipped file as they instructed but that fails each time giving "Bad Configuration File."message. So, I unzipped the file and using my FTP site transferred the files over to my remote server. Using the BO I clicked on Permformance and then clicked Appearance and looked to save it but it still does not appear. When that failed, I opened the config folder and changed the file "settings.inc.php" by adding another "define('_THEME_NAME_', 'prestashop'); substituting the word "prestashop" with my new theme name hoping it would recognize it. This didn't work either. Any thoughts on what I am doing wrong. I am using a Mac and prestashop1.4.7.

 

Thanks,

dasboot

Link to comment
Share on other sites

  • 2 weeks later...

I too am having this exact same problem - no matter how I try to install any theme, be it via the theme installer or manually, it simply will not install. The theme installer gives me the 'bad configuration file' message and manually uploading the files to the themes directory makes no difference - my theme, any theme except the default theme, still does not appear.

 

Come on folks - there must be someone out there that can help myself and dasboot

Link to comment
Share on other sites

Hi Carl,

 

The theme I was trying to import was a clone of the original Prestashop theme - the one that ships with PrestaShop so it must be compatible with my version - I appreciate your idea though.

 

Is there anything else you could suggest?

Link to comment
Share on other sites

That's really strange then because I've tried that several times myself - I'm wondering whether it was a caching issue on my PC - though I tried it in multiple browsers and still got the same result. I also tried installing a free theme I downloaded from the add-ons section and got the same non-successful result.

 

Anyway, now that I have a duplicated theme (thanks to you) I can carry on now. Thank you so much for your help Carl.

Link to comment
Share on other sites

That's really strange then because I've tried that several times myself - I'm wondering whether it was a caching issue on my PC - though I tried it in multiple browsers and still got the same result. I also tried installing a free theme I downloaded from the add-ons section and got the same non-successful result.

 

Anyway, now that I have a duplicated theme (thanks to you) I can carry on now. Thank you so much for your help Carl.

 

I created a new folder, copied into it all of the prestashop theme files and this for some reason generated an error.

 

I fixed this by copying the prestashop folder to another location, renaming it and then copying it back to the themes folder.

 

Try this, if it does not work (for me it did),

 

do a chmod 777 on config/setttings.inc.php and on your custom theme folder.

Link to comment
Share on other sites

  • 5 months later...
  • 5 months later...

I got this problem also , now for days i cant find my way out of this, i tried many many and always get bad configuration file . even i downloaded from other websites and its the 1.5.3.1 version i have now, can anyone help me out from this mayor problem, thankss

Link to comment
Share on other sites

  • 8 months later...
  • 1 month later...
  • 8 months later...

Hello all my name is Marina I am a web designer and decided to get involved with prestshop in order to start creating my own eshop.

So I am completely begginer.

I am trying in installing a new theme in my prestashop, either a new one that I have created or a free ready made template and I am recieving the following message

"Bad configuration file"

I have read a number of forums posts and have done what they said but no difference, I have also cleared the cache.

I have the PrestaShop™ 1.6.0.9 version.

I will appreciate your help as if I do not solve this issue I will not be able to move any further and add my products.

Thank you for your time

Marina

Link to comment
Share on other sites

Hello all my name is Marina I am a web designer and decided to get involved with prestshop in order to start creating my own eshop.

So I am completely begginer.

I am trying in installing a new theme in my prestashop, either a new one that I have created or a free ready made template and I am recieving the following message

"Bad configuration file"

I have read a number of forums posts and have done what they said but no difference, I have also cleared the cache.

I have the PrestaShop™ 1.6.0.9 version.

I will appreciate your help as if I do not solve this issue I will not be able to move any further and add my products.

Thank you for your time

Marina

We have the same problem, i have tried any solution above, but still get bad configuration file, . Does anyone have another ideas?

Link to comment
Share on other sites

I think i found the solution is the way you structures the folder of your prestashop templates

say for example the name is test then the folder format will be like this

test >> in there will be the folder named themes and Config.xml >> in themes folder should be the test_theme folder >> in the test_theme folder should be included all the files and .tpl files of your template,

This is working for me.

If you need anything else let me know

Regards

Marina

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

It appears the problem continues through to 2015...  

 

Here is my config file for the new theme I purchased.

<?xml ve <?xml version="1.0" encoding="UTF-8"?>

<theme><version value="1.4"><ccc available="true"/><guest_checkout available="true"/><one_page_checkout available="true"/><store_locator available="true"/></version></theme>

 

Here is the config file for the default theme that works

 

<?xml version="1.0" encoding="UTF-8"?>

<theme><version value="1.4"><ccc available="true"/><guest_checkout available="true"/><one_page_checkout available="true"/><store_locator available="true"/></version></theme>

 

 

I think my problem is the theme is not compatible with my version of prestashop.  

Edited by Art Works RVA (see edit history)
Link to comment
Share on other sites

  • 1 month later...

I need a very urgent help i installed the theme manually still it doesnt show what to do 

 

Bit more info could be useful, what theme, what is your Prestashop version, is theme compatible ?

 

Also why did you install it manually, and not with Preferences > Themes > Add new theme?

That way is preferred as it install additional modules, and adds specific settings.

 

And check if you are uploading right zip file. Because some times developer wrap documentation, PSDs and theme in one big zip

file. So first try to unzip that and then upload just theme zip.

Link to comment
Share on other sites

  • 1 month later...

Most probably you did not upload the correct archieved file (zipped file).

 

If you bought a theme from a store like themeforest, you have an archieve with all the files the developer created. For example, you may have a PSD file, help files,...etc. You should first unarchieve this file and look inside the target folder (where you unzipped the file, assuming it is a .zip file). There you should see a .zip file containing the template (usually "theme.zip") that you should upload to your server. From the user interface, you should probably go "Preferences > Themes" and "Add Theme", than use any of the methods available (like using the file upload presented on the page). Anywho... I digress... Point is that you most probably uploaded a wrong file.

Edited by razaro (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...