• Resolved vahost

    (@vahost)


    I’m getting the following errors from cron:

    <b>Warning</b>: file_put_contents(/robots.txt): failed to open stream: Permission denied in <b>/home/nolan/public_html/wp-content/plugins/comments-link-optimization/comments-link-optimization.php</b> on line <b>108</b>

    <b>Warning</b>: filemtime(): stat failed for /robots.txt in <b>/home/nolan/public_html/wp-content/plugins/comments-link-optimization/comments-link-optimization.php</b> on line <b>109</b>

    I checked the permission level on my robots.txt file, and it’s set to: 644.

    https://www.ads-software.com/plugins/comments-link-optimization/

Viewing 1 replies (of 1 total)
  • lite3

    (@lite3)

    thinks for your feedback.
    please change your file own to php own.
    or change file mode to 666.
    thinks.

Viewing 1 replies (of 1 total)
  • The topic ‘file_put_contents fails in cron job’ is closed to new replies.