Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I as looking for a BS4 theme and the description of this theme was promissing. So I thought I give this one a try.
But after install there is only a WSOD. Nothing.
I try the DEV version, and disable some modules. Try some config changes. Bud no luck. No log messages, so I can't do something with a warning or error.
Maybe it is the version of Drupal: 8.7.0-dev?
So maybe some one has the same issue; I don't see what's the problem.
Thanks,
Marchello
Comments
Comment #2
VladimirAusMarchello,
Unfortunately I would need more info:
* Are you installing theme it using composer? Or do you just download zip file? There are dependencies on additional composer dependencies.
* Is Drupal dies while you are in "Appearance" section (on admin theme)
/admin/appearance
?* Or when you go to home (or another public page)?
* Which blocks can you see when you'd go to Block placement page
/admin/structure/block
?* Any errors displayed in Status report
/admin/reports/status
e.g. files directory is not writable?* Any errors displayed in Log messages
/admin/reports/dblog
?Regards
Comment #3
MLZRHello @VladimirAus,
Well, I installed the theme in de UI, /admin/theme/install
After the install I saw some entries in the theme files pointing to maps that didn't exist. I think these maps don't exist becorse I installed de UI- way and not with composer. I think composer should make this maps and download the files I missed.
I am using a shared hosting so I do not have access to the command line, so no composer for me.
Thanks,
Marchello
Comment #4
MLZRVladimir, just for your info; I installed Druapl 8.6.7 (so no dev version ). A clean install. Then installed this theme and activate it. Bud no luck. The same issues appears.
* /admin/appearance => this page shows up, because it is in the admin- theme Seven..
* When I visit the home "go back to site", then only white appears. Even in the browser-session where I am the admin.
* on /admin/structure/block I see the blocks of this theme. That's ok. But when I go to "Demonstrate block regions (Bootstrap4)" then the screen turns in a bright white again :-|
* /admin/reports/status => Yes! Drupal reports the server is running on PHP5.6 . Strange, in Cpanel it was 7.2??. So I set this again in cpanel ( cpanel is the dashboard for the hosting for me ). Now Drupal reports 7.2. Strange. Bud there is progress => now I have errors in 'recent log messages (/admin/reports/dblog)'. Now I have some info about the problem.
So I call this progress; now I have some info for what probably the problem is.
Thanks!
Comment #5
MLZRThe message I have is 'Error: Class 'Leafo\ScssPhp\Compiler' not found in _bootstrap4_sass_compile() '
Well, this is probably the problem I have installed in the IU and not with composer?
Marchello
Comment #6
IamOnStage CreditAttribution: IamOnStage commentedI too am experiencing similar issues.
Drupal Version 8.6.7
Bootstrap4 1.0-beta4
With the Bootstrap4 theme set as default all is OK. But when I enable a sub-theme as per the instructions, I get the WSOD.
I had installed the modules manually on a clean install.
EDIT
I too am getting the 'Leafo\ScssPhp\Compiler' error
Comment #7
MLZRUpdate: had installed 8.x-1.0-beta4. Bud reading issue #3005593 I chose to check out bootstrap4 8.x-1.x-dev.
De-install 8.x-1.0-beta4 and remove the files. Then install the dev, and enable it. Then run update.php + clear the cache.
Mmmm.. same problem, same error message.
Marchello
Comment #8
VladimirAusThanks for reporting @marchellodepello and @IamOnStage
I'm investigating it now.
Are you installing the theme via composer or just downloading Zip file from drupal.org?
Comment #9
MLZRHi @VladimirAus, see #3
'I am using a shared hosting so I do not have access to the command line, so no composer for me.'
Comment #10
mmjvb CreditAttribution: mmjvb as a volunteer commentedSuggest to use Ludwig to install.
Comment #11
VladimirAus@marchellodepello I'm adding the following instructions to the README.md as well as script to generate subtheme.
1. Download theme.
2. Install the following dependencies in vendor folder
* https://github.com/leafo/scssphp/releases
* https://github.com/twbs/bootstrap/releases
Feel free to add more instructions to README.md
Comment #13
MLZROk, I installed the theme and put the two (bootstrap and scssphp) dependencies in the vendor folder. I used the 'vendor' folder in public_html, so the ''root".
I still have a white screen. In the error- messages I find "Error: Class 'Leafo\ScssPhp\Compiler' not found in _bootstrap4_sass_compile() "
Then I try different things ( one of them is to use 0.7.6 from leafo/scssphp, -first attemt wat with 0.7.7 ) and rename this folder, and put the content in different places and folder names. To much to recap, was a couple of hours thinking, testing and reading. Bud whatever I try, I keep getting this error.
One of the things I tryed was installing https://www.drupal.org/project/bootstrap_library_scss bud it had no effect on this error.
So no luck.
I had to move on, and installed the Barrio Theme. So for me it is not an issue anymore. But when you want to figure it out, so this theme can be installed without composer; if you have some more suggestions to solve this, I wil be glad test it for you. Maybe future users who want it to install this way.
Comment #14
MLZRJust a idea, but make the scss compiling an option. When wanted, some can use this module: https://www.drupal.org/project/style_management. Maybe then te install of this module is less complicated.
Just a thought.
Marchello
Comment #16
VladimirAus@marchellodepello
As recommended by @mmjvb I added Ludwig support.
See here: https://www.drupal.org/project/ludwig
Comment #17
VladimirAus@marchellodepello there is growing number of modules with composer dependencies.
Address is one of them: https://www.drupal.org/project/address
Plus composer in core is already an initiative : https://www.drupal.org/project/ideas/issues/2958021
So, if you will have a chance to try Ludwig and see if it works, that'd be great.
Comment #18
VladimirAusComment #19
MLZRHi VladimirAus, thank you for your effort! It is very appreciated. I use the Barrio Theme now, bud for my next project I will look at this theme again.
Thanks, Marchello
Comment #20
VladimirAus