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
/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
Greetings (and a question about user access)
#2
Hi Tommy,

Generally, in this order, you will want to include the following code:
https://pastebin.com/vL70Hp9n

For the most part, the only requirement is the init.php file, and to protect it, the securePage function. It is possible the page is not being properly protected by z_us_root and the pages table. For a file to be protected, it must also have its directory in z_us_root and you should visit the Admin Pages section to add it. The page is most likely listed as a public page.

Brandin.
  Reply


Messages In This Thread
RE: Greetings (and a question about user access) - by Brandin - 01-26-2019, 10:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)