Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » moving sapphire and linking to it

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: 471 Views
  • wildflower1975
    Community Member
    59 Posts

    moving sapphire and linking to it Link to this post

    I've managed to install 2.4.5 (successfully) into a web directory

    but I want to move the SilverStripe files to a shared application directory.

    After I've moved and linked the directories like so

    /var/www/chd$ ls -l
    total 24
    drwxrwsr-x 3 www-data adm 4096 2011-06-23 15:55 assets
    lrwxrwxrwx 1 root adm 40 2011-06-23 16:10 cms -> /usr/local/apps/SilverStripe-v2.4.5/cms/
    -rwxrwxr-x 1 www-data adm 318 2007-09-24 11:34 favicon.ico
    lrwxrwxrwx 1 root adm 51 2011-06-23 16:08 googlesitemaps -> /usr/local/apps/SilverStripe-v2.4.5/googlesitemaps/
    -rwxrwxr-x 1 www-data adm 2330 2010-02-03 15:57 index.php
    drwxrwsr-x 4 www-data adm 4096 2011-02-02 11:57 mysite
    -rwxrwxr-x 1 www-data adm 1431 2010-10-02 18:31 phpunit.xml.dist
    lrwxrwxrwx 1 root adm 45 2011-06-23 16:09 sapphire -> /usr/local/apps/SilverStripe-v2.4.5/sapphire/
    lrwxrwxrwx 1 www-data adm 43 2011-06-23 16:06 themes -> /usr/local/apps/SilverStripe-v2.4.5/themes/
    -rwxrwxr-x 1 www-data adm 112 2010-03-06 10:26 web.config

    I get

    Warning: $project isn't set in /usr/local/apps/SilverStripe-v2.4.5/sapphire/core/ManifestBuilder.php on line 269

    Shouldn't this be read from the _config.php in the /var/www/chd/mysite directory as before I moved the sapphire dir?

  • Willr
    Forum Moderator
    5508 Posts

    Re: moving sapphire and linking to it Link to this post

    It's likely that by moving the folder SS perhaps sets the base include path for the manifest to your usr/local folder. You may want to debug through the core.php / look at the manifest file and determine what that include paths look like. That is the only thing I can think of off the top of my head.

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.