WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Weird warning in a multisite (3 posts)

  1. B_Dark
    Member
    Posted 1 year ago #

    Suddenly my multiite gave me this message. What is going on?

    Warning: require(/home/mysite/public_html/wp-includes/default-constants.php) [function.require]: failed to open stream: Permission denied in /home/mysite/public_html/wp-settings.php on line 22
    
    Warning: require(/home/mysite/public_html/wp-includes/default-constants.php) [function.require]: failed to open stream: Permission denied in /home/mysite/public_html/wp-settings.php on line 22
    
    Fatal error: require() [function.require]: Failed opening required '/home/mysite/public_html/wp-includes/default-constants.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/wp-settings.php on line 22
  2. dgilmour
    Member
    Posted 1 year ago #

    It sounds like you've got PHP set to display error messages, which is usually not advised; it reveals information (e.g. directory paths you may not wish to disclose. It may be that these errors have been occurring, but were not until recently being displayed?

  3. B_Dark
    Member
    Posted 1 year ago #

    no, but my host its fixed

Topic Closed

This topic has been closed to new replies.

About this Topic