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
How do I install UserSpice
#6
Here's what was happening. A login or register to the form just looked like the form was refreshing and nothing was happening...and it wasn't.

User sevol graciously gave me access to his server for some debugging. I enabled some extra error reporting on the register/login forms using the code

Code:
error_reporting(E_ALL);
Code:
ini_set('display_errors', 1);

I was getting the following error...


Quote:Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

This tells me that the fopen feature was disabled. Enabling it in the php.ini file seemed to have no affect. Adding a .htaccess with the right syntax caused an error 500 on the server. So, I added the line

Code:
ini_set("allow_url_fopen", 1);

to the top of the register and login forms. It fixed the problem on this server, and I'm currently exploring to see if that's something I should do in the main UserSpice code.

Thanks again, sevol!
  Reply


Messages In This Thread
How do I install UserSpice - by mudmin - 12-11-2015, 08:35 PM
How do I install UserSpice - by mudmin - 01-08-2016, 03:02 AM
How do I install UserSpice - by sevol - 01-11-2016, 10:33 PM
How do I install UserSpice - by sevol - 01-11-2016, 10:57 PM
How do I install UserSpice - by mudmin - 01-11-2016, 11:19 PM
How do I install UserSpice - by mudmin - 01-12-2016, 04:13 PM
How do I install UserSpice - by wallas - 03-19-2016, 09:50 PM
How do I install UserSpice - by wallas - 03-19-2016, 10:18 PM
How do I install UserSpice - by mudmin - 03-21-2016, 12:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)