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
Login function breaks with .htaccess file
#1
If I place a .htaccess file on the server (in project root directory) with this code in it:

ErrorDocument 401 https://mydomain.com/
ErrorDocument 403 https://mydomain.com/
ErrorDocument 404 https://mydomain.com/
ErrorDocument 500 https://mydomain.com/

It breaks the UserSpice login system. When I try to login, then I just get the message:

There was an error with your form. Please go back and try again. Please note that submitting the form by refreshing the page will cause an error.
If this continues to happen, please contact the administrator.


However, if I've already logged in, and put in that .htaccess file, it all works fine, UNTIL I log out and try to login again... (then I get that message)

Any ideas?
  Reply


Messages In This Thread
Login function breaks with .htaccess file - by Ben in CA - 11-08-2018, 11:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)