11-05-2016, 02:03 PM
I think what is happening is when you create a page, if you absolutely need 2 things for it to work with UserSpice.
You need to require_once/include the init file (which includes those helpers you showed).
And you need that securePage function.
I'm guessing you don't have the proper path to the init in there, so the securePage function is causing you problems.
That's why people have a problem when they copy files to the usersc folder. You need to change that line from "init.php" to ../users/init.php
You need to require_once/include the init file (which includes those helpers you showed).
And you need that securePage function.
I'm guessing you don't have the proper path to the init in there, so the securePage function is causing you problems.
That's why people have a problem when they copy files to the usersc folder. You need to change that line from "init.php" to ../users/init.php