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
/printthread.php 16 require_once



UserSpice
Issues with localhost - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Issues with localhost (/showthread.php?tid=675)



Issues with localhost - Katronix - 08-20-2017

So I just have started using / looking at UserSpice, and found that installing it on localhost with home directories turned on makes it so that there is at least one space where the code looks in the wrong directory:

In the file users/init.php on line 22 it normally says:

require_once $abs_us_root.$us_url_root.'users/helpers/helpers.php';

For me however this turned into /var/www/html/usersc/includes/custom_functions.php instead of being:
/home/<user name>/public_html/spice/usersc/includes/custom_functions.php

Kat


Issues with localhost - mudmin - 08-20-2017

Hmm. What are you using for your localhost?
I've never seen that.

I use it all the time on live servers with home folders without issue, but I've never come across home folders on localhost.



Issues with localhost - karsen - 08-21-2017

You may need to change your Windows hosts file, but since you've made later posts it looks like you fixed your issue. Is everything working fine now?