02-26-2019, 11:55 AM
(02-26-2019, 11:54 AM)sayed_hashim808 Wrote: Hi,
I'm having very strange issue with my US when adding new pages...
I'm writing a script called SRE
My directory looks like this
/SRE
/users
/usersc
.
.
.
I've added "SRE/" to z_us_root.php, and when I go to "Manage Page Access" I can see the list of all pages in SRE, I can edit the page access and everything seems ok.
so SRE/index.php is there and has ID #101
however, I notice the following:
1. The access level does not work, when I add the USER to access the page it does not work.
2. When try accessing the page from Admin, it redirects me to "Manage Page Access" and says "Please confirm permission settings" and gives my NEW page ID #102
3. When I add USER again as access, it creates new entry in the "pages" database but the "page" field is blank.
4. Now the page access work and USER can access the page, BUT when Admin edits the page from "Manage Page Access" it deletes the last entry which is page ID#102 and creates new page ID#103, and same thing happens, it stores it in the Pages DB with a blank "page" field.
I really don't know whats causing this issue.
Can you share the top of your z_us_root file? I can try to replicate that.