Cannot import .tco file

I am developing a substantial update to our site on a development clone. I need to import a Cornerstone page that has been updated on production into the development site. I exported the page from production and saved it as a .tco file. When I try to drag and drop into Cornerstone or if I try to import into the page I get several errors that I was able to screen shot (they disappear quickly and I don’t see that they are logged).

The errors state:
“Sorry you are not allowed to upload this file type” Followed by a long hexadecimal string.
“Failed to import image batch. Your server upload limit is probably preventing this upload from happening”

The PHP upload_max_filesize is set to 1G. The largest image file is around 4.7mb (4745kb).

Hello Kevin,

Thanks for writing in! Your server may have disallowed .tco file type. Please also check your Tools > Site Health > Status for any performance issues. We would also love to check your site if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Cheers.

It was probably never explicitly allowed as I believe it uses the default set for Apache/nginx and .tco is custom. What is the .tco MIME type? I can try to add it to the server once I’m back in the office on Wednesday. If that doesn’t work I can give you access to the dev server.

Hello Kevin,

The .tco file is the media file type we use for the Themeco templates. If allowing the file type in your server does not resolve your issue, we would love to log in to your site and investigate it. You can send us the WP details in a secure note as pointed out in my previous reply.

Thanks.

I was able to import a different .tco file. It might be the .webp included in the .tco archive.

Hey Kevin,

You may also need to allow .webp file type so that you will no longer encounter the issue next time you import a template file.

Cheers.

There seems to be something else going on. I opened up the .tco archive, removed the .webp, then resaved as .tco. I got the same issue when trying to import. The files in the .tco are .jpg, .png and .json.

The other .tco that imported successfully was a header with just a single .jpg and 2 .json files. The problem .tco page does contain a raw element tableau embed. I’m not sure if this has anything to do with the errors.

I will prepare a clone you can poke around and add a secure note.

Hey Kevin,

Could you please zip your template file or uploade the tco file in Dropbox go Google Drive so that you can share it to us? We would like to text your TCO file in our local testing servers.

Thanks.

Will do. I’ve not been able to dedicate a lot of time to this issue this week due to managing a server migration. I will put it on my to-dos for tomorrow.

Ok great. We will wait for the file.
Thanks.

I’ve uploaded the .tco to our OneDrive. Link in a secure note.

Hi Kevin,

I can replicate the issue on my local testing server. I cannot import the file. Does this file template have a link to an external image or SVG? If you have a live version of this template, maybe we can check it? We would love to see the live page or at least your staging area so we can check on the elements of this template or page.

Thanks.