API Test Results

1. Test Bookings API


Warning: file_get_contents(http://103.137.179.7/New%20folder/api/bookings.php?action=all): Failed to open stream: No connection could be made because the target machine actively refused it in C:\xampp\htdocs\New folder\api_test.php on line 23
❌ Failed to connect to bookings API

2. Test Rooms API


Warning: file_get_contents(http://103.137.179.7/New%20folder/api/rooms.php): Failed to open stream: No connection could be made because the target machine actively refused it in C:\xampp\htdocs\New folder\api_test.php on line 44
❌ Failed to connect to rooms API

3. Direct File Access Test

❌ Functions file not found at: C:\xampp\htdocs\New folder/includes/functions.php
❌ Bookings API file not found at: C:\xampp\htdocs\New folder/api/bookings.php
❌ Rooms API file not found at: C:\xampp\htdocs\New folder/api/rooms.php

4. Database Connection Test


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

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