4642 Posts in 1401 Topics by 1394 members
Page: 1 2
|Go to End||Next >|
6 August 2009 at 9:29am Last edited: 6 August 2009 10:35am
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.
6 August 2009 at 12:33pm
Can you manually clear the temp folder? I've seen problems with old temp files getting in the way of upgrades.
6 August 2009 at 1:11pm
Not sure how I would do that. Any ideas?
I thought that I'd cleaned everything out when I did the new installation but mayin fact have left temp files etc behind.
FYI - i'm using a new sql db for this installation which may or may not have any bearing on this problem.
Hopefully someone in the SS team will know something about fixing this problem????
6 August 2009 at 4:06pm
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:
6 August 2009 at 4:22pm
Thanks for trying but I'm still none the wiser.
Can't see any tmp or temp folder or anything similar.
Maybe there's some clever commands that I don't know about or any commands for that matter.
6 August 2009 at 4:25pm
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??
6 August 2009 at 4:33pm
Yes, that's correct. Note that your current tmp folder will not be in your webroot, so you won't find it within your SilverStripe installation.
It shouldn't be too hard to find - from the error message it appears to be '/tmp/' - it would be better to find and empty it rather than relocate it.
6 August 2009 at 4:55pm
Hamish - good news
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.
Are you any good with email templates??
Page: 1 2
|Go to Top||Next >|