WordPress.org

Support

Support » Plugins and Hacks » ByREV WP-PICShield » [Resolved] Errors activating (permissions?)

[Resolved] Errors activating (permissions?)

  • These are the errors I’m getting on another site I tried installing this on. Could be because I have different permissions set up, or it’s because something changed in 1.7b. The first site I installed it on was 1.5b.

    Warning: file_put_contents(/home/byrev-wp-picshield.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/wp-content/plugins/byrev-wp-picshield-hotlink-defence/byrev-wp-picshield-import-admin.php on line 74
    ERROR! File /home/byrev-wp-picshield.php not able to be copied.
    
    Warning: file_put_contents(/home/byrev-wp-image2url.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/wp-content/plugins/byrev-wp-picshield-hotlink-defence/byrev-wp-picshield-import-admin.php on line 85
    ERROR! File: /home/byrev-wp-image2url.php not able to be copied.
    
    Warning: copy(/home/watermark.png) [function.copy]: failed to open stream: Permission denied in /home/wp-content/plugins/byrev-wp-picshield-hotlink-defence/byrev-wp-picshield-import-admin.php on line 90
    ERROR! File: /home/watermark.png not able to be copied.
    FAIL: Can not proceed to the next step because of previous errors.

    http://wordpress.org/extend/plugins/byrev-wp-picshield-hotlink-defence/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Nothing in “copy code structure” has changed between versions, So it is clear that there must be a rights issue. If you have ftp access to the server files, put manually reading and writing rights to

    • byrev-wp-picshield.php
    • byrev-wp-image2url.php
    • watermark.png

    for you, files is in /home/ folder.

    You could create this file, empty (no content), and copy them to the server manually. If you have write access, files will be re-written automatically by plugin when save the configuration.

    function file-put-contents is used to write over the old file or create a new one.

    I got it working after getting suPHP installed.

    ok, I’m glad you solved somehow !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Errors activating (permissions?)’ is closed to new replies.
Skip to toolbar