-
Notifications
You must be signed in to change notification settings - Fork 27
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
removing SAML conf has residual error #1186
Comments
I think removing if ( is_file( '/opt/.deploy-meza/SAMLConfig.php' ) ) {
require_once __DIR__ . '/NonMediaWikiSimpleSamlAuth.php';
} Should become: {% if saml_public is defined %}
require_once __DIR__ . '/NonMediaWikiSimpleSamlAuth.php';
{% endif %} |
I think i have provided the pull requests for the 3 files you mentioned. In the first two, I had to add the {% else %} part and include the else case. Let me know if this does the trick. Thank you! |
Deploy runs fine. Bad Request ..might I also need to remove "samlLocalSettings.php"? |
My site works well now. Deleting the SAMLconfig.php file in .Deploy-Meza did the trick. The other issue I was having is unrelated to SAML. |
Environment
Issue summary
After removing SAML configuration from public and secret yml pages and performing a successful redeploy, landing page fails with residual SAML error.
Issue details
--- landing page works
--- demo wiki works)
--- Demo Wiki works
--- Landing page fails (Error 500)
Apache Error logs contains:
[Wed Jun 05 14:52:28.728999 2019] [php7:warn] [pid 3402] [client 127.0.0.1:40248] PHP Warning: require_once(/opt/htdocs/NonMediaWikiSimpleSamlAuth.php): failed to open stream: No such file or directory in /opt/htdocs/index.php on line 5
[Wed Jun 05 14:52:28.729080 2019] [php7:error] [pid 3402] [client 127.0.0.1:40248] PHP Fatal error: require_once(): Failed opening required '/opt/htdocs/NonMediaWikiSimpleSamlAuth.php' (include_path='.:/usr/share/pear:/usr/share/php') in /opt/htdocs/index.php on line 5
The text was updated successfully, but these errors were encountered: