× 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: abs_us_root & us_url_root
#1
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?
  Reply
#2
What version of UserSpice are you using? And what actions are you taking for these errors to occur?

Brandin.
  Reply
#3
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,
  Reply
#4
And what actions are you taking for these errors to occur?

Brandin
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)