Title: Conflict with open_basedir
Last modified: October 3, 2016

---

# Conflict with open_basedir

 *  Resolved [talgat](https://wordpress.org/support/users/talgat/)
 * (@talgat)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conflict-with-open_basedir/)
 * Hi!
 * I’ve got the Warning “is_readable(): open_basedir restriction in effect”.
 * It happens because WordPress tries to load a language file from the path like
   “/
   website/wp-content/plugins/website\wp-content\plugins\wp-smushit//languages/”
   instead of “/website/wp-content/plugins/wp-smushit/languages/”
 * The problem in the “i18n” function (class-wp-smush.php). You should use “plugin_basename(
   WP_SMUSH_DIR)” instead of “WP_SMUSH_DIR”.
 * —
    Regards, Talgat

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conflict-with-open_basedir/#post-8251262)
 * Hey Talgat,
 * Thanks a lot for reporting this in, I’m forwarding this to our devs straight 
   away 🙂
 * Cheers,
    Predrag
 *  [Umesh Kumar](https://wordpress.org/support/users/umeshsingla/)
 * (@umeshsingla)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conflict-with-open_basedir/#post-8253636)
 * Hey [@talgat](https://wordpress.org/support/users/talgat/),
 * Thanks a lot for the recommended fix, I’ve added it for the next release.
 * Cheers

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Conflict with open_basedir’ is closed to new replies.

 * ![](https://ps.w.org/wp-smushit/assets/icon-256x256.gif?rev=3447113)
 * [Smush – Image Optimization, Compression, Lazy Load, WebP & CDN](https://wordpress.org/plugins/wp-smushit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smushit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smushit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smushit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smushit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smushit/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Umesh Kumar](https://wordpress.org/support/users/umeshsingla/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/conflict-with-open_basedir/#post-8253636)
 * Status: resolved