Menu

Error with log out

Help 2.02
Sandriekus
2006-11-21
2013-04-08
  • Sandriekus

    Sandriekus - 2006-11-21

    Hi,

    I have an error when i click on "leave shop" (log out).

    The error message is:

    Warning: fopen(./) [function.fopen]: failed to open stream: Permission denied in C:\Program Files\Abyss Web Server\htdocs\lib.inc.php on line 33

    Warning: fgets(): supplied argument is not a valid stream resource in C:\Program Files\Abyss Web Server\htdocs\lib.inc.php on line 36

    Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\Abyss Web Server\htdocs\lib.inc.php on line 41

    I checked lib.inc.php and line 33 shows me this:

    $file = fopen ("./$row[3]", "r");

    I checked lib.inc.php and line 36 shows me this:

    $line = fgets ($file, 200);

    I checked lib.inc.php and line 41 shows me this:

    fclose($file);

    Does anyone know hoq to solve this problem??

     
    • Andreas Kansok

      Andreas Kansok - 2007-01-11

      So please enter a value (URL or file) to use with logout.
      In configuration you can set it as 'page after leaving shop'

      Or see file config.inc.php line
      $hp_url = "your page after logout here";

      Greetings,
      Andreas.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.