Hello,
In general, we're mounting s3 for our Drupal files folder. So the layout is something like:
/var/files (s3fs mount)
/var/www/sites/default/files (symbolic link to /var/files)
Everything is working well, except we found an error in mimemail where php memory is exhausted regardless of what it's set to. The fix for me was to simply append the $base_url.base_path() to it. Not sure if this bug applies to all mounts or just s3fs, I think the better place to report a bug is either in s3fs or in php's file_get_contents. In the meantime, this patch solves the problem. Though I'm not sure it's the best way to solve it.
Comment | File | Size | Author |
---|---|---|---|
#1 | mimemail.theme_.inc_.patch | 814 bytes | Ashraf Amayreh |
mimemail.theme_.inc_.patch | 832 bytes | Ashraf Amayreh | |
Comments
Comment #1
Ashraf Amayreh CreditAttribution: Ashraf Amayreh commentedSeems ini_get returns a boolean. Quick fix...
Comment #2
TR CreditAttribution: TR commentedD6 is not supported any more, and this issue is not relevant to D7. Specifically, Mime Mail does not use file_get_contents() in D7, it uses drupal_add_css(). If there is still an issue with loading CSS files from an S3 file system then that would be an issue that needs to be addressed in Drupal core, not here.