Roots Discourse

Trying to use bedroack with FlyWheel

I am trying to use Bedrock with FlyWheel 5.2.4. I configured variables in .env file and changed the root in site.conf.hbs but I am getting the following error.

Fatal error: require(): Failed opening required '/home/nebu/Local Sites/bedrock/app/bedrock/web/wp/wp-blog-header.php' (include_path='.:/usr/share/php:/www/wp-content/pear') in /home/nebu/Local Sites/bedrock/app/bedrock/web/index.php on line 6

Any idea what might be causing this? I checked this forum for similar issues with now help. Do anyone had a similar issue experienced?

You say that you configured variables in .env and changed the root, but you do not give any details of the exact values you set.

There is not enough information in your post to enable people to help you.

I am encountering the same issue trying to setup Bedrock on Local by Flywheel on Linux Pop OS.

I use the instructions here: https://roots.io/guides/local-bedrock-development-with-local-by-flywheel/

After following that guide and trying to load the Wordpress page it looks to me like it’s looking for a /wp directory and it’s missing.

This /wp directory holds the Wordpress core and the directory shows up in the Bedrock documentation (https://roots.io/docs/bedrock/master/folder-structure/) but seems to be missing in the actual folder structure.

Any help would be greatly appreciated.

Hello, I’m using this post as well: I use the instructions here: https://roots.io/guides/local-bedrock-development-with-local-by-flywheel/

And I get to the last step: “Update Local’s nginx config”. I’m having a couple issues with this.
First bedrock/conf/nginx/site.conf does not appear to exist. I’m assuming it is now: site.conf.hbs

Then, when I open this file I cannot find where to change the root? I see these lines, starting at line 7

server {
listen {{port}};
root “{{root}}”;

Any help would be much appreciated! Thank you!

This is the exact question I’m asking, he does a better job: Update Local’s nginx config

SOLUTION: Here is the solution to my question if anyone needs it: https://twitter.com/JulienMelissas/status/1263507722957398017

This topic was automatically closed after 42 days. New replies are no longer allowed.