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
securePage
#3
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

  Reply


Messages In This Thread
securePage - by sqluser - 11-03-2016, 08:44 PM
securePage - by Brandin - 11-05-2016, 11:48 AM
securePage - by mudmin - 11-05-2016, 02:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)