Template Upload Error-

Hello Team!

So I have always been able to easily download and then reupload templates that I create to use and modify across the sites I design. Last week I started a couple of new sites and could not get the templates to upload no matter what I did. I went through all the posts here on the forum where people have the same issue. I did all of those tricks. (new browser, incognito, making sure all is on the same version… None of them worked. The only thing that has finally worked is adding to the wp-config file which I do not like at all for security reasons. I do edit and remove it right after but this is obviously not a good work flow.

–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);

Has there been new information on this issue? It is for sure a problem. Thank you so much! Happy Monday!
:grin:
Noelle

Hey Noelle,

I don’t get upload issues in all my test sites even without define('ALLOW_UNFILTERED_UPLOADS', true); in my wp-config.php. This means that there’s something in your WordPress and/or server setup that is allowing specific file types only to be uploaded.

With that said, you will need to check with your host first if they are doing that file type blocking. It’s probably in the form of a mu-plugin

If you’re using a security plugin, that might also be a suspect.

Hope that leads you to the right direction.

I am definitely having a problem with this all of a sudden. :disappointed_relieved:
So I have like 5 sites open and trying to do it. It has always been effortless. I am going to put a site login in the secure note and also a .tco for you to try on your end. Can you please let me know what happens??
I even have edited the wp-config file and it still will not load. I also have ithemes security off and also also cache and mn from Siteground was off. I did all the other tricks. The only thing I can think of is I am in a hotel but still on a secure network. I am usually in my office at my place.

Please let me know and thank you!
Noelle

Hi Noelle,

Thank you for the credentials and template, at first I was not able to import your template on my dev site as well, but then after I added the define('ALLOW_UNFILTERED_UPLOADS', true); constant on wp-config.php I was able to upload your template. Please keep the define('ALLOW_UNFILTERED_UPLOADS', true); on your wp-config.php file for awhile as that seems to be part of the solution.

But there seems to be another variable at play on your site as I can’t upload even a clean template from my dev site. Would you mind deactivating all your plugins and see if that allows you to upload your template? If it does then you know its one of the plugin that is causing it, do a plugin test to determine which plugin is it.

Let us know how it goes,
Cheers!

So the culprit is Convert Plus! Without a doubt it is what was blocking the uploading of any templates. So odd as I use this same process on all of my sites and this is the first time this has happened. I do not remember the last update to Convert Plus. I can upload templates again and without the extra line of code in the wp-config file. There are others recently that have been posting on the template upload error so I hope they see this. I will just deactivate whenever I am uploading until something changes.

Curious what happens on your dev site. Did you have Convert Plug activated??

Hi Noelle,

There’s no known conflict with Templates upload and Convertplus. I have the same version of Convertplus 3.5.4 and I am able to upload the same template. Can you confirm the conflict exist on all your other sites? If yes, do you have a site that is hosted on a different company? Since it is working for us, we need to see if your current server is also part of the issue. Thank you.

I am so sorry, I have been so busy. I will check into this on other sites for you too. Thank you!

You are most welcome!
If you need anything else we can help you with, don’t hesitate to open another thread.

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