Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SS 3.0.2 CMS error - links don't work


Reply


25 Posts   2785 Views

Avatar
cdmein

Community Member, 15 Posts

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.

Thanks, and thanks Ben!

Chris

Avatar
Ingo

Forum Moderator, 801 Posts

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?

Avatar
cdmein

Community Member, 15 Posts

29 November 2012 at 7:41am

Just to be clear I used WinZip to unpackage the .tar.gz SilverStripe archive.

Now perhaps that was being very naive (my colleague laughed that I still was using WinZip) but I can honestly say this is the first time I have had any problems doing this.

So could it be how you package the .tar file?

It would be so much easier if it completely failed but it works just well enough to lead to a lot of frustration and wasted effort.

Chris

Avatar
Ingo

Forum Moderator, 801 Posts

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?

Avatar
cdmein

Community Member, 15 Posts

6 December 2012 at 11:41am

Hi

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

Chris

Avatar
Ingo

Forum Moderator, 801 Posts

6 December 2012 at 11:47am

Hi cdmein, it would be great if you can post a reference to this thread in the other threads with problems, to point users to the right solution!

Avatar
cdmein

Community Member, 15 Posts

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.

Chris

Avatar
Ingo

Forum Moderator, 801 Posts

6 December 2012 at 12:33pm

Good point, I've created a sticky thread: http://www.silverstripe.org/installing-silverstripe/show/21633
We should also have a tweet going out on @silverstripe soon!