Wordpress plugin install fail - wordpress

Today I am starting a new project and I am stuck on wordpress plugins installation
Downloading install package from
https://downloads.wordpress.org/plugin/types.1.8.11.zip…
Unpacking the package…
Installing the plugin…
The package could not be installed. No valid plugins were found.
Plugin install failed.`
I ve tried different plugins and all of them produce this error! any ideas?

you can use class-tgm-plugin-activation to install your plugin automatically at your theme
visit and download, https://github.com/TGMPA/TGM-Plugin-Activation
include at your functions

I managed to sucessfully install and activate it, right now. I used wp-cli, but that should not make much difference. I can recommend it though, as it is more verbose, which helps tracking down errors
What is the result of
ls -l .../path/to/wordpress/wp-content/plugins
Assuming you are on Linux/Unix. Do the other plugins have different permissions/users?

Related

How to install npm packages in Atom?

I'm trying to add WordPress Coding Standards to ESLint in Atom. Unfortunately there are no package I could add via Atom's installer. I've found one (I think) suitable package here but whenever I try to install it using Windows CMD or XAMPP shell I get "npm is ot recognized as internal or external command". I installed ESLint for Atom, so I've got the prerequisite met. Is it possible to add it to Atom on Windows at all?
Cheers, best regards.
Ok,
I digged into the topic and pparently I didn't have Node.js installed so I couldn't manage any npm packages. After installing Node.js I was able to install WordPress-Coding-Standards. Unfortunately I installed the wrong package at first, which was eslint-plugin-wordpress. After trying to set it up eslint started giving me plenty of errors. Then I found out (with a little help from guys on Github) that there are other WordPress Coding Standards plugin for eslint - eslint-config-wordpress which I installed as well. Now everything works like a charm. It's good to learn something new everyday.
Thanks, Dan.
EDIT
Now above packages are deprecated, use #wordpress/eslint-plugin

How to install Vega plugin for Kibana 5.5.0?

I am just starting using Kibana (5.5.0). I found a nice plugin called Vega. After spending several hours unsuccessfully trying to install this plugin, I decided to publish here this question.
For example, when I run this command bin/kibana-plugin install file:///ust/test/kibana-vega-vis-master.zip, I get this error:
Attempting to transfer from file:///usr/test/kibana-vega-vis-master.zip
Transferring 25554 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Plugin installation was unsuccessful due to error "No kibana plugins found in archive"
I think you are installing the wrong file. From the releases page, right click the vega_vis-5.5.0-(latest version).zip, use "copy link address", and use that URL with bin/kibana-plugin install https://....
For example, for the current version as of this writing, for Kibana 5.5.0, you would install it with:
bin/kibana-plugin install https://github.com/nyurik/kibana-vega-vis/releases/download/v0.2.3/vega_vis-0.2.3--for-Kibana-5.5.0.zip

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

WP 4.x + Jetpack Installation Error: HTTP_RAW_POST_DATA

When installing jetpack from the auto install screen, I wasn't able to get it working to an internal 500 error related to this PHP setting.
HTTP_RAW_POST_DATA
After a while trying different configurations with no luck, I decided to extract the zip and install manually and it installed correctly with no problems so far.

Install Distribution on Existing Drupal INstallation

How do I Install Distribution on Existing Drupal Installation, I wanted to install OpenEnterprise on a newly installed Drupal by Softtacolous? I tried going through the themes route by did not work.
Don't use Softacolous and do manual install and it solves it.

Resources