Title: Error l10n.php
Last modified: July 6, 2017

---

# Error l10n.php

 *  Resolved [Poet Gummerson](https://wordpress.org/support/users/poet-gummerson/)
 * (@poet-gummerson)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-l10n-php/)
 * 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)

 *  [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * (@huge-it-support-1)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-l10n-php/#post-9297517)
 * 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](https://wordpress.org/support/users/poet-gummerson/)
 * (@poet-gummerson)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-l10n-php/#post-9304457)
 * 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.
 *  [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * (@huge-it-support-1)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-l10n-php/#post-9307468)
 * 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](https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths)
   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.

 * ![](https://s.w.org/plugins/geopattern-icon/portfolio-gallery_eb4c4e.svg)
 * [Portfolio Gallery - Photo Gallery](https://wordpress.org/plugins/portfolio-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/portfolio-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/portfolio-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/portfolio-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/portfolio-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/portfolio-gallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/error-l10n-php/#post-9307468)
 * Status: resolved