Results 1 to 7 of 7

Thread: I'm New!

  1. #1

    I'm New!

    I must confess the reason I'm here is because I downloaded a membership script and I'm Having some problems getting it to work correctly. The membership script said I could get help Here and Help at form.digitalpoint.com
    The script is everything I want/need in a File protection script. Eveything seems to be working fine except when I attempt to login I get two warning and 1 fatal error. Below are the errors I've encounted can some one please help this newbie?
    ########################
    Warning: fread(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/login.php on line 95

    Warning: fclose(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/login.php on line 98

    Fatal error: Call to undefined function encode_decode() in /sites/hopear/htdocs/membership/login.php on line 105
    #####################

    I love the script. Will someone Please Help Me.

    Jacob Williams
    <<signatures to be set up in your profile>>
    Last edited by bear; 11-03-2009 at 03:36 PM.

  2. #2
    Join Date
    Oct 2002
    Location
    State of Disbelief
    Posts
    22,947
    Moved to programming, as it's not really a "new members" intro thread.
    Having problems, or maybe questions about WHT? Head over to the help desk!

  3. #3
    Join Date
    Jan 2004
    Location
    NJ, USA
    Posts
    288
    Quote Originally Posted by MaleFingers View Post
    I must confess the reason I'm here is because I downloaded a membership script and I'm Having some problems getting it to work correctly. The membership script said I could get help Here and Help at form.digitalpoint.com
    The script is everything I want/need in a File protection script. Eveything seems to be working fine except when I attempt to login I get two warning and 1 fatal error. Below are the errors I've encounted can some one please help this newbie?
    ########################
    Warning: fread(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/login.php on line 95

    Warning: fclose(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/login.php on line 98

    Fatal error: Call to undefined function encode_decode() in /sites/hopear/htdocs/membership/login.php on line 105
    #####################

    I love the script. Will someone Please Help Me.

    Jacob Williams
    <<signatures to be set up in your profile>>
    What are lines 95 and 98? Sounds like it can't find the file that it's supposed to be opening and writing to on the filesystem.

  4. #4
    Join Date
    Apr 2003
    Location
    WebHostingTalk
    Posts
    832
    Hello MaleFingers, welcome. Enjoy your visits.

  5. #5
    Well Now I've gone and done it. I Realized I'd Had the script loaded for a month or so. So I Deleted the file(s) from my server and downloaded the script again. I promise You I uploaded it the same as I had before. this time after the first page in install.php, I click the submit button and get the message,

    Duplicate entry 'CF_CAPTHCA' for key 'PRIMARY'


    There's nothing else on the screen except the line above. Please Help!

  6. #6
    Have you checked its file permission (chmod)?

  7. #7
    Join Date
    Feb 2008
    Location
    WI
    Posts
    38
    Duplicate entry 'CF_CAPTHCA' for key 'PRIMARY'
    truncate the tables in the database then re-install the script.

    Warning: fread(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/login.php on line 95

    Warning: fclose(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/login.php on line 98

    Fatal error: Call to undefined function encode_decode() in /sites/hopear/htdocs/membership/login.php on line 105
    If the files are indeed there, then it could be a file/directory permission problem, or possibly a path problem.

    Posting the login.php section that includes the lines in question (95 - 105) might help spot the problem. If the section is part of a function include all of the function. xxxx out any sensitive username/password info if needed.

Posting Permissions

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