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
/printthread.php 16 require_once



UserSpice
ReAuth redirect error - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: ReAuth redirect error (/showthread.php?tid=851)



ReAuth redirect error - eeverts - 11-24-2017

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


ReAuth redirect error - dan - 11-24-2017

Can you copy your code to pastebin and share the link here?



ReAuth redirect error - eeverts - 11-24-2017

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);



ReAuth redirect error - Brandin - 11-26-2017

Yes the reAuth script is broken for outside of the users directory! Working on it! It is in the to-do list.


ReAuth redirect error - grumpy-gnome - 11-26-2017

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?


ReAuth redirect error - grumpy-gnome - 11-26-2017

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.



ReAuth redirect error - grumpy-gnome - 11-26-2017

<Later>
Reset the recaptcha keys and all is now happy - everyone can logon, no 406 error. Weird...


ReAuth redirect error - eeverts - 11-26-2017

I also saw that my solution did not work. From a users\ script the users\ folder gets duplicated.


ReAuth redirect error - mudmin - 11-26-2017

I have an idea on this...let me talk to Brandin.