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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

No PareTree - SS 3, fresh install via Composer + CMS + Blog


Go to End


6 Posts   1822 Views

Avatar
DsX

Community Member, 178 Posts

18 March 2013 at 8:15am

Edited: 18/03/2013 8:21am

OK, this is my second go at this.
I have installed the framework via Composer, installed, setup my admin account, then added, the CMS module and blog module.
I have the simple template set, and if I view the site, I can see that I have a few pages, (home, contact etc.)
If I look in the database I can see the sitetree entries for these.
In the CMS, if I click the Pages menu item, I get an edit form for 'Home'. No 'Content', 'Settings', or 'History' tabs.
No 'Add New' or 'Edit tree' buttons, actually that whole column is missing.
The Breadcrumbs say: Pages / Home , but click pages does nothing.
I can edit the content of home, and see it in the site when I refresh.
If I change the URL segment to anything other than 'home', (i tried home2), it breaks the site, and I have to manually change it back via the Database since the edit page no longer loads into the CMS.
When I ran Dev/Build everything looked fine.

EDIT: if I roll over the SS icon top left, the popup says, Version CMS unknown, framework unknown

Whats wrong with my install??

Avatar
Sean

Forum Moderator, 922 Posts

18 March 2013 at 9:15am

If you open up Developer Tools in Chrome or Firebug in Firefox, are there any errors showing in the console?

Avatar
DsX

Community Member, 178 Posts

19 March 2013 at 10:13am

I downloaded the ZIP version, and copied it over.. did a re-install and now all is good..
No idea why the composer version wouldn't work (tried 2 installs)

Avatar
DsX

Community Member, 178 Posts

19 March 2013 at 11:19am

OK, now trying to add modules, and I am getting now where.
heres an example of the error I get:
==============================

F:\vhost\mysite\httpdocs> composer require silverstripe/googlesitemaps:*
composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Updating silverstripe/framework (3.0.x-dev 29de643 => 3.0.5)
Checking out 3.0.5

[RuntimeException]
Failed to clone http://github.com/silverstripe/sapphire.git via git, https
and http protocols, aborting.

- git://github.com/silverstripe/sapphire.git
fatal: Not a git repository (or any of the parent directories): .git

- https://github.com/silverstripe/sapphire.git
fatal: Not a git repository (or any of the parent directories): .git

- http://github.com/silverstripe/sapphire.git
fatal: Not a git repository (or any of the parent directories): .git

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update]
[packages1] ... [packagesN]

==============================

AND another

==============================

F:\vhost\mysite\httpdocs> composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Updating silverstripe/cms (3.0.x-dev 1ef155f => 3.0.5)
Checking out 3.0.5

[RuntimeException]
Failed to clone http://github.com/silverstripe/silverstripe-cms.git via git
, https and http protocols, aborting.

- git://github.com/silverstripe/silverstripe-cms.git
fatal: Not a git repository (or any of the parent directories): .git

- https://github.com/silverstripe/silverstripe-cms.git
fatal: Not a git repository (or any of the parent directories): .git

- http://github.com/silverstripe/silverstripe-cms.git
fatal: Not a git repository (or any of the parent directories): .git

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-cu
stom-installers] [--no-scripts] [--no-progress] [-v|--verbose] [-o|--optimize-au
toloader] [packages1] ... [packagesN]

F:\vhost\mysite\httpdocs>
==============================

Whats going wrong.. ??

Avatar
tv

Community Member, 44 Posts

7 June 2013 at 9:09am

DsX, did you ever figure out the issue with this error? I am receiving it as well.

Avatar
Willr

Forum Moderator, 5523 Posts

7 June 2013 at 10:26pm

You'll need to remove your composer cache, the sapphire project has just been renamed and the old download links have stopped working.