Trial Error protect/new_rewrite/new_rewrite.inc.php on line 21

Discussion in 'Troubleshooting' started by alcam, Feb 27, 2005.

  1. alcam

    alcam Guest

    I am evaluating amember for a site. I think it fits the bill.

    I created two free products in admin. Signed up as a user, but when I try to login:

    Warning: fopen(/home/username/public_html/amember/data/new_rewrite/4b2011bef85b226515a6ffe00e3177c3-1): failed to open stream: No such file or directory in /home/username/public_html/amember/plugins/protect/new_rewrite/new_rewrite.inc.php on line 21
    An Error has occured
    # Cannot create session file: 4b2011bef85b226515a6ffe00e3177c3-1

    Can someone give me a hand?

    thanks...Al
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please chmod folder amember/data/new_rewrite/ to 777
  3. alcam

    alcam Guest

    Thanks Alex. Unfortunately I am still having the problem.
  4. alcam

    alcam Guest

    Solved

    For unknown reasons Filezilla did not FTP "protect\new_rewrite\new_rewrite.inc.php" up to the webserver.

    Once I FTP'd this up and went to the protect folder and selected "new_rewrite" as the method of protection I was good to go.

    thanks
  5. Jesse

    Jesse Guest

    I have a question did a fresh install created a product then added a user

    now there wasnt a folder /member/data/new_rewrite
    I created one then chmod to 777 then works with no problem

    my question is why wouldnt it create that dir.
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    PHP scripts are often unable to create folders due to server configuration and permissions problems.

Share This Page