The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
Too many redirects
#5
So yeah this would be a regular user, not admin level.

In custom_login_script.php I have
Code:
Redirect::to($us_url_root.'index.php');
so when the user is done login in it takes them to the main index. Other than some custom navigation I haven't done too much modification.

In my index file I have at the top:
<pre>
Code:
require_once 'users/init.php';
if (!securePage($_SERVER['PHP_SELF'])){die();}
</pre>


The weird thing is the new user can access /users/account.php just not any page outside the /user path it seems where I have specified the above securePage. But again, Admin level has no issues.
  Reply


Messages In This Thread
Too many redirects - by tarson - 09-25-2016, 08:27 PM
Too many redirects - by brian - 09-25-2016, 08:57 PM
Too many redirects - by tarson - 09-25-2016, 09:03 PM
Too many redirects - by brian - 09-25-2016, 09:05 PM
Too many redirects - by tarson - 09-25-2016, 09:21 PM
Too many redirects - by brian - 09-25-2016, 09:31 PM
Too many redirects - by tarson - 09-25-2016, 09:51 PM
Too many redirects - by brian - 09-25-2016, 09:54 PM
Too many redirects - by tudtude - 10-05-2016, 09:03 AM
Too many redirects - by brian - 10-05-2016, 11:08 AM
Too many redirects - by tudtude - 10-05-2016, 11:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)