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
/printthread.php 16 require_once



UserSpice
Manage Page Access - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Manage Page Access (/showthread.php?tid=497)



Manage Page Access - aarons - 03-16-2017

I have come across a strange occurrence and need help...

If I install userspice to a folder i.e. wwwroot/userspice I am able to go to the admin dashboard and add "root" pages (pages under wwwroot/userspice/*.php) with no problem.

However if I install userspice direct to the root i.e. wwwroot/ I cannot manage and add any pages from the root (it does not see any of the wwwroot/*.php files). My z_us_root has $path=['','usersc/','users/','php/'];
I can manage pages under wwwroot/users, wwwroot/userssc, and wwwroot/php, but nothing under wwwroot

Can anyone shed some light on why?

Much Thanks!
Aaron






Manage Page Access - JUG - 03-16-2017

What do you get when you try to access that page? Error 500?



Manage Page Access - mudmin - 03-16-2017

MOST times error 500 is caused by a bad .htaccess file. Try renaming yours to .htaccessbak or something like that if you have one in your userspice folder your users folder or the folder below your userspice folder(root).

If I'm understanding your file tree correctly, userspice should have already been grabbing *.php in that root folder. Are you talking about the folder where the z_us_root.php file sits? That's managed by default. I wonder if your modifications broke that.