WordPress.org

Support

Support » Plugins and Hacks » Cimy User Extra Fields » [Resolved] [Plugin: Cimy User Extra Fields] will not activate in relocated plugin directory environment

[Resolved] [Plugin: Cimy User Extra Fields] will not activate in relocated plugin directory environment

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marco Cimmino

    @cimmo

    The problem is not the shared directory or the locaion, is you changed ‘plugins’ to something else right?

    I always missed the right bit to reproduce this issue.

    Plugin Author Marco Cimmino

    @cimmo

    anmari can you _please_ paste here your wp-config.php lines related on the topic?
    If you paste a way to reproduce instead of random fixes I double check your fix doesn’t break other installations.

    If you keep not posting a use case to reproduce then you’re just posting noise here.
    Please add the relative wp-config.php lines that you have, so I paste exactly into mine.

    Marco, I came to report something else (and will do, in a separate post), but saw this topic first…

    I haven’t tested the bug anmari reports (am finishing the day, and can look at it tomorrow), but I do have exactly this development environment configured with one plugin folder/many installs.

    The wp-config code for my wp31.dev, wp32.dev, wp33.dev and wp39.dev is this:

    define( 'WP_PLUGIN_DIR', '/www_dev/dev.wp00/wp-content/plugins' );
    define( 'WP_PLUGIN_URL', 'http://wp00.dev/wp-content/plugins');
    define( 'WPMU_PLUGIN_DIR', '/www_dev/dev.wp00/wp-content/mu-plugins' );
    define( 'WPMU_PLUGIN_URL', 'http://wp00.dev/wp-content/mu-plugins');

    So, all dev sites read the plugin from wp00.dev

    Hi sorry didn’t get the updates on these.

    I usually keep at least 3 wp installs
    wp-beta
    wp latest
    wp ms

    I have my main plugin folder in one install

    Then in the others I have

    define( ‘WP_PLUGIN_DIR’, ‘C:\wamp\www\wp\wp-content/plugins’ );
    define( ‘WP_PLUGIN_URL’, ‘http://localhost/wp/wp-content/plugins’);

    to use the plugins from the main install

    Sometimes I share the whole WP_CONTENT folder in similar manner.
    I also have

    define(‘CUSTOM_USER_TABLE’, ‘wp_users’);
    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    so can have different sets of user databases (large / small for test purposes) – That trips up plugins not using std wp user db calls !! $wpdb->user

    Basically plugin/theme authors MUST use the correct wp functions to avoid failing in these situations.

    Plugin Author Marco Cimmino

    @cimmo

    All right thanks, will try to reproduce and fix.

    Plugin Author Marco Cimmino

    @cimmo

    Fixed in v2.3.8

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Cimy User Extra Fields] will not activate in relocated plugin directory environment’ is closed to new replies.
Skip to toolbar