Notifications
Clear all

[Solved] Error with capthca

5 Posts
2 Users
0 Likes
1,554 Views
(@rumackay)
New Member
Joined: 5 years ago
Posts: 3
Topic starter  

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


   
Quote
Arina
(@arina)
Support Team
Joined: 10 years ago
Posts: 101
 

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. 

https://www.wpbeginner.com/beginners-guide/how-to-fix-file-and-folder-permissions-error-in-wordpress/

Also, read this support topic similar problem is described here:

  https://gvectors.com/forum/how-to-and-troubleshooting/lots-of-code-errors-htdocs-wp-content-uploads-wpdiscuz-captcha-htaccess/#post-11964


   
ReplyQuote
(@rumackay)
New Member
Joined: 5 years ago
Posts: 3
Topic starter  

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

 


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 10 years ago
Posts: 101
 

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


   
ReplyQuote
(@rumackay)
New Member
Joined: 5 years ago
Posts: 3
Topic starter  

Thanks Arina,

Fix #1 worked for me

I knew it would be something simple. Great plugin and great support.

Thanks

Chris

 


   
ReplyQuote
Share:
Scroll to top