It seems that ElkArte does not really work well with XAMPP on Windows.
I tried to load my theme (WIP, TBA) by entering the path on the Theme Management site but it just created a new one.
::)
Sounds almost like a bug to me...
I'll try to test it tomorrow.
It works on OS X but not on Windows 10, at least. :o
Then XAMPP is not fully compatible with Win 10...?
XAMPP works, ElkArte works - the path does not.
Exactly, maybe some XAMPP functions are broken (heck, how could you even set it up? I tried, it's a mess) ;D But I'd rather wait for emanuele on this one
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.
I tried installing it even from my desktop with no real success.
Moved to bug reports for now.
^ Anything new? I have a free week and would really love to continue working on my theme.
I cannot reproduce it on win7 and I don't have a win10 handy, so it's kind of impossible to test it for me... :(
:o ::) >:(
I understand the whole not here. With me working ElkArte (1.04 1.0.5 and 1.1beta) with Xampp under Win 10 32 and 64 bit without errors. All functions. The XAMPP works properly is in C: be directly installed.