Support » Plugin: Disable Gutenberg » file is not within the allowed path(s)

  • Resolved gbdg

    (@gbdg)


    I host a site that includes the “disable-gutenberg” plugin. I am seeing significant numbers of errors, similar to the following, in the server logs. Any idea what is wrong?

    PHP Warning: is_readable(): open_basedir restriction in effect. File(C:\inetpub\vhosts\maindomain.com\seconddomain.com\blog/wp-content/plugins/C:\inetpub\vhosts\maindomain.com\seconddomain.com\blog\wp-content\plugins\disable-gutenberg/languages/disable-gutenberg-en_US.mo) is not within the allowed path(s): (C:/Inetpub/vhosts/maindomain.com\;C:\Windows\Temp\) in C:\inetpub\vhosts\maindomain.com\seconddomain.com\blog\wp-includes\l10n.php on line 741

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gbdg

    (@gbdg)

    On closer review I see that all of these errors are attempts to hit this
    “\blog\wp-includes\l10n.php on line 741” This is occurring repeatedly, every 30-40 seconds.

    There is a 2nd site that belongs to the same client. That blog is also seeing heavy activity against that L10.php file, while referencing several different plugin names. Here is an example:

    PHP Warning: is_readable(): open_basedir restriction in effect. File(C:\inetpub\vhosts\maindomain.com\httpdocs\blog/wp-content/plugins/C:\inetpub\vhosts\maindomain.com\httpdocs\blog/wp-content/languages/plugins/the-events-calendar-en_US.mo) is not within the allowed path(s): (C:/Inetpub/vhosts/maindomain.com\;C:\Windows\Temp\) in C:\inetpub\vhosts\maindomain.com\httpdocs\blog\wp-includes\l10n.php on line 741

    Plugin Author Jeff Starr

    (@specialk)

    I’m not sure but it looks like there is some misconfiguration with your site/server. The PHP Warning “is_readable(): open_basedir restriction in effect” is very common, for example lots of results via Google for that very phrase. Best advice would be to review some results from that search and then ask your web host for help to resolve the issue.

    Thread Starter gbdg

    (@gbdg)

    Hi Jeff – thanks for the reply

    Actually I am the web host. I recently migrated these and the rest of my accounts to a new data center. I’m wondering if there is a strategy beyond uninstalling the various plugins, in hopes that I can resolve this.

    In the old environment, a reference to “hshome” would have appeared within the file/folder path. It would have been something in the form of “c:\hshome\accountname\domainname.com\index.php” which would have been the root of the site.

    I used Better “Search and Replace” looking for instances of “hshome” which could identify where something might still be configured for the old environment

    wp_options 7
    wp_postmeta 159
    wp_posts 80
    wp_yoast_indexable 287

    In the wp_options table I see hshome references in the “recently_edited” record, which I suspect is not what is influencing this. Not sure if there are other records in there with the hshome reference.

    The wp_posts table contains 3835 records. I honestly don’t know where, within that table to find hshome references. I’m not eager to perform bulk replacements until I can actually see what entries have hshome within them. Not sure how to find the specific entries, but I am hesitant to embark upon a global replace action lest I break something.

    In terms of wp_postmeta (44k records) and wp_yoast_indexable (1450 records), I don’t know where to find these folder path references.

    Thoughts?

    Plugin Author Jeff Starr

    (@specialk)

    Yeah it sounds like you’re in deep, maybe want to try asking in the general WP forum. Someone there may be able to help. Or if you have specific questions about Disable Gutenberg plugin they are welcome here.

    Plugin Author Jeff Starr

    (@specialk)

    Hi @gbdg, just wanted to follow up with this. It’s been awhile with no reply, so I hope the issue is resolved? Or if there is anything I can do to help, please let me know. Thank you.

    Plugin Author Jeff Starr

    (@specialk)

    Hey @gbdg, I hope you got this sorted. It’s been awhile with no reply so gonna go ahead and mark this thread as resolved to help keep the forum organized. Feel free to post again with any further questions or feedback, Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.