I have just loaded V2.3.3 on my webserver and am getting the following error when doing ?flush=1
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/silverstripe-cache-home-httpd-vhlinks-www.afsm.org.nz/manifestClassParse-_home_afsmanawatu_afsm.org.nz_sapphire_core_model_DataObject.php) is not within the allowed path(s): (/tmp:/usr/local/lib/php:/usr/local/apache/phpinc/:/home/afsmanawatu/afsm.org.nz/) in /home/afsmanawatu/afsm.org.nz/sapphire/core/ManifestBuilder.php on line 390
This error appears twice at the top of the page and is then followed by the actual page content. the url at this time is
I also get strange errors when trying Dev/Build. see attached snapshots of this error (2 parts)
I previously had V2.3.2 on this webserver which I was testing live which had installation errors (I think) although it had worked better than this version.
Silverstripe stores file manifest information and parsed template files in your temp folder (/tmp/ maybe) - just remove everything in this folder. You can also set the tmp folder that SilverStripe uses by defining the constant TEMP_FOLDER in your _config.php file:
When I reread your last post, Hamish, am I correct in saying that I can create a folder on my site called say 'afstemp' and define it as the temp folder that ss shoiuld use?
If so I could easily find this and clear it manually - I guess??
I'm back in business.
It turns out that the webservers I'm on require some time before they effect the changes that I made to the sqlDB and folders etc.
When I retried the Dev/Build and ?flush=1 all now seems to do what it apparently should.
I've also now added a couple of modules and they appear to be good too so I'm fingers crossed for now and it's on with page creation etc.