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
Undefined variable: us_url_root but path is showed correctly during installation
#1
Hi! I want to test userspice, but I'm getting the same error with this versione and even with 4.1. I install US into a subidir of my nginx root (html/enl is the subdir). During the installation process the path is correctly showed, but after installation is completed, I get the following error:
<pre>
Code:
Notice: Undefined variable: us_url_root in /home/webuser/www/hackerwolf.xyz/html/enl/users/init.php on line 22

Warning: require_once(/home/webuser/www/hackerwolf.xyz/html/enlusers/helpers/helpers.php): failed to open stream: No such file or directory in /home/webuser/www/hackerwolf.xyz/html/enl/users/init.php on line 22

Fatal error: require_once(): Failed opening required '/home/webuser/www/hackerwolf.xyz/html/enlusers/helpers/helpers.php' (include_path='.:/usr/share/php') in /home/webuser/www/hackerwolf.xyz/html/enl/users/init.php on line 22
</pre>


It's like a missing "/" somewhere not detected from the for loop in users/init.php but I can't figure out how to fix it. Any idea? Thanks in advance.

Nginx 1.11.3 w/ PHP 7.0.11
  Reply


Messages In This Thread
Undefined variable: us_url_root but path is showed correctly during installation - by HackerWolf - 10-10-2016, 12:46 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)