Support » Plugin: Specific Files » Errors on multisite

  • 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?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dwieeb

    (@dwieeb)

    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 😉

    Thank you. I’ll check that out.

    Plugin Author dwieeb

    (@dwieeb)

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors on multisite’ is closed to new replies.