jenv: is there a command that indicates which plugins are enabled? - jenv

The jenv plugins command will, I believe, show you all available plugins.
Is there a jenv command that indicates which plugins are actually enabled?

The way to list all plugins is by running jenv plugins --enabled

Related

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

How to determine version numbers of modules of atom plugins

I'm using the atom-beautify plugin for the Atom Editor. Recently it started ignoring /* beautify preserve:start */ in my JavaScript files. The plugin (not Atom) should be using JS Beautify by default, so I suspect the bug was introduced there. I'm not really sure. I'd like to track it down, but realized I don't know how to determine which module that a plugin is using. Is there a development feature of Atom that would allow me to enumerate all the plugins and their dependency versions?
apm list -g will display all Atom packages and their versions.
npm list -g will display all of the Node packages along with their versions and dependencies.
As far as the root of your question, have you looked for a relevant setting in the atom-beautify package settings? (Settings > atom-beautify > Settings > JavaScript)

Wordpress plugin install fail

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?

Plone4 - Installing addons

I am new to Plone and I am having trouble understanding how to install addons. I have read the documentation provided on their site, but I am still a bit confused.
The addon that I am trying to install is http://plone.org/products/uwosh.timeslot.
In the documentation, I see them using a something like cmd.exe, but I am not really sure what it is. Is it the python.exe located in the python folder?
Also, I am not clear if the addon that I wish to install is in an "egg" form.
Could someone please provide me with a detailed process for installation?
Thank you.
http://plone.org/documentation/kb/installing-add-ons-quick-how-to
Find, then edit your buildout.cfg file per instructions above to add the uwosh.timeslot egg.
Re-run bin/buildout (or bin\buildout on windows) from the main plone directory on the command-line (do not run from the bin directory as your current working directory).
Answering your other questions:
Yes, packages listed on PyPI.python.org are "eggs" in the sense that you install them as eggs in buildout, not classic "Products".
cmd.exe is MS Windows command-line, assuming you are using Windows, not Unix.
This is only useful if you know where your Plone installation is located on disk -- you should.

In drupal, do I need to update after "site install"ing using drush?

When I use drush to site install (drush si profileName), do I need to run an update so all the modules will run what they need as part as their update methods, or does a fresh "site install" doesn't require an update ?
If it matters, I'm talking about drupal 7. RC1 to be exact.
drush site-install does the same thing as a GUI site install: that is, it only installs local install profiles and does not update. The reason is presumably installation profiles are designed and tested around specific versions of modules.
You can update after the site install by running drush update.
In terms of whether or not you should run update.php (i.e. drush updatedb) after a site install to get the latest changes from hook_update_N() and hook_install(), you don't need to worry about it. hook_install() should always contain the latest version of the module's schema, and hook_install() is always invoked the first time a module is enabled.

Resources