Zubrag.com :: Forum

zubrag.com => Password Protect Advanced => Topic started by: Ahren on March 12, 2009, 02:07:47 PM



Title: glitch just after install
Post by: Ahren on March 12, 2009, 02:07:47 PM
The login_form.php and the manager.php are now working.

But when I goto sign_up php. I get : Fatal error: Using $this when not in object context in /........./........../protect/signup_form.php on line 3

<form method="post">
      <h3>User signup</h3>
      <font color="red"><?php echo $this->error; ?></font><br />
      Login:<br /><input type='input' name='access_login' value='<?php echo $this->login ?>'/><br />Password:<br />
      <input type="password" name="access_password" />
  <?php if (USE_EMAIL && !LOGIN_AS_EMAIL) echo "<br />Email:<br /><input type='input' name='access_email' value='$this->email' />"; ?>
      <p></p>
      <input type="submit" name="access_submit" value="Sign up" />
    </form>

Thanks,


Title: Re: glitch just after install
Post by: Ahren on March 16, 2009, 06:56:20 AM
problem resolved...

It was the signup.php that I was supposed to use to sign up and not the signup_form.php