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
Problems with installing on a subdomain?
#1
Hi. I installed US into a subdir called "users" which I had previously set up to be a subdomain. No problems.

I then noticed that paths ended up like "users.mydomain.com/users/....." Effectively, I had "mydomain.com/users/users/....." So, I decided to reinstall into the public_html folder on my site with the goal being to get paths like "users.mydomain.com". For some reason, that is producing all manner of issues.

I then tried an experiment. I deleted the subdomain, and reinstalled in public_html. That went fine and I ended up with links like "mydomain.com/users/....". However, when I re-created the subdomain of "users" hoping to get "users.mydomain.com/....", I now get these errors immediately...

Warning: require_once(/MY_ABSOLUTE_PATH/public_html/users/users/helpers/helpers.php): failed to open stream: No such file or directory in /MY_ABSOLUTE_PATH/public_html/users/init.php on line 22

Fatal error: require_once(): Failed opening required '/MY_ABSOLUTE_PATH/public_html/users/users/helpers/helpers.php' (include_path='.:/opt/php70/lib/php') in /MY_ABSOLUTE_PATH/public_html/users/init.php on line 22


Note the "users/users" aspect in the warning. Is there a known issue with installing US on subdomains?
  Reply


Messages In This Thread
Problems with installing on a subdomain? - by gtilflm - 08-03-2017, 12:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)