Error Log Viewer

PHP Error Log

No error log found or error logging disabled

Error log path: C:\xampp\php\logs\php_error_log

Apache Error Log

tack trace:\n#0 {main}\n  thrown in C:\\xampp\\htdocs\\New folder\\test_logs.php on line 2
[Wed Jan 28 00:56:20.513355 2026] [php:warn] [pid 5952:tid 1916] [client 216.73.216.149:39139] PHP Warning:  require_once(config/database.php): Failed to open stream: No such file or directory in C:\\xampp\\htdocs\\New folder\\test_api.php on line 10
[Wed Jan 28 00:56:20.513355 2026] [php:error] [pid 5952:tid 1916] [client 216.73.216.149:39139] PHP Fatal error:  Uncaught Error: Failed opening required 'config/database.php' (include_path='C:\\xampp\\php\\PEAR') in C:\\xampp\\htdocs\\New folder\\test_api.php:10\nStack trace:\n#0 {main}\n  thrown in C:\\xampp\\htdocs\\New folder\\test_api.php on line 10
[Wed Jan 28 00:56:21.216853 2026] [php:warn] [pid 5952:tid 1916] [client 216.73.216.149:39139] PHP Warning:  require_once(includes/functions.php): Failed to open stream: No such file or directory in C:\\xampp\\htdocs\\New folder\\debug_checkout_discrepancy.php on line 2
[Wed Jan 28 00:56:21.217850 2026] [php:error] [pid 5952:tid 1916] [client 216.73.216.149:39139] PHP Fatal error:  Uncaught Error: Failed opening required 'includes/functions.php' (include_path='C:\\xampp\\php\\PEAR') in C:\\xampp\\htdocs\\New folder\\debug_checkout_discrepancy.php:2\nStack trace:\n#0 {main}\n  thrown in C:\\xampp\\htdocs\\New folder\\debug_checkout_discrepancy.php on line 2
[Wed Jan 28 00:56:21.705178 2026] [php:warn] [pid 5952:tid 1916] [client 216.73.216.149:39139] PHP Warning:  require_once(includes/functions.php): Failed to open stream: No such file or directory in C:\\xampp\\htdocs\\New folder\\debug_checkout.php on line 2
[Wed Jan 28 00:56:21.705178 2026] [php:error] [pid 5952:tid 1916] [client 216.73.216.149:39139] PHP Fatal error:  Uncaught Error: Failed opening required 'includes/functions.php' (include_path='C:\\xampp\\php\\PEAR') in C:\\xampp\\htdocs\\New folder\\debug_checkout.php:2\nStack trace:\n#0 {main}\n  thrown in C:\\xampp\\htdocs\\New folder\\debug_checkout.php on line 2

Test Direct API Access

Testing Bookings API Directly

✅ Bookings API executed successfully
<br />
<b>Warning</b>:  include(api/bookings.php): Failed to open stream: No such file or directory in <b>C:\xampp\htdocs\New folder\error_log.php</b> on line <b>70</b><br />
<br />
<b>Warning</b>:  include(): Failed opening 'api/bookings.php' for inclusion (include_path='C:\xampp\php\PEAR') in <b>C:\xampp\htdocs\New folder\error_log.php</b> on line <b>70</b><br />

Testing Rooms API Directly

✅ Rooms API executed successfully
<br />
<b>Warning</b>:  include(api/rooms.php): Failed to open stream: No such file or directory in <b>C:\xampp\htdocs\New folder\error_log.php</b> on line <b>86</b><br />
<br />
<b>Warning</b>:  include(): Failed opening 'api/rooms.php' for inclusion (include_path='C:\xampp\php\PEAR') in <b>C:\xampp\htdocs\New folder\error_log.php</b> on line <b>86</b><br />

File Permissions Check

❌ config/database.php - File not found
❌ includes/functions.php - File not found
❌ api/bookings.php - File not found
❌ api/rooms.php - File not found

Database Connection Test


Warning: require_once(config/database.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\New folder\error_log.php on line 120

Fatal error: Uncaught Error: Failed opening required 'config/database.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\New folder\error_log.php:120 Stack trace: #0 {main} thrown in C:\xampp\htdocs\New folder\error_log.php on line 120