Skip to:
Content
Pages
Categories
Search
Top
Bottom

Warning: fopen fwrite Permission denied errors

  • I’m trying to install bbpress on my site.

    I have wordpress installed at the root, have uploaded the bbpress folder and started the config.

    Once I’m at the last step I get a page of white text on a white background with the attached errors (Theres several pages of the fwrite() errors)

    At the bottom of the page it states the installation completed and the log shows no errors.

    This is a virtual host, IIS6

    Warning: fopen(C:InetpubvhostsXXXXXhttpdocsbbpress/bb-config.php) [function.fopen]: failed to open stream: Permission denied in C:InetpubvhostsXXXXXhttpdocsbbpressbb-adminincludesclass.bb-install.php on line 1044

    Warning: fwrite(): supplied argument is not a valid stream resource in C:InetpubvhostsXXXXXhttpdocsbbpressbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in C:InetpubvhostsXXXXXhttpdocsbbpressbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in C:InetpubvhostsXXXXXhttpdocsbbpressbb-adminincludesclass.bb-install.php on line 1051

    Warning: fwrite(): supplied argument is not a valid stream resource in C:InetpubvhostsXXXXXhttpdocsbbpressbb-adminincludesclass.bb-install.php on line 1051

Viewing 1 replies (of 1 total)

  • chrishajer
    Participant

    @chrishajer

    The first error is the important one: the software cannot write to bb-config.php. That could be because the file has the wrong permissions (should be 644 and writable by the web server) or it could be something to do with the one forward slash there in the path (right between bbpress and bb-config.php).

    A workaround might be to manually edit the bb-config.php and then upload that. Then the installer won’t have to write to that file. Just open bb-config-sample.php and edit all the database values, keys, table prefix and language if you use one. Then, save the bb-config-sample.php as bb-config.php and run the web installer again. It should tell you it found a valid bb-config.php and you can continue. If not, post errors back here.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar