WordPress.org

Ready to get started?Download WordPress

Forums

Cimy User Extra Fields
[resolved] Activation fatal error: doubled up dir name (8 posts)

  1. anmari
    Member
    Posted 2 years ago #

    Warning: require_once(C:web/wpbeta/wp/wp-content/plugins/C:/web/wpbeta/wp/wp-content/plugins/cimy-user-extra-fields//cimy_uef_email_handler.php) [function.require-once]: failed to open stream: Invalid argument in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_user_extra_fields.php on line 184

    Change line 157 to

    $cuef_plugin_dir = $cuef_plugin_path;

    http://wordpress.org/extend/plugins/cimy-user-extra-fields/

    2) Not sure of it was because I have debug on, but with admin css - the "add field" button is way off the screen, so have to scroll to find it , took a awhile to realise why I could not 'add field'

    3)
    also my favourite encouragement for rigourous coding - develop with WP_DEBUG on (it's good for bug prevention and detection in the long run)

    Notice: Undefined index: wp_hidden_fields in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_options.php on line 474
    Notice: Undefined index: version in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_options.php on line 537

    Notice: Undefined index: version in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_options.php on line 538
    (installed is v2.1.1)

    <b>Notice</b>: Undefined index: extra_fields_title in <b>C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_options.php</b> on line <b>767</b>

    Undefined variable: show_wp_lastname in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_options.php on line 827
    disabled="disabled" />

    ====

    Notice: Undefined variable: store_rule in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 449

    Notice: Undefined variable: store_rule in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 450

    Notice: Undefined variable: store_rule in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 452

    Notice: Undefined variable: store_rule in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 453

    Notice: Undefined variable: store_rule in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 455

    Notice: Undefined variable: store_rule in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 456

    Notice: Undefined variable: store_rule in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 579

    Notice: Undefined variable: fieldset in C:\web\wpbeta\wp\wp-content\plugins\cimy-user-extra-fields\cimy_uef_admin.php on line 667

  2. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    1) I don't get it why should give error. Only thing I can think of is plugin_basename doesn't work correctly in your WordPress for some reasons.

    Would be nice to know more on your system and versions.

    2) small screen?

    3) I know and I use it, I am slowly fixing them, but takes time and priority is to fix real bugs ;)

  3. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    Can you please run these three lines for me and tell me relative output?
    echo __FILE__;
    echo dirname(__FILE__);
    echo plugin_basename(dirname(__FILE__));

  4. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    Any possibility to have those info?

  5. hallipa
    Member
    Posted 2 years ago #

    I've got this same problem. It works fine if I change it manually.

    Here's what it says when I try to activate the plugin (has double-slash in the path):

    Warning: require_once(/data2/var/www/vhosts/[mydomain].com/httpdocs/wp-content/cimy-user-extra-fields//cimy_uef_email_handler.php) [function.require-once]: failed to open stream: No such file or directory in /data2/var/www/vhosts/[mydomain].com/httpdocs/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php on line 169

    I put your code into single.php and here is the info it outputs:

    /data2/var/www/vhosts/[mydomain].com/httpdocs/wp-content/themes/DimeSpring/single.php

    /data2/var/www/vhosts/[mydomain].com/httpdocs/wp-content/themes/DimeSpring

    themes/DimeSpring

    Thanks a lot.

  6. hallipa
    Member
    Posted 2 years ago #

    Hm. Last version of the plugin (2.3.2) seems to be working fine out of the box.

    Thanks.

  7. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    anmari do you confirm this ^ ?

  8. Marco Cimmino
    Member
    Plugin Author

    Posted 1 year ago #

    1. has been finally fixed (in a better way) in v2.3.8

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic