In this tutorial, I will be sharing with you how to fix “upload: failed to write file to disk” error in WordPress. Now, if you are new to WordPress possibly you have a new web host, or you have a new server.
There is a good chance that the permissions may not be set correctly and this is the most typical reasons why you would get an error like this to let you know that it cannot write on the disk.
It is one of those things that we have to go in and change the permissions so that you can upload the files that you want. Perhaps you are working on an image or working on a blog post or something like that. You are trying to upload a file, and it simply will not work; usually, it is because of some file permissions.
So let’s go and fix that now.
Change the Files Permissions
So, what we are going to do is that we are going to log into our web server using an FTP client. I am using FileZilla FTP client. We are going to go into the directory and change the files permissions so that we can access them right on the disk. What that means is that we are going to get permission so that we can upload our images and things like that. So because our images are in the content folder, we will go to wp-content. Now we will open this and go to the bottom where it says file permissions. Again, your FTP client might be different, and again I am using FileZilla. disk
So, we are going to open our file permissions here; what we are going to do is we are going to enter the value of 755, and we are also going to make sure we check the boxes that say “Recurse into subdirectories” and then “Apply to directories only” option. You can save that, and now we are going to go back and again we are going to enter the number of 644. disk
Again we are going to make sure it is “Recurse into subdirectories” and again “Apply to files only” option. We are going to click ‘OK’, and now your FTP client has set the files permission as 644 with all the files within the wp-content folder. Now simply go back to your website and try to upload your image or do whatever you were doing again and the error should be corrected.
Contact your Web Hosting Provider
If after changing the files permissions you are still having this error; it could simply be that you have to contact your web hosting provider to help then about emptying your temporary file directory.
You see, WordPress uploads your images and then saves it first as a temporary directory on your web server and then it moves it to your uploads folder. So if your temporary directory is full or not configured correctly; this will make it that we cannot write the file to the disk which will then cause the error to happen. So again you may simply have to contact your web hosting provider if this simple fixes did not work for you.
How To Fix White Text And Missing Buttons In WordPress Visual Editor?
Ever since the WordPress CMS came into existence, it has been helping thousands of users in sharing their stories with the rest of the world.
All thanks to WordPress that users can easily write quality content and use the visual editor to make it look attractive — that too from the comfort of their homes or offices.
However, at times when they log into their WordPress dashboard to start writing a post, they may witness many important buttons missing from visual editor panel. It’s a serious issue and should be dealt with immediately to keep things under control.
As a WordPress user, if you want to enjoy your everyday writing experience, it is important that you fix this white text and missing buttons error as soon as possible.
In this guide, we will share a step-by-step process to help you resolve this issue easily.
White Text And Missing Buttons In Visual Editor
Typically, your WP dashboard looks like this where different buttons for styling (bold, underline, text color, etc.) are available.
However, at times these buttons don’t appear on the dashboard, making it tough for users to edit their posts.
It could be due to any small error which you can fix easily.
Often, the absence of TinyMCE plugin in many WordPress themes causes white text and missing buttons error in WP visual editor.
To resolve it, you can simply go to Plugins and click on ‘Add New’ option.
Now, search for the TinyMCE Advanced plugin in WP plugin store.
Once you are there, install the plugin, activate it and refresh your website. Usually, when this plugin is installed, all the missing buttons in WP visual editor will appear, and the white text error will resolve. If the problem continues, you can clear the browser cache and see if it works or not.
However, if the error doesn’t get fixed even after using the above two methods, it means that a file in your WordPress is corrupted.
White Text And Missing Buttons In Visual Editor …….
What you can do is replace TinyMCE script in your web server to bring things to normal. For this, you can use FTP to access the public_html folder and select wp-includes.
Go to the theme folder.
Select the JS folder
Upload a brand new copy of js TinyMCE file.
Upload new TinyMCE files
It should fix the problem. If it doesn’t, then go to the wp-config.php folder and click on view/edit.
Edit wp-config.php file
Paste this code right after the opening PHP tag – define( ‘CONCATENATE_SCRIPTS’, false);
Concatenate Scripts in WP Config file
Save it and refresh the website. This should help you resolve the problem once and for all.
If you enjoyed this article, then you’ll really enjoy the 24/7 WordPress website management and support services has to offer! Partner with the team that offers every aspect of premium WordPress support services.
Our expert engineers have your back from speed optimization services to unlimited website edits, security, 24/7 support. Bring us in as part of your team to make your site Bufftastic! Check out our plans.