Version: 4.0.9 Reporter: James Catt —
This one’s got me tearing my hair out. I have a member group (we’ll call it “Group A”) with full access to the file manager (upload/edit/delete), and access to several upload directories that accept all file types. Members of Group A can upload images and .docx files, but .pdf, .xslx and .html files all get the message “The file could not be written to disk”.
Here are the things I’ve tried: 1. Super Admins and members of another group (“Group B”) can upload the same test files to these directories with no problem. If I change a member of Group A to Group B, they can upload successfully, so it’s something about Group A specifically—not the individual members. 2. Changing all settings on Group A to match Group B—no effect. 3. Making sure the files aren’t over the upload size limit in both EE and PHP (I’m testing with files that are <100k, the PHP limits for uploads & POST data are 8M, EE has no limit on the directory). 4. Making sure the directory settings are correct in the upload_prefs database table (allowed_types == ‘all’, max_size == blank, properties, file_properties, etc are all NULL). 5. Making sure the files have short names with no spaces or special characters—no effect. 6. Turning on PHP/SQL errors for all users to see if Group A gets any when uploading—nothing. 7. Checking EE and server logs for errors—nothing. 8. Ensuring permissions on the upload directory are set to 777. 9. Disabling SELinux—no effect.
I don’t know what else to do here, any help would be appreciated. I can’t see the EE debugger output since that only gets displayed to Super Admins—is there a way to enable this for all members?
In case it’s relevant, here are some other details about my setup: * The site was originally built on EE2 and has been upgraded all the way to 4.0.9 * We have several member groups (Group A’s ID is 17, although there are currently only 12 groups in use)
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```