Jump to:

4873 Posts in 6961 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » No PareTree - SS 3, fresh install via Composer + CMS + Blog

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

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

Page: 1
Go to End
Author Topic: 572 Views
  • DsX
    Avatar
    Community Member
    178 Posts

    No PareTree - SS 3, fresh install via Composer + CMS + Blog Link to this post

    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??

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: No PareTree - SS 3, fresh install via Composer + CMS + Blog Link to this post

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

  • DsX
    Avatar
    Community Member
    178 Posts

    Re: No PareTree - SS 3, fresh install via Composer + CMS + Blog Link to this post

    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)

  • DsX
    Avatar
    Community Member
    178 Posts

    Re: No PareTree - SS 3, fresh install via Composer + CMS + Blog Link to this post

    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.. ??

  • tv
    Avatar
    Community Member
    43 Posts

    Re: No PareTree - SS 3, fresh install via Composer + CMS + Blog Link to this post

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

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: No PareTree - SS 3, fresh install via Composer + CMS + Blog Link to this post

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

    572 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.