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 lizmap/dev.php module:configure saml [error] Unknown module saml #10

Open
tuankhanh78 opened this issue Jan 6, 2023 · 2 comments
Open

Comments

@tuankhanh78
Copy link

Hi,

I'm trying to setup saml module and I get this message:

[error] Unknown module saml

Do I miss some steps ?

jelix/saml-module is already installed with composer

bash-5.1# composer require "jelix/saml-module"
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^2.1 for jelix/saml-module
./composer.json has been updated
Running composer update jelix/saml-module
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
1 package you are using is looking for funding.
Use the composer fund command to find out more!
No security vulnerability advisories found
bash-5.1#

Thank for your help.

@laurentj
Copy link
Member

Installing the source code of the module is not enough. You should execute some commands in order to activate it into your application. See installation instructions into the README.md file.

Which version of Jelix are you using? Or which application if this is an open source application ?

@tuankhanh78
Copy link
Author

tuankhanh78 commented Feb 3, 2023

Hi Laurent,

Thank for your reply.

I'm using Jelix version 2.0.1 and Lizmap 3.6.0

root@de9a5a60d858:/var/www/lizmap/# cat vendor/jelix/version/VERSION
2.0.1

I follow those steps for Jelix 1.7 or higher

root@de9a5a60d858:/# composer require "jelix/saml-module"
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Symfony/Component/Console/Command/DumpCompletionCommand.php:48
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Symfony/Component/Console/Command/DumpCompletionCommand.php:56
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Composer/Autoload/AutoloadGenerator.php:879
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Composer/Autoload/AutoloadGenerator.php:884
Using version ^2.1 for jelix/saml-module
./composer.json has been updated
Running composer update jelix/saml-module
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
1 package you are using is looking for funding.
Use the composer fund command to find out more!

root@de9a5a60d858:/var/www/lizmap# cat ./var/config/localconfig.ini.php
[modules]
lizmap.installparam=demo

jauth.enable=0
jauthdb.enable=0

[coordplugins]
lizmap=lizmapConfig.ini.php

root@de9a5a60d858:/var/www/# php lizmap/install/configurator.php saml
[error] Unknown module saml

Do you have any idea of what is missing ?

Thank for your help

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

2 participants