• Resolved fedesasso

    (@fedesasso)


    I’m testing TranslatePress plugin on a local development site on IIS.

    When I click on the “Translate Site” tab, I get the error:

    Warning: is_file(): open_basedir restriction in effect. File(C:\inetpub\wwwroot\MyWordPress//?trp-edit-translation=preview) is not within the allowed path(s): (C:\Windows\Temp;C:\inetpub) in C:\inetpub\wwwroot\MyWordPress\wp-content\plugins\translatepress-multilingual\includes\class-url-converter.php on line 379

    as you con see, the reported path is well within the basedir permitted path “C:\inetpub”
    What’s the issue?

Viewing 1 replies (of 1 total)
  • Dragos

    (@dragosvrejiu)

    Hello,

    Since this looks a lot like a conflict with some other code, the first/next recommended step is the conflict test:

    ??*Briefly* disable all other plugins and enable the default Twenty Nineteen theme. If this fixes the problem, enable everything one by one, checking each time to see when the problem returns.

    Also,disable any speed optimization plugin and clear the cache.

    Please let us know when you find the conflict so that we can take a look and see what we can do about it.

Viewing 1 replies (of 1 total)
  • The topic ‘open_basedir restriction in effect, but file is in the correct directory’ is closed to new replies.