4571 Posts in 1382 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 780 Views |
-
Server2Go and Silverstripe 2.4.5 not working on CD

13 July 2011 at 2:16am
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
-
Re: Server2Go and Silverstripe 2.4.5 not working on CD

13 July 2011 at 2:51am Last edited: 13 July 2011 2:51am
what does...
<?php echo sys_get_temp_dir(); ?>
return? can you add a "silverstripe-cache" folder there? if so it'll use that.
-
Re: Server2Go and Silverstripe 2.4.5 not working on CD

13 July 2011 at 3:23am
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?
-
Re: Server2Go and Silverstripe 2.4.5 not working on CD

13 July 2011 at 3:33am
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
| 780 Views | ||
|
Page:
1
|
Go to Top |


