Uploading custom fonts does not work… “File imported”-notice is shown but I can not select any files, cause the popup is empty.
We had something possibly similar come up. Are you on https and is the upload in https? Do you have staging site I could see?
Of course, completely https:// and force ssl is activated too. I’ve tried to upload custom fonts on a different server on a clean install, it does not work, see video attached. You will find credentials there too.
Okay it looks like the template importer is hijacking that drag and drop action. We’ll get that fix, but in the meantime I think if you click the upload button inside the wordpress media library and then find your file it should work.
Nvm. Might be that font / font type or a browser issue. .ttf worked fine, I’ll try a woff.
Could you send me the woff file you were using or tell me where you were getting it? What browser are you using? I’m able to upload fonts to your server.
Hey Charlie, thanks for your help! I am using chrome on macOS 12 and the font files are from here: https://google-webfonts-helper.herokuapp.com/fonts
Yeah I’m still able with mac on chrome. Are you getting any console errors or PHP errors when you turn on WP_DEBUG?
Maybe try clearing the browser cache for your site too.
I tried it again with Chrome and Firefox, both in private mode, but it does not work. I tried to upload .eot, .woff, .woff2, .ttf and .svg. Not a single file was uploaded. Debug is on but no errors and the console is empty too… i dont get it
Does one file at a time work? Can you upload these in wp-admin in the media section?
Yeeees! One by one works and also the upload directly into the media section.
Okay great! I’ll see if I can either get multiple font uploads at once, disable that, or send out an error message.
This is a weird one. My suspicions lead to the php.ini value max_file_uploads
. However the wordpress media popup will auto batch files based on that, so setting it 1
still allowed me to upload more then one at a time. It makes me think your wordpress backend max_file_uploads
value is different then what cornerstone reads.
On your end I can only think right now is that you need to set the php.ini value of max_file_uploads
to be higher or make sure it’s the same on cornerstone as it is on Wordpress.
This must be a bug in cornerstone, cause I have this problem on more than one server and secondly this error first appears with pro 6.0.
I’ll take another look sometime this week.