The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
redirect loop on login
#2
login.php is either:
-not in your DB
-in your DB as private

You need to run this query:
Code:
SELECT * FROM pages WHERE page = 'usersc/login.php'

If there is a result, run this:
Code:
UPDATE pages SET private=0 WHERE page = 'usersc/login.php'

If there is no result run this:
Code:
INSERT INTO pages VALUES (NULL,'usersc/login.php',0,'Login',0,NOW(),NULL

So you're aware of what is happening:
usersc/login.php doesn't exist or exists and is private so it's pushing you to users/account.php
users/account.php is set to private and you aren't logged in, so it's redirecting you to users/login.php which in turn redirects you to usersc/login.php but then puts you in an endless loop.
  Reply


Messages In This Thread
redirect loop on login - by met - 03-28-2018, 08:48 AM
redirect loop on login - by Brandin - 03-28-2018, 10:49 AM
redirect loop on login - by met - 03-28-2018, 11:52 AM
redirect loop on login - by met - 05-16-2018, 12:54 PM
redirect loop on login - by met - 05-16-2018, 01:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)