[25-Jan-2026 18:52:47 UTC] 📥 Raw input received: {"request_type":"non-customized","tour_id":1,"timestamp":"1769367166415","client_id":1,"per_adult":"3500","per_child":"600","tour_package":"1-Day","tour_photo":"https://oxttravel.com/backend/media/ad547c0a5bcaa7eda3d7.jpg","tour_title":"Test Package 2","tour_type":"Adventure","tour_country":"Kenya","tour_description":"<p>Test Description Package</p>","client_email":"jessy.bandya5@gmail.com","client_phone":"+254746749307","client_full_name":"Jessy Bandya","tour_date":"Sun Jan 25 2026","tour_time":"12:00 AM","tour_adults":"2","tour_children":"1","tour_total_price":"7600","tour_status":"pending","request_id":"773507392","tourPlaces":[{"tour_place_name":"Place 1","tour_place_location_name":"Nairobi, Kenya","tour_place_lat":"-1.2921","tour_place_lng":"36.8219","tour_image_url":"https://oxttravel.com/backend/media/x2Xazq3UjgLO6fBP.jpg","tour_place_description":"<p>Some Desk</p>","timestamp":"1769367166415"},{"tour_place_name":"Place 2","tour_place_location_name":"Mombasa, Kenya","tour_place_
[25-Jan-2026 18:52:47 UTC] 📥 Parsed as JSON data
[25-Jan-2026 18:52:47 UTC] 📥 Parsed data keys: request_type, tour_id, timestamp, client_id, per_adult, per_child, tour_package, tour_photo, tour_title, tour_type, tour_country, tour_description, client_email, client_phone, client_full_name, tour_date, tour_time, tour_adults, tour_children, tour_total_price, tour_status, request_id, tourPlaces
[25-Jan-2026 18:52:47 UTC] 📥 Client email: jessy.bandya5@gmail.com
[25-Jan-2026 18:52:47 UTC] 📥 Request ID: 773507392
[25-Jan-2026 18:52:47 UTC] 🔄 Starting database transaction
[25-Jan-2026 18:52:47 UTC] ✅ Tour request inserted with ID: 25, Request ID: 773507392
[25-Jan-2026 18:52:47 UTC] 📝 Processing tour places: 2 places found
[25-Jan-2026 18:52:47 UTC] ✅ Place 0 inserted
[25-Jan-2026 18:52:47 UTC] ✅ Place 1 inserted
[25-Jan-2026 18:52:47 UTC] 📊 Total places inserted: 2
[25-Jan-2026 18:52:47 UTC] ✅ Database transaction committed successfully
[25-Jan-2026 18:52:47 UTC] 📧 Attempting to send email to: jessy.bandya5@gmail.com
[25-Jan-2026 18:52:47 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mail() in /home/tusejbqy/public_html/backend/addTourRequest.php:69
Stack trace:
#0 /home/tusejbqy/public_html/backend/addTourRequest.php(272): sendTourRequestEmail('jessy.bandya5@g...', 'Jessy Bandya', 'Test Package 2', '773507392', 'Sun Jan 25 2026', '2', '1', '7600', '12:00 AM', 'Adventure', 'Kenya')
#1 {main}
  thrown in /home/tusejbqy/public_html/backend/addTourRequest.php on line 69
[25-Jan-2026 18:53:58 UTC] 📥 Raw input received: {"request_type":"non-customized","tour_id":1,"timestamp":"1769367237121","client_id":1,"per_adult":"3500","per_child":"600","tour_package":"1-Day","tour_photo":"https://oxttravel.com/backend/media/ad547c0a5bcaa7eda3d7.jpg","tour_title":"Test Package 2","tour_type":"Adventure","tour_country":"Kenya","tour_description":"<p>Test Description Package</p>","client_email":"jessy.bandya5@gmail.com","client_phone":"+254746749307","client_full_name":"Jessy Bandya","tour_date":"Sun Jan 25 2026","tour_time":"12:00 AM","tour_adults":"2","tour_children":"1","tour_total_price":"7600","tour_status":"pending","request_id":"472869991","tourPlaces":[{"tour_place_name":"Place 1","tour_place_location_name":"Nairobi, Kenya","tour_place_lat":"-1.2921","tour_place_lng":"36.8219","tour_image_url":"https://oxttravel.com/backend/media/x2Xazq3UjgLO6fBP.jpg","tour_place_description":"<p>Some Desk</p>","timestamp":"1769367237121"},{"tour_place_name":"Place 2","tour_place_location_name":"Mombasa, Kenya","tour_place_
[25-Jan-2026 18:53:58 UTC] 📥 Parsed as JSON data
[25-Jan-2026 18:53:58 UTC] 📥 Parsed data keys: request_type, tour_id, timestamp, client_id, per_adult, per_child, tour_package, tour_photo, tour_title, tour_type, tour_country, tour_description, client_email, client_phone, client_full_name, tour_date, tour_time, tour_adults, tour_children, tour_total_price, tour_status, request_id, tourPlaces
[25-Jan-2026 18:53:58 UTC] 📥 Client email: jessy.bandya5@gmail.com
[25-Jan-2026 18:53:58 UTC] 📥 Request ID: 472869991
[25-Jan-2026 18:53:58 UTC] 🔄 Starting database transaction
[25-Jan-2026 18:53:58 UTC] ✅ Tour request inserted with ID: 26, Request ID: 472869991
[25-Jan-2026 18:53:58 UTC] 📝 Processing tour places: 2 places found
[25-Jan-2026 18:53:58 UTC] ✅ Place 0 inserted
[25-Jan-2026 18:53:58 UTC] ✅ Place 1 inserted
[25-Jan-2026 18:53:58 UTC] 📊 Total places inserted: 2
[25-Jan-2026 18:53:58 UTC] ✅ Database transaction committed successfully
[25-Jan-2026 18:53:58 UTC] 📧 Attempting to send email to: jessy.bandya5@gmail.com
[25-Jan-2026 18:53:58 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mail() in /home/tusejbqy/public_html/backend/addTourRequest.php:69
Stack trace:
#0 /home/tusejbqy/public_html/backend/addTourRequest.php(272): sendTourRequestEmail('jessy.bandya5@g...', 'Jessy Bandya', 'Test Package 2', '472869991', 'Sun Jan 25 2026', '2', '1', '7600', '12:00 AM', 'Adventure', 'Kenya')
#1 {main}
  thrown in /home/tusejbqy/public_html/backend/addTourRequest.php on line 69
[25-Jan-2026 18:58:10 UTC] 📥 Raw input received: {"request_type":"non-customized","tour_id":1,"timestamp":"1769367489198","client_id":1,"per_adult":"3500","per_child":"600","tour_package":"1-Day","tour_photo":"https://oxttravel.com/backend/media/ad547c0a5bcaa7eda3d7.jpg","tour_title":"Test Package 2","tour_type":"Adventure","tour_country":"Kenya","tour_description":"<p>Test Description Package</p>","client_email":"jessy.bandya5@gmail.com","client_phone":"+254746749307","client_full_name":"Jessy Bandya","tour_date":"Sun Jan 25 2026","tour_time":"12:00 AM","tour_adults":"2","tour_children":"1","tour_total_price":"7600","tour_status":"pending","request_id":"49466372","tourPlaces":[{"tour_place_name":"Place 1","tour_place_location_name":"Nairobi, Kenya","tour_place_lat":"-1.2921","tour_place_lng":"36.8219","tour_image_url":"https://oxttravel.com/backend/media/x2Xazq3UjgLO6fBP.jpg","tour_place_description":"<p>Some Desk</p>","timestamp":"1769367489198"},{"tour_place_name":"Place 2","tour_place_location_name":"Mombasa, Kenya","tour_place_l
[25-Jan-2026 18:58:10 UTC] 📥 Parsed as JSON data
[25-Jan-2026 18:58:10 UTC] 📥 Parsed data keys: request_type, tour_id, timestamp, client_id, per_adult, per_child, tour_package, tour_photo, tour_title, tour_type, tour_country, tour_description, client_email, client_phone, client_full_name, tour_date, tour_time, tour_adults, tour_children, tour_total_price, tour_status, request_id, tourPlaces
[25-Jan-2026 18:58:10 UTC] 📥 Client email: jessy.bandya5@gmail.com
[25-Jan-2026 18:58:10 UTC] 📥 Request ID: 49466372
[25-Jan-2026 18:58:10 UTC] 🔄 Starting database transaction
[25-Jan-2026 18:58:10 UTC] ✅ Tour request inserted with ID: 29, Request ID: 49466372
[25-Jan-2026 18:58:10 UTC] 📝 Processing tour places: 2 places found
[25-Jan-2026 18:58:10 UTC] ✅ Place 0 inserted
[25-Jan-2026 18:58:10 UTC] ✅ Place 1 inserted
[25-Jan-2026 18:58:10 UTC] 📊 Total places inserted: 2
[25-Jan-2026 18:58:10 UTC] ✅ Database transaction committed successfully
[25-Jan-2026 18:58:10 UTC] 📧 Attempting to send email to: jessy.bandya5@gmail.com
[25-Jan-2026 18:58:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mail() in /home/tusejbqy/public_html/backend/addTourRequest.php:69
Stack trace:
#0 /home/tusejbqy/public_html/backend/addTourRequest.php(272): sendTourRequestEmail('jessy.bandya5@g...', 'Jessy Bandya', 'Test Package 2', '49466372', 'Sun Jan 25 2026', '2', '1', '7600', '12:00 AM', 'Adventure', 'Kenya')
#1 {main}
  thrown in /home/tusejbqy/public_html/backend/addTourRequest.php on line 69
[25-Jan-2026 19:02:06 UTC] 📥 Raw input length: 1198
[25-Jan-2026 19:02:06 UTC] 📥 Parsed as JSON data
[25-Jan-2026 19:02:06 UTC] 🔄 Starting database transaction
[25-Jan-2026 19:02:06 UTC] ✅ Tour request inserted with ID: 30, Request ID: 714788608
[25-Jan-2026 19:02:06 UTC] 📝 Processing tour places: 2 places found
[25-Jan-2026 19:02:11 UTC] ✅ Place 0 inserted
[25-Jan-2026 19:02:11 UTC] ✅ Place 1 inserted
[25-Jan-2026 19:02:11 UTC] 📊 Total places inserted: 2
[25-Jan-2026 19:02:11 UTC] ❌ Database error: There is no active transaction
[25-Jan-2026 19:03:52 UTC] 📥 Raw input length: 1198
[25-Jan-2026 19:03:52 UTC] 📥 Parsed as JSON data
[25-Jan-2026 19:03:52 UTC] 🔄 Starting database transaction
[25-Jan-2026 19:03:52 UTC] ✅ Tour request inserted with ID: 31, Request ID: 238104774
[25-Jan-2026 19:03:52 UTC] 📝 Processing tour places: 2 places found
[25-Jan-2026 19:03:53 UTC] ✅ Place 0 inserted
[25-Jan-2026 19:03:53 UTC] ✅ Place 1 inserted
[25-Jan-2026 19:03:53 UTC] 📊 Total places inserted: 2
[25-Jan-2026 19:03:53 UTC] ❌ Database error: There is no active transaction
[25-Jan-2026 19:05:04 UTC] 📥 Raw input length: 1198
[25-Jan-2026 19:05:04 UTC] 📥 Parsed as JSON data
[25-Jan-2026 19:05:04 UTC] 🔄 Starting database transaction
[25-Jan-2026 19:05:04 UTC] ✅ Tour request inserted with ID: 32, Request ID: 522936703
[25-Jan-2026 19:05:04 UTC] 📝 Processing tour places: 2 places found
[25-Jan-2026 19:05:06 UTC] ✅ Place 0 inserted
[25-Jan-2026 19:05:06 UTC] ✅ Place 1 inserted
[25-Jan-2026 19:05:06 UTC] 📊 Total places inserted: 2
[25-Jan-2026 19:05:06 UTC] ❌ Database error: There is no active transaction
