lat9:
I just installed ozpost 3.6.0 (upgraded to 3.6.2) in an XAMPP test account (Windows 7, PHP 5.4.8, Zen Cart v1.5.3)
<gulp> I've been kind of dreading the day that someone decided to try ozpost on a windows based server because I've had strong suspicions for several years now that it wouldn't work without modifications due to some rather slack coding in a few places.
lat9:
The part I added shows the parameters passed to the writeTempFile function, followed by the $cachefolder value, followed by the $myFolder value. You can see why mkdir was throwing a warning!
Any guidance would be much appreciated.
The problem(s) as I see it, is because *nix based systems uses forward slashes for its folder/path separators and windows uses back\slashes.
The ozpost module has several places where the forward slashes are hardcoded, so these will need to be replaced with backslashes.
I honestly don't know the extent of the changes needed to make it work because I'd always figured that I'd wait until someone actually finds it to be a problem before delving into it. I guess that after all these years that time has finally come.
The main issue for me at the moment is that I'm heavily involved in doing ozpost updates for other eCommerce systems (to bring them up to the same level of features and functionality that ZenCart merchants enjoy) so it could be a while before I can get back to this...
Just to compound matters, if it were almost anyone other than you reporting the issue I'd be giving it a lot higher priority than I'm going to. The reason being is that I know that you are pretty clued up in regards to PHP coding (In fact you have taken me a little by surprise that you even use XAMPP) and I don't think you'll have any headaches in locating and making the needed changes yourself. Of course, the easiest solution would be to use a *nix server rather than a windows server.
I suppose that now this cat is out of the bag I don't have much option than to take Windows users into consideration with future updates. I have enjoyed a very good run without having to do this though. I suspect it will take a few more weeks to get onto it though, which leaves you with the choice of putting your own skills to use for a fast resolution, waiting a few weeks for a windows compatible version, or installing it on a *nix based server instead.
Cheers
RodG