Hey,
Have had a look around the forums and have managed to sort out a couple of the problems I've run in to with Silverstripe with the latest download (silverstripe-v2.0.2b)
Have been running/ playing about on my laptop but things are not going smoothly when installed in a shared hosting environment - with safe mode and open_basedir restrictions.
I've managed to get silverstripe installed following tips found at http://www.silverstripe.com/general-discussion/flat/1699 - but there are a lot of error messages:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../_ss_environment.php) is not within the allowed path(s): (/tmp:/www/virtual/someSite.co.nz/htdocs:/www/virtual/tmp:/usr/local/php5/lib/php) in /www/virtual/someSite.co.nz/htdocs/sapphire/main.php on line 40
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../../_ss_environment.php) is not within the allowed path(s): (/tmp:/www/virtual/someSite.co.nz/htdocs:/www/virtual/tmp:/usr/local/php5/lib/php) in /www/virtual/someSite.co.nz/htdocs/sapphire/main.php on line 40
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/www/virtual/someSite.co.nz/htdocs/../) is not within the allowed path(s): (/tmp:/www/virtual/someSite.co.nz/htdocs:/www/virtual/tmp:/usr/local/php5/lib/php) in /www/virtual/someSite.co.nz/htdocs/sapphire/core/ManifestBuilder.php on line 50
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/www/virtual/someSite.co.nz/htdocs/../) is not within the allowed path(s): (/tmp:/www/virtual/someSite.co.nz/htdocs:/www/virtual/tmp:/usr/local/php5/lib/php) in /www/virtual/someSite.co.nz/htdocs/sapphire/core/ManifestBuilder.php on line 64
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/www/virtual/someSite.co.nz/htdocs/..) is not within the allowed path(s): (/tmp:/www/virtual/someSite.co.nz/htdocs:/www/virtual/tmp:/usr/local/php5/lib/php) in /www/virtual/someSite.co.nz/htdocs/sapphire/core/ManifestBuilder.php on line 82
I'm no genius and have no idea what/ where _ss_environment.php comes from.
I can get everything looking neat and tidy - hiding these warnings via .htaccess file but things are broken.
When managing Files & Images, I can successfully create a new dir (images) and it looks as though I can create a new sub dir too (images/brands) but as soon as I refresh the admin site, there is no dir - and logging in via FTP, you can't see the dir.
I'm wanting to persist with Silverstripe and figured I could just ftp all these files - which worked fine until I try and use the images. The links within the pages reference a different location eg. assets/images/brands/_resampled/ResizedImage25079-bechstein.gif which doesn't exist.
Anyone able to offer any suggestions/ help!
Thanks.