09-04-2017, 01:10 AM
That's the problem. init.php and z_us_root.php act like a magical pair of planets orbiting each other. Before we did it this way, you had to define your site's root in the init.php file itself and it caused all sorts of problems.
In fact, userspice is the only php app I've ever used that you can just move wherever and as long as the db credentials are intact, everything just works. Try doing that with joomla or wordpress.
So, what is the problem calling init from different places.
It should be a matter of just doing '../users/init.php' to back up one folder or ../../users.init.php to back up two.
Basically the question is how many folders deep is that templates folder and you need one set of ../ to back up and get to it. Or you can use your full domain. https://mydomain.com/users/init.php