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
/userc redirects not working
#3
The redirect not working is easy and simply a documentation lacking on our part. init.php always needs to be "updated" to point to the correct path, since it is considered the anchor. Once the script knows where init.php is, then it can take over and a user can use $abs_us_root and/or $us_url_root as needed.

For a file placed in usersc/ you will need to update the init.php line to read:

Code:
<?php require_once '../users/init.php'; ?>

That instructs it to step back one level (to your userspice root), then move to the users/ folder and finally find the init.php file. This should get you straightened out.
  Reply


Messages In This Thread
/userc redirects not working - by lefox - 05-20-2016, 03:07 AM
/userc redirects not working - by mudmin - 05-20-2016, 12:01 PM
/userc redirects not working - by brian - 05-20-2016, 12:06 PM
/userc redirects not working - by lefox - 05-20-2016, 05:30 PM
/userc redirects not working - by brian - 05-20-2016, 05:47 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)