.tco files not appearing in template manager

Our website was recently hacked and lots of files deleted from our server.
I now have to rebuild the site completely and I have found a .tco file of all the pages and content from the staging site.
However, when I upload these to the template manager, the green bar at the top of the screen takes a while to complete (upload?) and after this has completed, the templates are not showing up in the template manager.

edit: this is the same .tco file that I used last time to move over from the staging site.

Hi @discomatt,

Would you mind uploading a copy of that file somewhere so we can test it with the latest version? You can share the link in a secure note. Or if you can provide login details to the staging server we could download it from there. We can test the .tco file and see what’s going on with it. Thanks!

Hey @Alexander, thanks for taking a look! I’ve uploaded a secure note to the last message with a download link.

Happy to downgrade to the correct version to get these uploaded, and can update from there.

Thanks! I gave it a shot (running the latest version) and it looks like it fails because some of the images are too large. The largest one was 3.1MB so if you set your upload_max_filesize setting in your PHP configuration at least that high it should import.

I’ll make some notes on our end to have more helpful error messaging in cases like this.

Thanks @Alexander! I have quickly checked in Add New Media in Wordpress and the max upload is currently set at 256Mb. Is this not the same thing?
image

Hey @discomatt,

I uploaded your template to my site and it imported successfully (you might need to reload the Template Manager) even though my upload_max_filesize is just 100M. And yes, what you’ve shown in your screenshot is the same Upload Max Filesize.

The issue on your end might be different. Try increasing the setting the following server configuration to the specified value or higher.

post_max_size	100M
max_execution_time	120

If that doesn’t help, would you mind providing the following details in a Secure Note so we could check your setup.

  • WordPress Login URL
  • Admin username and password

You can find the Secure Note button at the bottom of your posts.

Thanks.

That’s worked perfectly. Many thanks for your help guys!

You are most welcome @discomatt!

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