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
Undefined variable: us_url_root but path is showed correctly during installation
#2
Ok. So let's walk through this.

Judging by your code, you are accessing your site by going to hackerwolf.xyz, right?

So try this. Comment out line 12 of users/init.php and put

Code:
$us_url_root='/html/enl/';

My gut says that will get you close enough to getting the pages loaded enough to know if you either have an extra slash or need one somewhere.

If that doesn't work, you can do go on any page and put
Code:
dump($abs_us_root);
Code:
dump($us_url_root);

and you can figure out what path the system thinks it is seeing.
  Reply


Messages In This Thread
Undefined variable: us_url_root but path is showed correctly during installation - by mudmin - 10-10-2016, 02:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)