WordPress.org

Ready to get started?Download WordPress

Forums

NetBlog
[resolved] permissions error on Activate (5 posts)

  1. myselfhimself
    Member
    Posted 3 years ago #

    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.

  2. Benjamin Sommer
    Member
    Plugin Author

    Posted 3 years ago #

    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

  3. myselfhimself
    Member
    Posted 3 years ago #

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

  4. Benjamin Sommer
    Member
    Plugin Author

    Posted 2 years ago #

    This issue has been resolved since v2.01.

  5. myselfhimself
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic