28 November 2012 at 1:17pm
And I have just done the same with 7-zip and my CMS admin links work as well.
Needless to say quite a few Windows users probably are getting exactly the same issue - I have certainly seen similar posts in this forum related to the filename extensions not being present. I'm sure this is putting people off trying SilverStripe which is a shame.
29 November 2012 at 12:09am
That's a tricky one, still don't know what exactly goes wrong in the ZIP process ... how do you Windows guys feel about limiting our downloads to tar.gz to avoid these problems? Also, where did you get the ZIP download link from, just for reference?
6 December 2012 at 1:45am
I suspect there's something wrong with the Phing TarTask and Archive_Tar functionality we're using to create the tar. Or with WinZIP, who knows.
Either way, that's not a good first experience of course. For now, I've linked to ZIP downloads on our http://www.silverstripe.org/stable-download/ page ("zip archive for windows"), which should be a more error resilient format on Windows (and natively supported).
We're also thinking about how we would redesign the download page to account for those two choices better.
Could you please test if those ZIPs fix your problems?
6 December 2012 at 11:41am
I am a bit rushed just at the moment so have not executed a full deploy of SilverStripe using the new archive.
What I have done is unzipped the two archives (the .tar.gz and the .zip version) using the same version of WinZip (12 I think) that gave me problems before. The .zip version had the correct file extensions in the \framework\thirdparty\zend_translate_railsyaml\library\Translate\Adapter\thirdparty\sfYaml\lib area, the .tar.gz version did not. So I am pretty confident the .zip version would work.
I am also pretty confident it is not my old version of WinZip, I had upgraded that to the latest version whilst I was having issues.
So good to have found the issue I think. There are several other forum threads that mention this so people have been struggling. I'm not sure whether you could link those threads to this one. The first error you see is the absence of the PHP files in the directory I mention above. People then correct that manually and may get to the almost working state described by myself and Ben.
The new download link will really help of course.
Thanks. And if you want me to check anything else out let me know although it will likely be next week
6 December 2012 at 12:20pm
I could but I wonder if using your moderator powers might produce a better result!
The main thread that people will find is this one - http://www.silverstripe.org/installing-silverstripe/show/20168
That one has the exception trace you will find due to the .ph extension in the \framework\thirdparty\zend_translate_railsyaml\library\Translate\Adapter\thirdparty\sfYaml\lib area.
Then there are piles and piles of replies which, if you follow them all as I did will probably get you to the state described in this thread!
So I wonder whether, due to the length of both forum posts, it might be better to flag the issue and solution up somehow in the first page of issues. Because as things stand if people do use the .tar.gz archive they may be in for a long struggle on Windows.