problem with fopen on VPS can anbody help???

Discussion in 'Apache' started by AveryQuest, Jun 9, 2008.

  1. #1
    Hey peeps i have a VPS and i'm trying to set up a site. i have it all installed but when it takes me to the home page i get this

    Warning: fopen(online_users.txt) [function.fopen]: failed to open stream: Permission denied in /home/ewebsite/public_html/includes/functions.php on line 609
    
    Warning: fclose(): supplied argument is not a valid stream resource in /home/ewebsite/public_html/includes/functions.php on line 610
    
    Warning: fopen(online_users.txt) [function.fopen]: failed to open stream: No such file or directory in /home/ewebsite/public_html/includes/functions.php on line 618
    
    Warning: flock() expects parameter 1 to be resource, boolean given in /home/ewebsite/public_html/includes/functions.php on line 619
    
    Warning: feof(): supplied argument is not a valid stream resource in /home/ewebsite/public_html/includes/functions.php on line 621
    
    Warning: fgets(): supplied argument is not a valid stream resource in /home/ewebsite/public_html/includes/functions.php on line 623
    PHP:


    and it goes on for ever lol could someone help me fix this? is it in the php.ini file? thanks in advance :D
     
    AveryQuest, Jun 9, 2008 IP
  2. alemcherry

    alemcherry Guest

    Best Answers:
    0
    #2
    problem with opening the file. Make sure that the file you are trying to open has the right permissions. "chmod" and see.
     
    alemcherry, Jun 9, 2008 IP
    AveryQuest likes this.
  3. AveryQuest

    AveryQuest Well-Known Member

    Messages:
    1,057
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    160
    #3
    man i cant believe i missed that file lol thank you very much Rep added :D
     
    AveryQuest, Jun 9, 2008 IP