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
Can't log in or register in 3.0
#14
I can pretty definitively say that this is an issue with the fopen settings on people's servers. I am going to roll out a version 3.1.1 to give two mitigations and some diagnostics on this issue.

I've already emailed CuChulla1nn, but here are the checks to perform for anyone else who experiences this

Add or uncomment out these top two lines on register.php (they're included in version 3.1.1 and beyond)
Code:
error_reporting(E_ALL);
Code:
ini_set('display_errors', 1);

Try to register again, and the error will pop up in the header of the site. It will most likely say something about fopen (which is required by reCAPTCHA). Different servers handle this differently, which is where the problem comes in. Some servers can be fixed by adding the following line to the top of login.php and register.php (which was added in 3.1, I believe), but older versions don't have it:

right above the require_once
Code:
ini_set("allow_url_fopen", 1);

BUT, some servers don't seem to be respecting that, so the next step is to add a php.ini file wherever you installed UserSpice (this will be included in 3.1.1 and later). The PHP ini should just say:

Code:
allow_url_fopen = on

If that doesn't work, you're going to have to talk to your hosting provider or dig through your php.ini file for the server to enable url_fopen.

I hope that helps, and thanks to all of you who didn't just dump the software but decided to press on and help the entire community find a fix for this problem.
  Reply


Messages In This Thread
Can't log in or register in 3.0 - by CuChulla1nn - 01-20-2016, 02:38 PM
Can't log in or register in 3.0 - by mudmin - 01-20-2016, 10:44 PM
Can't log in or register in 3.0 - by mudmin - 01-20-2016, 10:45 PM
Can't log in or register in 3.0 - by mudmin - 01-20-2016, 10:51 PM
Can't log in or register in 3.0 - by evilme73 - 01-27-2016, 11:24 AM
Can't log in or register in 3.0 - by evilme73 - 01-27-2016, 11:33 AM
Can't log in or register in 3.0 - by CuChulla1nn - 01-27-2016, 12:40 PM
Can't log in or register in 3.0 - by mudmin - 01-27-2016, 04:43 PM
Can't log in or register in 3.0 - by astropos - 01-27-2016, 07:27 PM
Can't log in or register in 3.0 - by evilme73 - 01-27-2016, 11:10 PM
Can't log in or register in 3.0 - by mudmin - 01-27-2016, 11:37 PM
Can't log in or register in 3.0 - by CuChulla1nn - 01-28-2016, 10:27 AM
Can't log in or register in 3.0 - by astropos - 01-28-2016, 10:49 AM
Can't log in or register in 3.0 - by mudmin - 01-28-2016, 04:03 PM
Can't log in or register in 3.0 - by astropos - 01-28-2016, 04:34 PM
Can't log in or register in 3.0 - by mudmin - 01-28-2016, 05:29 PM
Can't log in or register in 3.0 - by evilme73 - 01-29-2016, 01:49 AM
Can't log in or register in 3.0 - by mudmin - 01-29-2016, 03:13 AM
Can't log in or register in 3.0 - by CuChulla1nn - 02-01-2016, 11:00 AM
Can't log in or register in 3.0 - by mudmin - 02-01-2016, 02:27 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)