Logout error

Ask all your questions about the script here.
anasaz
New
Posts: 2
Joined: Thu Jun 08, 2017 4:29 pm

Logout error

Postby anasaz » Thu Jun 08, 2017 4:33 pm

when I logout I receive this error

--------------------------------------------------------
The page isn’t redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

This problem can sometimes be caused by disabling or refusing to accept cookies.
---------------------------------------------------

I used Firefox and Chrome.

Any ideas?
anasaz
New
Posts: 2
Joined: Thu Jun 08, 2017 4:29 pm

Re: Logout error

Postby anasaz » Sat Jun 10, 2017 2:36 pm

I fixed the problem by deleting the session's COOKIES. I updated the logout.php file to be:

Code: Select all

// Start the main class
$qls = new qls(SYS_CURRENT_LANG);

if(isset($_COOKIE[session_name()])):
    setcookie(session_name(), '', time()-7000000, '/');
   $qls->User->logout_user();
endif;

// Logout user
//$qls->User->logout_user();

Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest