Template upload not working

Hello, I am trying to import a template to cornerstone and it is not loading. This is the error I am getting in dev console.
Rejecting Controller promise

  1. {name: ‘media::upload_media’, data: {…}, success: false}

  2. data: {message: ‘Sorry, you are not allowed to upload this file type.’}

  3. name: “media::upload_media”

  4. success: false

  5. [[Prototype]]: Object

1. constructor: ƒ Object()
2. hasOwnProperty: ƒ hasOwnProperty()
3. isPrototypeOf: ƒ isPrototypeOf()
4. propertyIsEnumerable: ƒ propertyIsEnumerable()
5. toLocaleString: ƒ toLocaleString()
6. toString: ƒ toString()
7. valueOf: ƒ valueOf()
8. __defineGetter__: ƒ __defineGetter__()
9. __defineSetter__: ƒ __defineSetter__()
10. __lookupGetter__: ƒ __lookupGetter__()
11. __lookupSetter__: ƒ __lookupSetter__()
12. __proto__: (...)
13. get __proto__: ƒ __proto__()
14. set __proto__: ƒ __proto__()

Following is the server Info:

Server architecture Linux 3.10.0-1160.45.1.el7.x86_64 x86_64
Web server Apache
PHP version 8.0.17 (Supports 64bit values)
PHP SAPI fpm-fcgi
PHP max input variables 3000
PHP time limit 300
PHP memory limit 512M
Max input time 300
Upload max filesize 512M
PHP post max size 512M
cURL version 7.81.0 OpenSSL/1.1.1n
Is SUHOSIN installed? No
Is the Imagick library available? Yes
Are pretty permalinks supported? Yes
.htaccess rules Custom rules have been added to your .htaccess file.

Hello @amanjaura,

Thanks for writing in! Based on the information that you have sent to us, it seems that there is a filetype attached to the template that is not allowed by your server. In most case, your server does not allow you to upload an .SVG file (or it could be something else) that is currently in your template. Please check for it. You could also temporarily remove the .svg file, save your template and then try to upload it again.

If this is not helping, please provide us access to your site or at least send to us the template that you would like to import to you site. 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

Best Regards.

awesome. It was an svg file. Installed the SVG support plugin and installed the template and it worked. Thank you so much.

You are most welcome, @amanjaura.

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