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
index.php in Subfolders - 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: index.php in Subfolders (/showthread.php?tid=616)



index.php in Subfolders - Brandin - 06-28-2017

Hello,

If I have an index.php file in a subfolder (e.g. usersc/search/) although system pages detects it, I cannot visit the page, it redirects to usersc/index.php.

Thank you!


index.php in Subfolders - mudmin - 06-29-2017

Yeah....usersc has special properties. I would definitly try to do /search instead of usersc/search.


index.php in Subfolders - Brandin - 06-29-2017

Shall do - I've always just put everything in usersc because I thought that was best practice - nevermind!! :p


index.php in Subfolders - mudmin - 06-29-2017

Usersc is really only for files that have a cooresponding file with the same name in the users folder. Other than that, I stay out of it. It USUALLY doesn't hurt, but when you get into subfolders or other stuff like that, you never know.


index.php in Subfolders - Brandin - 06-29-2017

I moved these directories to the root directory and am facing this issue again...


index.php in Subfolders - Brandin - 06-29-2017

It's something that is called in Header that is causing this...