• Resolved jmortell

    (@jmortell)


    Environment: Plesk

    The warning message below does not appear when open_basedir is set to “none”, however when it is set to {DOCROOT}{\}{;}{TMP}{\} it shows the warning. Please note that Drive D:\ appears to repeat in the file path in question. It seems odd that the root drive would be appended after the /plugins folder and that it is referring to a non-existent path.

    Any comment/feedback would be appreciated.

    Warning: is_readable(): open_basedir restriction in effect. File(D:\sites\somedomain.com\httpdocs/wp-content/plugins/D:\sites\somedomain.com\httpdocs/wp-content/languages/plugins/tribe-common-en_US.mo/tribe-common-en_US.mo) is not within the allowed path(s): (D:\sites\somedomain.com\httpdocs\;C:\Windows\Temp\) in D:\sites\somedomain.com\httpdocs\wp-includes\l10n.php on line 556

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Brook

    (@brook-tribe)

    Howdy Jmortell,

    I would love to help you with this. It seems there is a bug in our library that is causing that duplicate path issue. I am talking to the devs about getting a patch included in an upcoming version.

    Until then I believe this miniature plugin fixes it, it does for me at least. If you install and activate it the errors should go away. Did that work for you?

    Cheers!
    – Brook

    Thread Starter jmortell

    (@jmortell)

    Hi Brook,

    Thank you for the quick response. Your suggestion worked, thank you!

    Looking forward to the newer version that will contain this fix.

    Regards,

    – Julius

    Hi!

    We are having the same issues, 5 warnings in total from event tickets, events calendar and tribe common.

    The mini plugin fixed it, but it would be nice to get permanent solution.

    error log (before plugin):

    Warning: is_readable(): open_basedir restriction in effect. File(D:\Storage\Web\WordPress\example.com/wp-content/plugins/D:\Storage\Web\WordPress\example.com/wp-content/languages/plugins/tribe-common-da_DK.mo/tribe-common-da_DK.mo) is not within the allowed path(s): (D:/Storage/Web/WordPress/example.com/;//./pipe/MySQL;//./pipe/MySQL2) in D:\Storage\Web\WordPress\example.com\wp-includes\l10n.php on line 562 
    
    Warning: is_readable(): open_basedir restriction in effect. File(D:\Storage\Web\WordPress\example.com/wp-content/plugins/D:\Storage\Web\WordPress\example.com/wp-content/languages/plugins/event-tickets-da_DK.mo/event-tickets-da_DK.mo) is not within the allowed path(s): (D:/Storage/Web/WordPress/example.com/;//./pipe/MySQL;//./pipe/MySQL2) in D:\Storage\Web\WordPress\example.com\wp-includes\l10n.php on line 562 
    
    Warning: is_readable(): open_basedir restriction in effect. File(D:\Storage\Web\WordPress\example.com/wp-content/plugins/D:\Storage\Web\WordPress\example.com/wp-content/languages/plugins/event-tickets-plus-da_DK.mo/event-tickets-plus-da_DK.mo) is not within the allowed path(s): (D:/Storage/Web/WordPress/example.com/;//./pipe/MySQL;//./pipe/MySQL2) in D:\Storage\Web\WordPress\example.com\wp-includes\l10n.php on line 562 
    
    Warning: is_readable(): open_basedir restriction in effect. File(D:\Storage\Web\WordPress\example.com/wp-content/plugins/D:\Storage\Web\WordPress\example.com/wp-content/languages/plugins/tribe-events-calendar-pro-da_DK.mo/tribe-events-calendar-pro-da_DK.mo) is not within the allowed path(s): (D:/Storage/Web/WordPress/example.com/;//./pipe/MySQL;//./pipe/MySQL2) in D:\Storage\Web\WordPress\example.com\wp-includes\l10n.php on line 562
    
    Warning: is_readable(): open_basedir restriction in effect. File(D:\Storage\Web\WordPress\example.com/wp-content/plugins/D:\Storage\Web\WordPress\example.com/wp-content/languages/plugins/the-events-calendar-da_DK.mo/the-events-calendar-da_DK.mo) is not within the allowed path(s): (D:/Storage/Web/WordPress/example.com/;//./pipe/MySQL;//./pipe/MySQL2) in D:\Storage\Web\WordPress\example.com\wp-includes\l10n.php on line 562

    Hi

    The mini plugin fix worked for me thanks!

    Kind Regards

    Pat

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘setting open_basedir causes invalid path’ is closed to new replies.