#1927 - Removing LDAP addon causes crash

Identifier #1927
Issue type Major issue (breaks an entire feature)
Title Removing LDAP addon causes crash
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description I'm not sure if this is the result of the other Setup Wizard critical error (http://compo.sr/tracker/view.php?id=1926) interrupting Step 10 or if this is a legitimate bug. With the LDAP addon removed as part of Step 10 of the Setup Wizard, going to any other page (for example, the main homepage or adminzone homepage) results in an error and stack trace:

An error has occurred

A source code file is missing: hooks/systems/config/windows_auth_is_enabled (sources/hooks/systems/config/windows_auth_is_enabled.php or an overridden equivalent to this path) (version: 10 alpha1, PHP version: 5.6.8, URL: /composr/adminzone/)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File 'E:\\xampp\\htdocs\\composr\\sources\\failure.php'
Line 963
Function 'get_html_trace'
Args

File 'E:\\xampp\\htdocs\\composr\\sources\\global2.php'
Line 865
Function '_fatal_exit'
Args Tempcode -> A source code file is missing: hooks/systems/config/windows_auth_is_enabled (E:\xampp\htdocs\composr/sources/hooks/systems/config/windows_auth_is_enabled.php or an overridden equivalent to this path)

File 'E:\\xampp\\htdocs\\composr\\sources\\global.php'
Line 299
Function 'fatal_exit'
Args Tempcode -> A source code file is missing: hooks/systems/config/windows_auth_is_enabled (E:\xampp\htdocs\composr/sources/hooks/systems/config/windows_auth_is_enabled.php or an overridden equivalent to this path)

File 'E:\\xampp\\htdocs\\composr\\sources\\config2.php'
Line 97
Function 'require_code'
Args 'hooks/systems/config/windows_auth_is_enabled'

File 'E:\\xampp\\htdocs\\composr\\sources\\config.php'
Line 200
Function 'get_default_option'
Args 'windows_auth_is_enabled'

File 'E:\\xampp\\htdocs\\composr\\sources\\hooks\\systems\\login_providers\\httpauth.php'
Line 37
Function 'get_option'
Args 'windows_auth_is_enabled'

File 'E:\\xampp\\htdocs\\composr\\sources\\global.php(166) : eval()'d code'
Line 272
Function 'try_login'
Class 'Hook_login_provider_httpauth'
Object O:28:"Hook_login_provider_httpauth":0:{}
Type '->'
Args 2

File 'E:\\xampp\\htdocs\\composr\\sources\\global2.php'
Line 345
Function 'get_member'
Args

Function 'init__global2'
Args

File 'E:\\xampp\\htdocs\\composr\\sources\\global.php'
Line 280
Function 'call_user_func'
Args 'init__global2'

File 'E:\\xampp\\htdocs\\composr\\sources\\global.php'
Line 592
Function 'require_code'
Args 'global2'

File 'E:\\xampp\\htdocs\\composr\\adminzone\\index.php'
Line 47
Args 'E:\\xampp\\htdocs\\composr\\sources\\global.php'
Function 'require'
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated