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
/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
Folder "usersc"
#2
So a lot of the magic of UserSpice happens from the init.php file and therefore userspice can't magically locate that file on its own, so you need to have a direct link to it. So when you copy edit_profile.php to usersc instead of users you have to change that line at the top that says something like
require_once('init.php');
to
require_once('../users/init.php');

In other words, you have to tell it to back up one directory to the root, then go forward into the users folder and get init.php
  Reply


Messages In This Thread
Folder "usersc" - by Kighlander - 02-25-2017, 08:28 AM
Folder "usersc" - by mudmin - 02-25-2017, 04:53 PM
Folder "usersc" - by mudmin - 02-25-2017, 04:54 PM
Folder "usersc" - by JUG - 03-01-2017, 06:43 AM
Folder "usersc" - by mudmin - 03-01-2017, 12:43 PM
Folder "usersc" - by JUG - 03-01-2017, 02:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)