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
Empty login.php
#4
Ahh. So some of the magic in the init file only works AFTER init is included, so you can't use those $abs root things to include it.

Normally in the usersc folder you do

require_once('../users/init.php');

and just use the relative path.

I've been tracking down slash issues. They're different on different servers. The first place I say to check is in usersc/scripts/custom_login_script

and try to see what's up there. You can change the redirect to your actual url if you want...

so

Code:
Redirect::to('http://mydomain.com/users/account.php');

and see if that makes a difference. If it doesn't I may need to talk to you a little bit more about your server setup because I can't duplicate the problem on any of my test systems, but you're not the only one to get that from time to time.
  Reply


Messages In This Thread
Empty login.php - by emanresu - 12-28-2016, 08:35 AM
Empty login.php - by emanresu - 12-28-2016, 09:10 AM
Empty login.php - by emanresu - 12-28-2016, 10:08 AM
Empty login.php - by mudmin - 12-28-2016, 02:45 PM
Empty login.php - by emanresu - 12-28-2016, 07:06 PM
Empty login.php - by emanresu - 12-28-2016, 09:40 PM
Empty login.php - by mudmin - 12-29-2016, 02:07 PM
Empty login.php - by emanresu - 01-02-2017, 12:59 PM
Empty login.php - by mudmin - 01-03-2017, 03:37 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)