• Resolved Poet Gummerson

    (@poet-gummerson)


    I get this error from my site and I can not solve it:

    Warning: is_readable(): open_basedir restriction in effect. File(E:\patriziamolinari.com\www/wp-content/plugins/E:\patriziamolinari.com\www\wp-content\plugins\portfolio-gallery/languages/portfolio-gallery-it_IT.mo) is not within the allowed path(s): (.;e:\;E:\;C:\Program Files (x86)\PHP\v7.1\upload\; C:\Program Files (x86)\PHP\v7.1\tmp;C:\Program Files (x86)\PHP\v7.1\includes) in E:\patriziamolinari.com\www\wp-includes\l10n.php

    can you help me?

    Wordpress version: 4.7.5
    Plugin version: 2.3.3
    Php version: 7.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dear Poet Gummerson,

    Thank you for contacting us.
    Seems like the issue comes from the slashes.
    Please, try to change them to one direction as you now have both back and forward slashes.

    Please, keep us updated about the results.
    Regards,

    Thread Starter Poet Gummerson

    (@poet-gummerson)

    I tried to change the slashes and the paths, but i’ve got several “Pars error” messages.
    I changed l10np.php line 583

    If (! Is_readable ($ mofile)) return false;

    with

    If (! Is_readable ($ mofile)) return true;

    and the error has disappeared. But i’m afraid it’s just a palliative for a temporary solution.

    Dear Poet Gummerson,

    Thank you very much for keeping us updated.
    We are happy that you have managed to fix the errors on your own. In the case, if it appears again, feel free to contact us and we will be happy to assist.

    From the following link you can get more information about the reasons of the error and other ways of solving it.

    Thanks
    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error l10n.php’ is closed to new replies.