WordPress.org

Ready to get started?Download WordPress

Forums

Dave's WordPress Live Search
[resolved] warning message (3 posts)

  1. Chris
    Member
    Posted 2 years ago #

    Hi, after activating the plugin I see a warning on front and backend:

    Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/....mysite/wp-content/plugins/daves-wordpress-live-search/DavesWordPressLiveSearch.php/dwls-en_US.mo) is not within the allowed path(s): (/....mysite/:/usr/local/php5/lib/) in /....mysite/wp-includes/l10n.php on line 334

    That file "DavesWordPressLiveSearch.php/dwls-en_US.mo" looks a bit strange. Any idea?

  2. Dave Ross
    Member
    Plugin Author

    Posted 2 years ago #

    Yep. This is what happens when you write code at 2am, a habit I seriously need to break ASAP. A misplaced parenthesis is causing dirname() to be called on the wrong string. This must have been a change I made late in the process, because all the i18n stuff worked when I tested it, but this error should stop WordPress from finding the .mo files in the first place.

    Look for a new version of the plugin tonight (before 2am I promise!) that should fix this.

  3. Chris
    Member
    Posted 2 years ago #

    Thank you for your fast response!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic