Jump to:

4955 Posts in 16022 Topics by 1489 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Server2Go and Silverstripe 2.4.5 not working on CD

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: 1034 Views
  • Terminator4
    Avatar
    Community Member
    81 Posts

    Server2Go and Silverstripe 2.4.5 not working on CD Link to this post

    Hey guys,
    We are trying to get Silverstripe to run off a CD with Server2Go (http://www.server2go-web.de/download/download.html). Thus far we have managed to get it to run off a USB stick with little hassle. However, we haven't managed to get it to run off a CD as it seems that there are Silverstripe caching issues or issues with the Manifest writing to a file.

    Would anyone be able assist with this? It seems like some modifications are required to be made to sapphire to get this running in read only mode or to get the files to save in a temporary directory elsewhere.

    Please help.

    Thanks

  • swaiba
    Avatar
    Forum Moderator
    1788 Posts

    Re: Server2Go and Silverstripe 2.4.5 not working on CD Link to this post

    what does...

    <?php echo sys_get_temp_dir(); ?>

    return? can you add a "silverstripe-cache" folder there? if so it'll use that.

  • Terminator4
    Avatar
    Community Member
    81 Posts

    Re: Server2Go and Silverstripe 2.4.5 not working on CD Link to this post

    That will unfortunately not work as a CD is read-only. For some reason it seems like there is an issue with the manifest file performing a save. Any ideas?

  • swaiba
    Avatar
    Forum Moderator
    1788 Posts

    Re: Server2Go and Silverstripe 2.4.5 not working on CD Link to this post

    right, so I am assuming that returns a folder on the CD... can you not configure the server2go to have a temporary folder on the main machine? (in the environment settings... php.ini) seems strange that you cannot configure a temp folder with write access - you'd need that for sessions I'd imagine...

    you could hack the Core (literally!)... sapphire\core\Core.php - getTempFolder

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