The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
Page Permission Bug (volatile)
#1
Hi,
I have a problem similar to topic reply #6796 in that pages are disappearing from the database & admin panel, however this did topic not show the solution.

I have a folder with files, and have added the path, I have been controlling the pages via the page permissions panel in admin ,however the pages are volatile. They can be recorded both in the database and the admin, only to disappear within 15 minutes or several login/out cycles.

I have followed your comments about adding the init/header lines etc & putting the path of the folders in the z_us_root path ,ie

From: Controlled Pages:
<?php //DO NOT DELETE THIS FILE.&
require_once 'users/init.php';
require_once $abs_us_root.$us_url_root.'users/includes/header.php';
require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
if (!securePage($_SERVER['PHP_SELF'])){die();}

From z_us_root:
$path=['','users/','usersc/','snag1/','snag2/'];
//Only add or remove values in the $path variable separated by commas above


I have seen the pages in the database together with the permissions, and later they disappear my pages db is now showing an id of 302, the id between 77 and 302 have been previously logged and now automatically dropped the data with empty rows.

Any advice appreciated,
Steve
  Reply


Messages In This Thread
Page Permission Bug (volatile) - by sanbuild - 11-30-2017, 02:44 PM
Page Permission Bug (volatile) - by Brandin - 11-30-2017, 04:19 PM
Page Permission Bug (volatile) - by sanbuild - 11-30-2017, 07:44 PM
Page Permission Bug (volatile) - by Brandin - 11-30-2017, 07:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)