11-30-2017, 02:44 PM
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
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