Wordpress: Failed to write file to disk

Pain in the ass doing that…

Wait here after some hours. [continues in the next post]

if you wait. he’ll come =)

1 Like

hope so

1 Like

Sorry for the late reply. I am going crazy over here. From what I have read in the comments, I can confirm I am having problems similar to jroson here.

My themes zip file is only 2.6 MB. I have used File Zilla Client and tried to upload the extracted theme folder to wp-content/themes but it still doesn’t work.

I can see that the theme.zip file is already there inside wp-content/themes when I look from File Zilla’s Client app. But when I am on Wordpress, I see nothing and whenever I tried to select theme.zip file and install it either gives me error “failed to write file to disk” or sometimes the page just crashes that “mydomain.com did not send any data”

Also, just now I noticed a new problem, now everytime I click on add new themes I get this error “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”

I am also using free hosting with infinity free and I’m being doubtful if using free hosting can be a problem as someone said you can not upload stuff with free hosting.

But as jroson said, I can’t even upload a 9 kb image via media without getting the “failed to write file to disk” error.

Also, I am using wordpress for the first time so it should be noted that I don’t have absolutely any previous content already uploaded. It is bascally all empty.

I have also tried to change permissions to 777 to all files and folders and it still doesn’t work.

Please help. Please let me know what can I provide you to assist me?

I am having the same problems bro…please let me know if you find a solution

Can you try to extract the theme zip file on your computer and upload the theme folder on htdocs/wp-content/themes/, then upload the image on htdocs/wp-content/uploads/2019/07/ and see if it works?

I did try this last night but it didn’t work.

Also, now I can’t not access anything. If I try to access either backend and frontend of my website I get this message “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”

I think my website has been broken.

Okay so I uninstalled and reinstalled wordpress so the technical difficulty error is gone. But I’m still facing the “failed to write file to disk” issue.

Moreover, I tried to install any theme and I get random errors. Sometimes, the page crashes, sometimes it says "Installation failed: 502 Bad Gateway 502 Bad Gateway nginx "

Wheres is the ADMIN !!!

Wait some hours. He may be busy this time.

allright

1 Like

I’m sorry, but why are you crying for my help @jroson? I have just as much information about this issue as you do. WordPress gives an error but doesn’t say what the problem is. The problem could be a hosting issue, but without more information, there is not much I can do.

Can you upload files through FTP? Did you enable WordPress debug mode? Did you disable all plugins?

I’m surprised I wasn’t even addressed who created this post.

I can upload files through FTP but they are not reflected in WordPress. I have disabled all the plugins but still the page gives error. However I’m not sure about how to enable wordpress debug mode, can you please help?

From the topic “HTTP ERROR 500”:

In Wordpress, for example, you can find the line define('WP_DEBUG', false); in the wp-config.php file. Change this line to define('WP_DEBUG', true); , and Wordpress will show detailed error messages. However, the exact steps vary depending on the script.

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