I recently migrated to a new hosting provider and since then I get the following error at the top of all pages including the backend
Warning: file_put_contents(.../wp-content/uploads/wpdiscuz/captcha/.htaccess): failed to open stream: No such file or directory in .../wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Field/DefaultField/Captcha.php on line 132
I checked and I can't see any htaccess file in the directory. I tried reinstalling the plugin but no luck
Any help appreciated
Cheers
Hi @rumackay,
It seems there is no permission to create files on the server. Please read this article, it should help you to solve the problem.
Also, read this support topic similar problem is described here:
Hi Arina,
Tried the permissions thing using FTP and no luck. The same error message appears. I deactivated then uninstalled the plugin then re-installed and got the following error code:
"Unable to create directory uploads. Is its parent directory writable by the server?"
I then checked the folders permissions and they look right. I'm missing something obvious here (usually the way).
Thanks
Chris
Hi @rumackay,
This article should help you. Please check it out:
https://www.tipsandtricks-hq.com/how-to-fix-the-unable-to-create-directory-error-in-wordpress-5264
Thanks Arina,
Fix #1 worked for me
I knew it would be something simple. Great plugin and great support.
Thanks
Chris