Fix für Confixx 3.3.6

    • Fix für Confixx 3.3.6

      Fehler: Notice: Undefined variable: login in [path]/confixx/html/loginform.php on line 125 Notice: Undefined variable: username in [path]/confixx/html/loginform.php on line 128

      Lösung:

      Suche in loginform.php nach:

      PHP Source Code

      1. if (demo_version()) {
      2. echo '<TD width="80%">';
      3. if ($login) {
      4. echo '<INPUT type="text" name="username" value="'.htmlspecialchars($login).'" style="width: 50%"></TD>';
      5. } else {
      6. echo '<INPUT type="text" name="username" value="'.htmlspecialchars($username).'" style="width: 50%"></TD>';
      7. }
      8. } else {
      9. if ($login) {
      10. echo '<TD><INPUT type="text" name="username" value="'.htmlspecialchars($login).'"></TD>';
      11. } else {
      12. echo '<TD><INPUT type="text" name="username" value="'.htmlspecialchars($username).'"></TD>';
      13. }
      14. }
      Display All


      Ersetze das in

      PHP Source Code

      1. if (demo_version()) {
      2. echo '<TD width="80%">';
      3. if (isset($login)) {
      4. echo '<INPUT type="text" name="username" value="'.htmlspecialchars(isset($login)).'" style="width: 50%"></TD>';
      5. } else {
      6. echo '<INPUT type="text" name="username" value="'.htmlspecialchars(isset($username)).'" style="width: 50%"></TD>';
      7. }
      8. } else {
      9. if (isset($login)) {
      10. echo '<TD><INPUT type="text" name="username" value="'.htmlspecialchars(isset($login)).'"></TD>';
      11. } else {
      12. echo '<TD><INPUT type="text" name="username" value="'.htmlspecialchars(isset($username)).'"></TD>';
      13. }
      14. }
      Display All
    (c) 2004-2018 Home of the Sebijk.com