• Resolved myselfhimself

    (@myselfhimself)


    Hello,

    when activating the plugin, I get the following PHP errors on top of the admin HTML page. There should be some notes on what should be writeable or not in the Installation section of the plugin ( http://wordpress.org/extend/plugins/netblog ).

    Warning: file_put_contents(…./wordpress/wp-content/plugins/netblog/core/log.txt) [function.file-put-contents]: failed to open stream: Permission denied in …./wordpress/wp-content/plugins/netblog/core/nbdb.php on line 2100

    Warning: file_put_contents(…../wordpress/wp-content/plugins/netblog/core/import.log) [function.file-put-contents]: failed to open stream: Permission denied in …./wordpress/wp-content/plugins/netblog/core/nbdb.php on line 640

    “grep file_put_contents * -R” and “grep fwrite * -R” show that several folders can be written to. I have too little time to guess where.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Benjamin Sommer

    (@benjaminsommer)

    Hi, sorry for the error!

    In Netblog 2.0.b1, you have to set read/write permissions for the following files/directories:

    – netblog/core/log.txt
    – netblog/data/

    The next beta will check file permissions and change them if required.

    Many Thanks
    Benjamin Sommer

    Thread Starter myselfhimself

    (@myselfhimself)

    Note that in 2.0 version now only requires giving write permissions to log.txt – at least for plugin activation to work.

    Plugin Author Benjamin Sommer

    (@benjaminsommer)

    This issue has been resolved since v2.01.

    Thread Starter myselfhimself

    (@myselfhimself)

    Thank you so much Benjamin !! (I did not cross-test for you)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NetBlog] permissions error on Activate’ is closed to new replies.