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

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


Reply

6 Posts   700 Views

Avatar
DsX

18 March 2013 at 8:15am (Last edited: 18 March 2013 8:21am), Community Member, 178 Posts

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

18 March 2013 at 9:15am Forum Moderator, 921 Posts

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

Avatar
DsX

19 March 2013 at 10:13am Community Member, 178 Posts

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

19 March 2013 at 11:19am Community Member, 178 Posts

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

7 June 2013 at 9:09am Community Member, 44 Posts

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

Avatar
Willr

7 June 2013 at 10:26pm Forum Moderator, 5511 Posts

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