• Resolved rredpath

    (@rredpath)


    After upgrade to Version 8.9.1 I get the following error on all site pages. Any idea on what file to make the code correction?

    Thanks!

    Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(D:\Inetpub\cross/wp-content/plugins/D:\Inetpub\cross/wp-content/languages/subscribe2-en_US.mo) is not within the allowed path(s): (D:\;C:\php5;C:\Temp;C:\Windows\Temp) in D:\Inetpub\cross\wp-includes\l10n.php on line 339

    http://ww.wp.xz.cn/extend/plugins/subscribe2/

Viewing 9 replies - 16 through 24 (of 24 total)
  • Sventas

    (@sventas)

    Just tried it out, but without any success. I guess I will try contacting server administrator and try to change php.ini open_basedir settings, will inform if that will work

    @sventas,

    So changing to basename calls in the core WordPress function made no difference?

    Sventas

    (@sventas)

    @matt,

    No, not at all. Still the same error

    Sventas

    (@sventas)

    While installing the plugin i get the error

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(C:\Windows\Temp) is not within the allowed path(s): (C:\Inetpub\vhosts\****\httpdocs\) in C:\Inetpub\vhosts\****\httpdocs\wp-includes\functions.php on line 1429

    And on activation of plugin the error is as described in the first post on this topic.

    @sventas,

    🙁 I wonder if it is just an open_basedir limitation on the server then…

    Sventas

    (@sventas)

    I wonder too 🙂 Will inform you if something changes

    @sventas,

    Try this:

    In the classes/class-s2-core.php file right at the top is a function called load_translations() and it looks like this:

    function load_translations() {
    	load_plugin_textdomain('subscribe2', false, S2DIR);
    	load_plugin_textdomain('subscribe2', false, S2DIR . "languages/");
    	load_plugin_textdomain('subscribe2', false, WP_LANG_DIR . "/");
    } // end load_translations()

    Change it to this:

    function load_translations() {
    	load_plugin_textdomain('subscribe2', false, S2DIR);
    	load_plugin_textdomain('subscribe2', false, S2DIR . "languages/");
    } // end load_translations()

    Sventas

    (@sventas)

    @matt,

    It works perfectly now. Thank you very much for your help! 🙂

    @sventas,

    Excellent. Thanks for the confirmation. I’ll make sure that get’s fixed in the next version.

Viewing 9 replies - 16 through 24 (of 24 total)

The topic ‘Subscribe2 Version 8.9.1 error’ is closed to new replies.