Php question on viral site?

Discussion in 'PHP' started by Infoterial, Dec 23, 2008.

  1. #1
    Hello,

    I get this in the easycashviral membership site script. How can I fix it to work?

    Warning: file_get_contents(../content/.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/firstopp/public_html/functions.inc.php on line 52

    Thanks, Roger
     
    Infoterial, Dec 23, 2008 IP
  2. Greg Carnegie

    Greg Carnegie Peon

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    We would need more info then you provided in order to help you. Basically this error says that some file is missing that's all.
     
    Greg Carnegie, Dec 23, 2008 IP
  3. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #3
    (../content/.txt) the file name isn't correct
    it should be (../content.txt) or perhaps content.txt doesn't exists
    check the path
     
    crivion, Dec 23, 2008 IP
  4. planemaniac

    planemaniac Peon

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Make sure all the things it wants are there on your server. If not, make them, but also make sure they're in the right directories.
     
    planemaniac, Dec 23, 2008 IP
  5. Infoterial

    Infoterial Active Member

    Messages:
    180
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #5
    Thanks,

    I will try those before reposting.

    Roger
     
    Infoterial, Dec 23, 2008 IP
  6. Infoterial

    Infoterial Active Member

    Messages:
    180
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #6
    Hello,

    Ok, It's been a while, but I did find out the problem. I'm using the script on firstopp.com currently and it works great. The problem was I had to create the .txt documents before ever trying to click on the link I needed. It was simple as the script made the .txt docs for me and it now works.

    Yes, I know it's kinda funny! Opps!
     
    Infoterial, Jan 8, 2009 IP