Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have my live install on one server and a development install on another. I've added a plugin to both but it only appears in the plugin list in wp-admin on one.

For a plugin to appear in wp-admin does it need to appear in the database at all? Or is it that just by having the plugin file(s) in the plugins directory that it'll be detected?

Cheers!

share|improve this question

3 Answers 3

It saves the data in:

  • wp_options
    • Row: option_name
      • active_plugins
share|improve this answer
    
Not quite what I was looking for but that's my fault. Take a look at my answer for my findings. –  Matt Mar 28 '12 at 10:51
up vote 1 down vote accepted

The plugin file had Mac line endings so the meta-data comment at the top of the file wasn't being parsed properly. e.g.

<?php
/*
  Plugin Name: WP JSON-RPC
  Plugin URI: http://plugins.voceconnect.com
  Description: This plugin provides a JSON version of the XML-RPC WordPress API...
  Author: Jeff Stieler
  Version: 0.9.1
*/
share|improve this answer

In 99% of cases a plugin isn't detected when moving because the owner of the directory is different from the current owner, meaning no reading rights.

http://codex.wordpress.org/Changing_File_Permissions

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.