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
ReAuth redirect error
#1
Hello,

I tried to set ReAuth for a script in the root. The result is a
Code:
File not found
error, because the
Code:
admin_verify.php
script is sought in the root too, instead of in
Code:
/users
.

greetings, Evert
  Reply
#2
Can you copy your code to pastebin and share the link here?
  Reply
#3
I don't know what you mean. It is not about my code, but about the effect of
Code:
Require ReAuth
setting in
Code:
/users/admin_page.php
.

I did some research. My conclusion is that
Code:
users\helpers\us_helpers.php
needs to be changed. Line 1136 should be:
Code:
Redirect::to($us_url_root.'users/admin_verify.php?actual_link='.$actual_link.'&page='.$page);
  Reply
#4
Yes the reAuth script is broken for outside of the users directory! Working on it! It is in the to-do list.
  Reply
#5
I have just upgraded my production server to 4.3.5 and now see
<pre>
Code:
Not Acceptable

An appropriate representation of the requested resource /users/admin_verify.php could not be found on this server.

Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request.
</pre>


When I try to access the admin dashboard - is this the same error as the OP?
  Reply
#6
Oh, and now nobody other than Admin can login, I get the following error on the frontpage
Code:
This site key is not enabled for the invisible captcha.
  Reply
#7
<Later>
Reset the recaptcha keys and all is now happy - everyone can logon, no 406 error. Weird...
  Reply
#8
I also saw that my solution did not work. From a users\ script the users\ folder gets duplicated.
  Reply
#9
I have an idea on this...let me talk to Brandin.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)