feat: can access to website directly from /
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
php_errors.log
|
||||||
132
php_errors.log
132
php_errors.log
@@ -1,132 +0,0 @@
|
|||||||
[31-Jan-2025 14:48:30 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.users' doesn't exist in C:\Site\connexion.php:16
|
|
||||||
Stack trace:
|
|
||||||
#0 C:\Site\connexion.php(16): PDO->query('SELECT * FROM u...')
|
|
||||||
#1 {main}
|
|
||||||
thrown in C:\Site\connexion.php on line 16
|
|
||||||
[31-Jan-2025 15:17:56 UTC] PHP Warning: Undefined array key "login" in C:\Site\menu.php on line 3
|
|
||||||
[31-Jan-2025 15:17:57 UTC] PHP Warning: Undefined variable $user_pseudo in C:\Site\auth.php on line 29
|
|
||||||
[31-Jan-2025 15:17:57 UTC] PHP Warning: Undefined variable $user_password in C:\Site\auth.php on line 30
|
|
||||||
[31-Jan-2025 15:18:50 UTC] PHP Warning: Undefined variable $user_pseudo in C:\Site\auth.php on line 29
|
|
||||||
[31-Jan-2025 15:18:50 UTC] PHP Warning: Undefined variable $user_password in C:\Site\auth.php on line 30
|
|
||||||
[31-Jan-2025 15:29:03 UTC] PHP Warning: Undefined array key "login" in C:\Site\menu.php on line 3
|
|
||||||
[31-Jan-2025 15:31:38 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:31:55 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:32:18 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:33:59 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:34:11 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:36:54 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:37:03 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:39:23 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:46:59 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:48:49 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:49:22 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 15:49:38 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 20
|
|
||||||
[31-Jan-2025 16:05:43 UTC] PHP Warning: Undefined array key "login" in C:\Site\menu.php on line 3
|
|
||||||
[31-Jan-2025 16:08:44 UTC] PHP Warning: Undefined array key "login" in C:\Site\menu.php on line 3
|
|
||||||
[31-Jan-2025 16:12:08 UTC] PHP Warning: Undefined array key "login" in C:\Site\menu.php on line 3
|
|
||||||
[02-Feb-2025 10:00:09 UTC] PHP Warning: Undefined array key "login" in C:\Site\menu.php on line 3
|
|
||||||
[02-Feb-2025 10:03:11 UTC] PHP Warning: Undefined array key "login" in C:\Site\menu.php on line 3
|
|
||||||
[02-Feb-2025 10:14:29 UTC] PHP Warning: Undefined array key "is_admin" in C:\Site\menu.php on line 10
|
|
||||||
[02-Feb-2025 10:14:48 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 31
|
|
||||||
[02-Feb-2025 10:16:23 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 31
|
|
||||||
[02-Feb-2025 10:20:53 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 31
|
|
||||||
[02-Feb-2025 10:24:33 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\auth.php on line 35
|
|
||||||
[02-Feb-2025 10:46:39 UTC] PHP Warning: Undefined global variable $_SESSION in C:\Site\create_user.php on line 2
|
|
||||||
[02-Feb-2025 10:46:39 UTC] PHP Warning: Trying to access array offset on value of type null in C:\Site\create_user.php on line 2
|
|
||||||
[02-Feb-2025 10:50:51 UTC] PHP Warning: Undefined global variable $_SESSION in C:\Site\create_user.php on line 2
|
|
||||||
[02-Feb-2025 10:50:51 UTC] PHP Warning: Trying to access array offset on value of type null in C:\Site\create_user.php on line 2
|
|
||||||
[02-Feb-2025 15:44:25 UTC] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in C:\Site\create_user.php on line 41
|
|
||||||
[02-Feb-2025 15:44:25 UTC] PHP Warning: ldap_search(): Search: Operations error in C:\Site\create_user.php on line 44
|
|
||||||
[02-Feb-2025 15:44:25 UTC] PHP Fatal error: Uncaught TypeError: ldap_get_entries(): Argument #2 ($result) must be of type LDAP\Result, bool given in C:\Site\create_user.php:45
|
|
||||||
Stack trace:
|
|
||||||
#0 C:\Site\create_user.php(45): ldap_get_entries(Object(LDAP\Connection), false)
|
|
||||||
#1 C:\Site\create_user.php(32): listAllOU()
|
|
||||||
#2 {main}
|
|
||||||
thrown in C:\Site\create_user.php on line 45
|
|
||||||
[02-Feb-2025 15:47:31 UTC] PHP Warning: ldap_search(): Search: Operations error in C:\Site\create_user.php on line 53
|
|
||||||
[02-Feb-2025 15:48:22 UTC] PHP Warning: Undefined array key "user_password" in C:\Site\create_user.php on line 44
|
|
||||||
[02-Feb-2025 15:48:22 UTC] PHP Warning: ldap_search(): Search: Operations error in C:\Site\create_user.php on line 52
|
|
||||||
[02-Feb-2025 15:49:05 UTC] PHP Warning: Undefined array key "user_password" in C:\Site\create_user.php on line 44
|
|
||||||
[02-Feb-2025 15:49:05 UTC] PHP Warning: ldap_search(): Search: Operations error in C:\Site\create_user.php on line 52
|
|
||||||
[02-Feb-2025 16:22:37 UTC] PHP Fatal error: Uncaught Error: Class "LDAPController" not found in C:\Site\auth.php:3
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\auth.php on line 3
|
|
||||||
[02-Feb-2025 16:22:39 UTC] PHP Fatal error: Uncaught Error: Class "LDAPController" not found in C:\Site\auth.php:3
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\auth.php on line 3
|
|
||||||
[02-Feb-2025 16:22:39 UTC] PHP Fatal error: Uncaught Error: Call to undefined function listAllOU() in C:\Site\create_user.php:32
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\create_user.php on line 32
|
|
||||||
[02-Feb-2025 16:23:07 UTC] PHP Fatal error: Uncaught Error: Class "LDAPController" not found in C:\Site\auth.php:3
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\auth.php on line 3
|
|
||||||
[02-Feb-2025 16:24:12 UTC] PHP Warning: require_once(LDAPController.php): Failed to open stream: No such file or directory in C:\Site\auth.php on line 3
|
|
||||||
[02-Feb-2025 16:24:12 UTC] PHP Fatal error: Uncaught Error: Failed opening required 'LDAPController.php' (include_path='.;C:\php\pear') in C:\Site\auth.php:3
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\auth.php on line 3
|
|
||||||
[02-Feb-2025 16:24:36 UTC] PHP Warning: Undefined variable $user_pseudo in C:\Site\auth.php on line 6
|
|
||||||
[02-Feb-2025 16:24:36 UTC] PHP Warning: Undefined variable $user_password in C:\Site\auth.php on line 6
|
|
||||||
[02-Feb-2025 16:28:19 UTC] PHP Warning: require_once(classes/LDAPAuth.php): Failed to open stream: No such file or directory in C:\Site\auth.php on line 2
|
|
||||||
[02-Feb-2025 16:28:19 UTC] PHP Fatal error: Uncaught Error: Failed opening required 'classes/LDAPAuth.php' (include_path='.;C:\php\pear') in C:\Site\auth.php:2
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\auth.php on line 2
|
|
||||||
[02-Feb-2025 16:32:46 UTC] PHP Warning: require_once(classes/LDAPAuth.php): Failed to open stream: No such file or directory in C:\Site\vues\auth.php on line 2
|
|
||||||
[02-Feb-2025 16:32:46 UTC] PHP Fatal error: Uncaught Error: Failed opening required 'classes/LDAPAuth.php' (include_path='.;C:\php\pear') in C:\Site\vues\auth.php:2
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\vues\auth.php on line 2
|
|
||||||
[02-Feb-2025 16:32:47 UTC] PHP Warning: require_once(classes/LDAPAuth.php): Failed to open stream: No such file or directory in C:\Site\vues\auth.php on line 2
|
|
||||||
[02-Feb-2025 16:32:47 UTC] PHP Fatal error: Uncaught Error: Failed opening required 'classes/LDAPAuth.php' (include_path='.;C:\php\pear') in C:\Site\vues\auth.php:2
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\vues\auth.php on line 2
|
|
||||||
[02-Feb-2025 17:36:03 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\views\menu.php on line 2
|
|
||||||
[02-Feb-2025 17:36:03 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\views\menu.php on line 2
|
|
||||||
[02-Feb-2025 17:37:42 UTC] PHP Warning: ldap_search(): Search: Operations error in C:\Site\controllers\controllerAdmin.php on line 25
|
|
||||||
[02-Feb-2025 17:39:26 UTC] PHP Warning: ldap_search(): Search: Operations error in C:\Site\controllers\controllerAdmin.php on line 25
|
|
||||||
[02-Feb-2025 17:45:20 UTC] PHP Warning: Undefined array key "ldap_token" in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:45:20 UTC] PHP Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:45:20 UTC] PHP Warning: Undefined array key 1 in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:28 UTC] PHP Warning: Undefined array key "ldap_token" in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:28 UTC] PHP Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:28 UTC] PHP Warning: Undefined array key 1 in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:29 UTC] PHP Warning: Undefined array key "ldap_token" in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:29 UTC] PHP Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:29 UTC] PHP Warning: Undefined array key 1 in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:30 UTC] PHP Warning: Undefined array key "ldap_token" in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:30 UTC] PHP Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:46:30 UTC] PHP Warning: Undefined array key 1 in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:48:24 UTC] PHP Warning: Undefined array key "ldap_token" in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:48:24 UTC] PHP Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:48:24 UTC] PHP Warning: Undefined array key 1 in C:\Site\controllers\controllerAdmin.php on line 15
|
|
||||||
[02-Feb-2025 17:51:43 UTC] PHP Warning: require_once(../models/LDAPAuth.php): Failed to open stream: No such file or directory in C:\Site\controllers\auth.php on line 2
|
|
||||||
[02-Feb-2025 17:51:43 UTC] PHP Fatal error: Uncaught Error: Failed opening required '../models/LDAPAuth.php' (include_path='.;C:\php\pear') in C:\Site\controllers\auth.php:2
|
|
||||||
Stack trace:
|
|
||||||
#0 C:\Site\index.php(12): require_once()
|
|
||||||
#1 {main}
|
|
||||||
thrown in C:\Site\controllers\auth.php on line 2
|
|
||||||
[02-Feb-2025 17:59:14 UTC] PHP Warning: require(/views/auth.php): Failed to open stream: No such file or directory in C:\Site\index.php on line 6
|
|
||||||
[02-Feb-2025 17:59:14 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/views/auth.php' (include_path='.;C:\php\pear') in C:\Site\index.php:6
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\index.php on line 6
|
|
||||||
[02-Feb-2025 17:59:15 UTC] PHP Warning: require(/views/auth.php): Failed to open stream: No such file or directory in C:\Site\index.php on line 6
|
|
||||||
[02-Feb-2025 17:59:15 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/views/auth.php' (include_path='.;C:\php\pear') in C:\Site\index.php:6
|
|
||||||
Stack trace:
|
|
||||||
#0 {main}
|
|
||||||
thrown in C:\Site\index.php on line 6
|
|
||||||
[02-Feb-2025 18:02:55 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 38
|
|
||||||
[02-Feb-2025 18:03:27 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 38
|
|
||||||
[02-Feb-2025 18:04:48 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 38
|
|
||||||
[02-Feb-2025 18:09:49 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 2
|
|
||||||
[02-Feb-2025 18:09:49 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 40
|
|
||||||
[02-Feb-2025 18:11:56 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 2
|
|
||||||
[02-Feb-2025 18:11:56 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 40
|
|
||||||
[02-Feb-2025 18:14:05 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 2
|
|
||||||
[02-Feb-2025 18:14:05 UTC] PHP Notice: session_start(): Ignoring session_start() because a session is already active in C:\Site\controllers\auth.php on line 40
|
|
||||||
11
web.config
Normal file
11
web.config
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<configuration>
|
||||||
|
<system.webServer>
|
||||||
|
<defaultDocument>
|
||||||
|
<files>
|
||||||
|
<clear />
|
||||||
|
<add value="index.php" />
|
||||||
|
</files>
|
||||||
|
</defaultDocument>
|
||||||
|
</system.webServer>
|
||||||
|
</configuration>
|
||||||
Reference in New Issue
Block a user