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
ERR_TOO_MANY_REDIRECTS
#9
(02-03-2019, 04:21 PM)Brandin Wrote: What page are they trying to visit? Is this a custom coded page?
Do you have any redirects written in code ON the page within things like if statements or just straight up?

Yes it is a custom coded page
it uses many require statements but no redirects as I know

Also, I don't know is it important or not I have the following error in the console for most pages

fingerprint2.js:539 Uncaught TypeError: Cannot read property 'appendChild' of undefined

    at fingerprint2.js:539

Dear Brandin,
I think I know the reason but I don't know the solution.

1. My folder structure looks like this
/users/...
/usersc/...
/index.php - root project page
...
/r/reports/report_1/index.php
/r/reports/report_1/reportfile1.php
/r/reports/report_1/reportfile2.php
...
The start point for the report and the page which I set the permission is /r/reports/report_1/index.php

I've performed a small test - i created a very simple php file with userspice headers and just phpinfo() inside and set the same permission as my problem page.

/r/reports/report_1/test.php

The issue has repeated but I noticed that I was redirected from /r/reports/report_1/test.php to /r/reports/report_1/index.php.
So it looks like if the user has no access to the file he is redirected to the index.php in the same folder.
I think it is because of my Redirect After Login setting that is /index.php but I cannot change it to another page because I would like that the first page for users was the project page... I am surprised that this setting has another effect.
  Reply


Messages In This Thread
ERR_TOO_MANY_REDIRECTS - by Aido - 02-03-2019, 01:52 PM
RE: ERR_TOO_MANY_REDIRECTS - by mudmin - 02-03-2019, 02:24 PM
RE: ERR_TOO_MANY_REDIRECTS - by mudmin - 02-03-2019, 02:29 PM
RE: ERR_TOO_MANY_REDIRECTS - by Aido - 02-03-2019, 02:56 PM
RE: ERR_TOO_MANY_REDIRECTS - by mudmin - 02-03-2019, 03:00 PM
RE: ERR_TOO_MANY_REDIRECTS - by mudmin - 02-03-2019, 03:03 PM
RE: ERR_TOO_MANY_REDIRECTS - by Aido - 02-03-2019, 04:08 PM
RE: ERR_TOO_MANY_REDIRECTS - by Brandin - 02-03-2019, 04:21 PM
RE: ERR_TOO_MANY_REDIRECTS - by Aido - 02-03-2019, 04:44 PM
RE: ERR_TOO_MANY_REDIRECTS - by Brandin - 02-03-2019, 09:28 PM
RE: ERR_TOO_MANY_REDIRECTS - by Aido - 02-04-2019, 05:17 AM
RE: ERR_TOO_MANY_REDIRECTS - by Aido - 02-06-2019, 05:45 AM
RE: ERR_TOO_MANY_REDIRECTS - by Brandin - 02-08-2019, 11:02 PM
RE: ERR_TOO_MANY_REDIRECTS - by Aido - 02-09-2019, 03:34 AM
RE: ERR_TOO_MANY_REDIRECTS - by Brandin - 02-11-2019, 03:50 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)