Re: Difficulties to find my theme
Reply #6 –
TBH I never tried windows server (mainly because my windows machine is a terribly old netbook that barely runs a notepad and a browser at the same time LOL), but guessing from the code and your description, I think the "problem" may be in that line:
elseif (isset($_REQUEST['theme_dir']) && rtrim(realpath($_REQUEST['theme_dir']), '/\\') != realpath(BOARDDIR . '/themes') && file_exists($_REQUEST['theme_dir']))
1088 of ManageThemes.controller.php (ADMINDIR).
Could it be you are trying to install the theme from another directory that BOARDDIR/themes?
I should go back and check, but I guess the trstriction was done for security reasons, though it probably doesn't cover all the possible alternatives (like a themes dir outside BOARDDIR, that is a possibility).
It may either be a problem with the path, or realpath having issues with windows, or even a dir names case problem (e.g. one is upper, one is lower case), in that case we may need to differentiate the behaviour between win and *nix.