When Installing a fresh Open Social 11.4 with PHP 8.0 the default profile picture is not being shown on the frontend of the site. This makes me worried, as other things needed for a functional site might be missing as well. I want to figure out what is causing this, so I can fix this and other potentially related issues as well.
System setup:
OpenLiteSpeed 1.7.16 webserver
Open Social 11.4
PHP 8.0
1. Navigate to your virtual host root and run `composer create-project goalgorilla/social_template:dev-master ./ --no-interaction`
2. Go through the installer at the domain of the virtual host using the preselected modules.
3. If you are not logged in after installation finishes, then log in to your new open social site.
4. Notice that the default pictures on the home screen of your admin user only shows the image text, with a broken image logo.
5. Setup private files on your server according to this guide:
https://www.drupal.org/docs/distributions/open-social/private-files →
6. Notice that the default profile image is still not being shown.
7. Add the latest drupal core patch for drupal 9.3.x from the issue
https://www.drupal.org/project/drupal/issues/2107455
🐛
Image field default value not shown when upload destination set to private file storage
Needs work
. Add the following "patches" section to your composer.json:
"patches": {
"drupal/core": {
"2107455: Drupal 9 default images not shown with private files enabled": "https://www.drupal.org/files/issues/2022-04-01/2107455-72.patch"
}
},
Installing Open Social with the default settings should lead to a functioning site with minimal adjustments. There should be steps provided to ensure a successful installation of Open Social.
After following the steps to reproduce the problem, the path to the profile picture on the home page is set to `/sites/default/files/styles/social_medium/public/default-profile-picture.png?itok=LZb-rtF-`, but my `/sites/default/files/styles/` folder is empty. The path should be set to something that exists on the server.
Closed: duplicate
11.4
Front-End
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.