Specific Files
Errors on multisite (4 posts)

  1. Anony Mouse
    Posted 5 years ago #

    I'm seeing the following errors on a sub directory multisite install:

    Warning: opendir(/wp-content/specific-files/css) [function.opendir]: failed to open dir: No such file or directory in /wp-content/plugins/specific-files-for-posts-and-pages/specific-files.php on line 427

    Warning: closedir(): supplied argument is not a valid Directory resource in /wp-content/plugins/specific-files-for-posts-and-pages/specific-files.php on line 435

    This is for both css and js admin panels.

    Obviously this is not going to look good to the network. Any idea on what the issue might be?


  2. dwieeb
    Plugin Author

    Posted 5 years ago #

    This would only be a problem if WordPress (PHP) does not have the ability to create directories on the server. I've tested the current plugin with WordPress 3.1.2 and both subdomain and subdirectory installations, and found no errors.

    I would check with your host about the permissions for allowing PHP to create directories.

    In the next version I'll have a more friendly error message ;)

  3. Anony Mouse
    Posted 5 years ago #

    Thank you. I'll check that out.

  4. dwieeb
    Plugin Author

    Posted 5 years ago #

    Can you verify that the directory 'specific-files/' does not exist in 'wp-content/'? Also check for the two subdirectories 'css/' and 'js/' in 'specific-files/'. If they do not exist, you can create them manually and it should work.

    Also, I looked over the plugin a little today and you actually should be getting a nice error message if the directories do not exist or are not writable. So, I'm a bit confused as to how this could happen. xP

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Specific Files
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic