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
Undefined variable: abs_us_root & us_url_root - 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: Undefined variable: abs_us_root & us_url_root (/showthread.php?tid=1060)



Undefined variable: abs_us_root & us_url_root - lasserh - 05-19-2018

I have been struggling today, to get this to work. But I continue to get the following errors:

Notice: Undefined variable: abs_us_root in D:\xampp\htdocs\dev\users\helpers\forms.php on line 349

Notice: Undefined variable: us_url_root in D:\xampp\htdocs\dev\users\helpers\forms.php on line 349

Then because of a previous post I found on the board, I tried the following code on my page:

echo "</br> </br>";
dump($abs_us_root);
echo "</br> </br>";
dump($us_url_root);
Which results in:

string(15) "D:/xampp/htdocs"


string(5) "/dev/"

Can somebody help me, where I am going wrong?



Undefined variable: abs_us_root & us_url_root - Brandin - 05-19-2018

What version of UserSpice are you using? And what actions are you taking for these errors to occur?

Brandin.


Undefined variable: abs_us_root & us_url_root - lasserh - 05-20-2018

I am using version 4.3.24.

As far as I can see, the referencing in the coding is for /user/init.php

I tried editing my $abs_us_root & $us_url_root location in the init.php file, without success,


Undefined variable: abs_us_root & us_url_root - Brandin - 05-20-2018

And what actions are you taking for these errors to occur?

Brandin