wp recaptcha wordpress plugin install error - wordpress

I am trying to install wp-recaptcha in my wordpress site. But it showed me the following error.
Warning: require_once(/home2/sample/public_html/test.com/wp-content/plugins/wp-recaptcha/recaptchalib.php) [function.require-once]: failed to open stream: No such file or directory in /home2/sample/public_html/test.com/wp-content/plugins/wp-recaptcha/recaptcha.php on line 158
How to fix this?

It seems the recaptchalib.php file is missing in the plugin directory, or that the Web server can not access it. Check you have uploaded all plugin files (since recaptchalib.php is present in the plugin package) and that the file permissions are set correctly.

Related

Wordpress Plugins Couldn't Update: Could not create directory

Good day! Why is it that I am not able to update my plugins in my Wordpress Website.
In my FTP File I have already set my plugins folder to 755 then configured my wp-contents to 755. In my wordpress Site Health, this is what is written in File Permission
The main WordPress directory Writable
The wp-content directory Writable
The uploads directory Writable
The plugins directory Writable
The themes directory Writable
I have done everything written in this site and still I can't update any of my plugins. I don't know what is wrong anymore or what should I do.
I am using CWP, with WordPress 5.5.1 and PHP version 7.4.10
One way to solve this problem, trying to change the FTP permissions by the “wp-config.php” file.
There're some steps to fix “Installation failed, could not create directory.” From your web hosting account, open the “File Manager”. Within the root folder, locate the “wp-config.php” file.
In your “wp-config.php” file, enter the following passage of code.
NOTE: Replace the information in brackets with your information.
define(‘FS_METHOD’, ‘ftpext’);
define(‘FTP_BASE’, ‘/pathtorootofyourblog/’);
define(‘FTP_USER’, ‘ftpusername’);
define(‘FTP_PASS’, ‘ftppassword’);
define(‘FTP_HOST’, ‘yoursite.com’);
define(‘FTP_SSL’, false);
Save the “wp-config.php” file.
Return to your dashboard and try to install the plugin or upgrade once again. This time, it should be done without any problems.

wordpress theme installion error

I installed the Wordpress 4.2 on my local server and copy my theme to wp-contat\themes. When I run the Wordpress admin panel and select the theme it gives me this error:
Warning: require_once(http://localhost/isee/wp-content/themes/isee/includes/db.php): failed to open stream: HTTP request failed! HTTP request failed! HTTP/1.0 404 Not Found in D:\wamp\www\isee\wp-content\themes\isee\modules\careers.php on line 6
Fatal error: require_once(): Failed opening required 'http://localhost/isee/wp-content/themes/isee/includes/db.php' (incpude_path='.;C:\php\pear') in D:\wamp\www\isee\wp-content\themes\isee\modules\careers.php on line 6
It is not as simple as copy and paste files. You need to set up a new theme. Check if you copied in a totally different directory as your original wordpress. In that case, what you did is to set up a complete different wordpress instance. What you need to do in that case, is to create an empty database in phpMyAdmin with the same name as your new wordpress site. Just be careful not to duplicate the name of the previous instance.
In case you only copied the theme folders in a new folder, you need to update the style.css file to be a child from the original folder you copied from. You can go to developer.wordpress.org to see under ThemeHandbook->Theme Basics->Theme Files AND GO TO THE BOTTOM. There you fill find the code you need to copy and paste in a style.css fyle in your root theme directory.

drupal issue with install profile and domain module?

I had generated the make file with the contrib module domain.
When we enable the domain module, we just want to append the following code to the settings.php file.
include_once DRUPAL_ROOT.'/profiles/my_profile/modules/contrib/domain/settings.inc';
When I try to install this profile, I get an error
Fatal error: Undefined function domain_get_primary_table()
this happens because when we install a profile the settings.php file overwrites the included settings.inc. So when we try to install the domain module it gives the above error and stops installation.
Anyone have an idea how can we install the profile along with the domain module without this issue.

Cannot Install Wordpress Plugin (Download failed)

i am using WordPress 3.6.1 and I have strange problem today. First I have to tell that my current website was copied from old website, both the WP files and database.
So in the current website, I try to install new plugin, but it returns error:
Downloading install package from http://downloads.wordpress.org/plugin/xml-sitemap-xml-sitemapcouk.zip…
Download failed. Could not open handle for fopen() to /home/k5841724/public_html/wp-content/uploads/xml-sitemap-xml-sitemapcouk.tmp
Then all my plugins are dissapered (Akismet, Hello Dolly, etc), and I can't install any plugin. Nothing wrong with my permission, /wp-content, /wp-includes, /wpcontent/uploads all are set to 755. Any idea what is the solution for this issue? Thanks.
addition note:
all my plugins folder (Akismet, etc) still there inside wp-content/plugins folder, but not appear in WP Dashboard.
You should check permissions for folder wp-content/uploads
I think wordpress can't write to this folder. Set for this folder permission 777 and try again.
I have experienced the same error with plugin installation.
In my case it was very informative to change WP_DEBUG to true in my wp-config.php file.
After doing so I have noticed the error message, telling me that open function is disabled due to security reasons.
Try changing your php.ini settings so that disable_functions doesn't contain fopen

WordPress update failing

I'm having a problem when trying to update WordPress to the latest version I get the following error:
Download failed.: Destination directory for file streaming does not exist or is not writable.
Installation Failed
I'm also having the same problem when uploading images, it fails and gives the following error
has failed to upload due to an error
The uploaded file could not be moved to "the website path and then uploads directory"
I have checked the permissions of the folders and the folders themselves are set to 755 & the files inside them set to 644.
Could anyone tell me why it would be doing this?
Where running a plesk server.
Thank You,
Mark
Are there any more error messages, probably also in the servers log files? Probably the download for the update should be done to /tmp and you are not allowed to store files there? Try setting the constant WP_TEMP_DIR which should change the directory. Put something like this in your wp_config.php:
define('WP_TEMP_DIR', ABSPATH . 'wp-content/');
The permissions you're using seem reasonable, but they will only work if the FTP user that WordPress is using (set in your wp_config.php file) is the same as the owner of those files/folders.

Resources