Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP session extension required. #470

Open
lhunath opened this issue Jan 8, 2024 · 0 comments
Open

PHP session extension required. #470

lhunath opened this issue Jan 8, 2024 · 0 comments

Comments

@lhunath
Copy link

lhunath commented Jan 8, 2024

At https://github.com/flarum/docs/blob/master/docs/install.md we find the list of PHP extensions that must be installed.

It is missing a reference to session. As a result, the user may run into the following error:

+ php flarum migrate
PHP Fatal error:  Uncaught Error: Interface "SessionHandlerInterface" not found in /usr/local/www/chat.spectre.app/flarum/vendor/illuminate/session/FileSessionHandler.php:
10
Stack trace:
#0 /usr/local/www/chat.spectre.app/flarum/vendor/composer/ClassLoader.php(576): include()
#1 /usr/local/www/chat.spectre.app/flarum/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#2 /usr/local/www/chat.spectre.app/flarum/vendor/illuminate/session/SessionManager.php(73): Composer\Autoload\ClassLoader->loadClass()
#3 /usr/local/www/chat.spectre.app/flarum/vendor/illuminate/session/SessionManager.php(61): Illuminate\Session\SessionManager->createNativeDriver()
#4 /usr/local/www/chat.spectre.app/flarum/vendor/illuminate/support/Manager.php(105): Illuminate\Session\SessionManager->createFileDriver()
#5 /usr/local/www/chat.spectre.app/flarum/vendor/illuminate/support/Manager.php(80): Illuminate\Support\Manager->createDriver()
#6 /usr/local/www/chat.spectre.app/flarum/vendor/flarum/core/src/User/SessionManager.php(33): Illuminate\Support\Manager->driver()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant