Hi,

I'm trying to give extra info concerning a bug by executing the "php flarum info" command in the flarum directory.
But I get the following error:
PHP Fatal error: Uncaught Error: Failed opening required 'site.php' (include_path='.:') in xx/xx/xx/flarum/flarum:11
Stack trace:
#0 {main}
thrown in /data/sites/web/synchestraai/subsites/forum.synchestra.ai/flarum/flarum on line 11

The site.php file does exist in the directory just above.Should I manually move the site.php file, change the code or do some kind of update with composer? I recently did an update with composer and I had no issues thrown in the command line.

Thanks in advance!

    yannickp4 curious that Flarum seems to function still without site.php. Seems like the binary flarum is misplaced. Regardless can you sketch how your directory structure is now?

    • Where are config.php, flarum, composer.json and composer.lock? These are supposed to be inside the installation path.
    • Where is index.php, usually this is inside public/ but this can be different if you changed the paths.

    I'm working on an improved version of the helper, and will include the paths in its debug.

      @luceos does this answer your question or do you need more info/details?
      I append my composer.json file if it might help:
      {
      "name": "flarum/flarum",
      "description": "Delightfully simple forum software.",
      "type": "project",
      "keywords": [
      "forum",
      "discussion"
      ],
      "homepage": "https://flarum.org/",
      "license": "MIT",
      "authors": [
      {
      "name": "Flarum",
      "email": "info@flarum.org",
      "homepage": "https://flarum.org/team"
      }
      ],
      "support": {
      "issues": "https://github.com/flarum/core/issues",
      "source": "https://github.com/flarum/flarum",
      "docs": "https://docs.flarum.org/"
      },
      "require": {
      "askvortsov/flarum-auto-moderator": "*",
      "flarum-lang/dutch": "*",
      "flarum-lang/french": "^3.8",
      "flarum-lang/german": "^1.3",
      "flarum/approval": "*",
      "flarum/bbcode": "*",
      "flarum/core": "^1.3",
      "flarum/emoji": "*",
      "flarum/flags": "*",
      "flarum/lang-english": "*",
      "flarum/likes": "*",
      "flarum/lock": "*",
      "flarum/markdown": "*",
      "flarum/mentions": "*",
      "flarum/nicknames": "*",
      "flarum/pusher": "*",
      "flarum/statistics": "*",
      "flarum/sticky": "*",
      "flarum/subscriptions": "*",
      "flarum/suspend": "*",
      "flarum/tags": "*",
      "fof/byobu": "*",
      "fof/discussion-language": "^1.2",
      "fof/merge-discussions": "*",
      "fof/split": "*",
      "fof/upload": "^1.2",
      "fof/user-bio": "*",
      "fof/username-request": "*",
      "v17development/flarum-user-badges": "^1.0"
      },
      "config": {
      "preferred-install": "dist",
      "sort-packages": true
      }
      }