Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Hosting Requirements /

What you need to consider when choosing a hosting provider and plan.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Quadra Hosting and permission issues


Go to End


3 Posts   2861 Views

Avatar
Nobrainer Web

Community Member, 138 Posts

29 July 2011 at 11:34am

Edited: 29/07/2011 12:25pm

Hi,

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.

Avatar
Nobrainer Web

Community Member, 138 Posts

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
//chmod("$base/$file$ext", Filesystem::$file_create_mask);

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.

--

www.nobrainer.dk

Avatar
martimiz

Forum Moderator, 1391 Posts

13 August 2011 at 5:54am

Edited: 13/08/2011 5:56am

[EDIT] - oops, wrong post, sorry... :-)