557 Posts in 3305 Topics by 244 members
|Go to End|
29 July 2011 at 11:34am Last edited: 29 July 2011 12:25pm
Just moved a copy of a working SS 2.4.5 site to Quadra Hosting (http://www.quadrahosting.com.au/) and now i simply cannot make the Asset Admin behave as intended.
My problems are:
Uploading af file gives me [Warning] chmod(): Operation not permitted
I'm using this fix http://open.silverstripe.org/attachment/ticket/5547/2.4.1-FileUpload-2.diff to get passed the invalid file for upload error.
(If i leave out the chmod part, the file is uploaded and can be choosen and used in the CMS)
Creating folder, gives Error creating folder, no further info.
Folder is actually created, but will not be visible in asset admin untill you do a manualy sync
Can someone help me find a solution to this?
Support at the host says everything is standard, and should be working - well it does not and i have never had these problems before.
If there is no fix this host should be removed from recommended hosts.
Do you know a host that will run Silverstripe with no issues? please post here thank you.
29 July 2011 at 12:24pm
After some help at IRC from mobiusnz, i have it working. (Thank you!)
Simply removing the CHMOD calls will make the system run.
Files that was changed:
Line 596 off cms/assetadmin //chmod($p->FullPath, Filesystem::$file_create_mask);
and also the one added from the patch in sapphire/filesystem/Folder.php around line 250
There are still periodic notices of permisson problems in my tmp folder though, but this is related to using a custom TMP folder i guess.
13 August 2011 at 5:54am Last edited: 13 August 2011 5:56am
[EDIT] - oops, wrong post, sorry...
|Go to Top|