Your file is not properly formatted Error

Hi I’m getting this error “Sorry! Your file is not properly formatted” when trying to import a TCO file that I exported from a twin website that I have on another domain. The two websites are very similar and they have the same version of Pro theme (2.5.5 version both).

Please help.

I need to export and import that page, if I cannot do it with native PRO theme exporte, then how can I do it?

Hi @Wb-chargers,

It seems that the file is corrupted. I was unable to import that file to my template library as well.

Can you please try exporting that template file then import it again?

If it still doesn’t help, please provide us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link login to your site
  • WordPress Admin username / password

Thanks.

Hi @Wb-chargers,

I had the exact same problem and I solved it adding –momentarily, only for uploading the .tco template file, as it has a negative impact on security– to my wp-config.php file the following code to allow other file types to be uploaded:

define('ALLOW_UNFILTERED_UPLOADS', true);

There are other users that have reported the same issue in other threads but I have not seen anyone mentioning this solution. Please let me know if it has worked for you.

3 Likes

Thanks for helping out, Abarka. :slight_smile:

OMG you’re a hero!!

That worked perfectly, thank you so much!

Glad to hear the issue is sorted, @Wb-chargers. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.