SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Oct 2004
    Location
    uk
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    what is this error

    Hi guys got this error

    any ideas how to fix it?
    Warning: fopen(ipn.log) [function.fopen]: failed to open stream: Permission denied in /home/notexper/public_html/employers/ipn.php on line 6

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/notexper/public_html/employers/ipn.php on line 7

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/notexper/public_html/employers/ipn.php on line 42

    Warning: fclose(): supplied argument is not a valid stream resource in /home/notexper/public_html/employers/ipn.php on line 135

  2. #2
    SitePoint Addict tina88's Avatar
    Join Date
    Jan 2007
    Location
    UK
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am no expert but I am guessing that you need to alter the permissions (CHMOD to 755 or 777) on the directory that holds those files (maybe the files as well)

  3. #3
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    You are correct Tina, the fwrite and fclose errors are generated because of the first one so you can igonre them. As Tina said, change the permissions and you should be fine
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •