Hi again,
My host got back to me today:
Unfortunately, as you are on a shared server we would not be able to permit this.
Parent paths are disabled by default on Easily Windows servers.
This means that if you attempt to use code such as
MyPath = Server.MapPath("../includes/myfile.inc")
or
...you will get an error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
The Include file 'filename' cannot contain '..' to indicate the parent directory.
You need to either specify the full path to the file (E:\Inetpub\ntXXXX\website\\), or specify the virtual path relative to the root 'website' folder (//), e.g.
MyPath = Server.MapPath("/includes/myfile.inc")
I'm not sure what that means?
I also tried the second choice in your previous post. I created a folder called 'silverstripe-cache' (with user group write permissions) and pasted the following code in mysite/_config.php:
session_save_path(getTempFolder());
ini_set('upload_tmp_dir', getTempFolder());
I get loads of new errors like this:
Warning: fopen(E:\Inetpub\win8228\website\ss24test/silverstripe-cache/manifestClassParse-AssetAdmin_php-e3d4c6e28b45b73d7132a471886faba3) [function.fopen]: failed to open stream: Permission denied in E:\Inetpub\win8228\website\ss24test\sapphire\core\ManifestBuilder.php on line 466
Warning: fopen(E:\Inetpub\win8228\website\ss24test/silverstripe-cache/manifestClassParse-AssetTableField_php-58c8b36fbef52cb4fd34d1043b82964a) [function.fopen]: failed to open stream: Permission denied in E:\Inetpub\win8228\website\ss24test\sapphire\core\ManifestBuilder.php on line 466
What should I do?