Not able to install woocommerce plugin in wordpress - woocommerce

How do i fix this error while installing woocommerce plugin ? i'm using https://www.000webhost.com/ free hosting plan.
Installation failed: Could not copy file. woocommerce/packages/woocommerce-blocks/assets/js/blocks/checkout/empty-cart/index.js

Related

How to install plugin in wordpress after following error?

I am trying to install the wordpress plugin in my localhost wordpress. I am getting the following error whenever I try to install a new plugin.
Installation failed: Could not create directory.
You can try to delete the folder of the plugin and try to reinstall it again.
Or try this: Wordpress plugin install: Could not create directory
If you don't manage to setup the permission ask the hosting support to do that for you.

Wordpress: Unable to install plugins from wp-cli

Hi I am using a Ubuntu system. I am using a shell script to download wordpress from wget, update config and run it from nginx server.
Now I want to update this shell script so that when we install a fresh copy of WordPress, I get some plugins pre-installed.
So I installed wp-cli and ran the command
wp plugin install w3-total-cache --activate --allow-root
This command says the plugin has been activated successfully. But when I go to the site URL in the plugins section, it gives the following error
The plugin w3-total-cache/w3-total-cache.php has been deactivated due to an error: Plugin file does not exist.
This is true for any plugin that I try to install.
When I go to the plugins folder inside wp-content, I can see that plugin files exist. But still I get the error.
How to resolve this. Please help
You should try uploading the plugin by logging in to your wp-adm
Are you using the latest version of wp-cli?
Try: wp cli check-update

Installing Wp-Plugin without FTP Access

I have wordpress site on my server which only uses sftp.
I want to install and upgrade plugins, but it appears that you are required to enter your ftp login to install the plugins. Is there a way to install and upgrade plugins by manually uploading the files instead of having wordpress handle the entire process?
Add
define('FS_METHOD', 'direct');
to your wp-config.php
And it will be fine
You can install a plugin by simply uploading to the plugins directory and unpacking it. '/wp-content/plugins'. Note that you will still have to enable the plugin normally in Wordpress admin.

Fresh Wordpress Install on Azure Fails to Update to 3.7

I decided to try out Windows Azure for hosting Wordpress. So i just created a fresh new install of Wordpress from the gallery using the Websites option in Azure.
This is what i get when i try to update to 3.7
Downloading update from http://wordpress.org/wordpress-3.7-no-content.zip…
Unpacking the update…
Verifying the unpacked files…
Preparing to install the latest version…
Enabling Maintenance mode…
Copying the required files…
Disabling Maintenance mode…
Could not copy file.: index.php
Installation Failed
Any ideas why this is happening?
I experienced the same problem and got the same error message as Jef. To fix it do the following:
Open wp-config.php and delete/remove/comment out these lines of code:
define('FS_METHOD','direct');
define('FS_CHMOD_DIR',0777);
define('FS_CHMOD_FILE',0666);
Now add these lines of code:
define('FS_CHMOD_DIR', (0755 & ~ umask()));
define('FS_CHMOD_FILE', (0644 & ~ umask()));
Save and upload wp-config.php. Go to your dashboard and run the update. You will be asked for your ftp user name and password.

WordPress: what is the workflow to publish?

I'm new to WP and these were my steps:
I downloaded wp and I installed it (I also installed a pair of
plugins and a theme...).
I created a git repository in a remote host and i pushed
the wp project. In the remote host, I cloned the git repo to
/var/www/my_wp_project.
I request the url
http://my_remote_host/my_wp_project, but it asked me about installing wp
again...
Well after installed wp again, the theme is not the same
as in local...!
Can anyone give some advices?

Resources