<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2025-02-28 01:01:23 --> Severity: Notice --> Undefined index: PHP_AUTH_USER /home/akshay/public_html/cab/application/controllers/Api/User.php 15
ERROR - 2025-02-28 12:07:19 --> 404 Page Not Found: Api/Driver/Verifyotp
ERROR - 2025-02-28 12:08:00 --> 404 Page Not Found: Api/Driver/Verifyotp
ERROR - 2025-02-28 12:21:21 --> 404 Page Not Found: Api/user
ERROR - 2025-02-28 12:21:51 --> 404 Page Not Found: Api/User/UserController
ERROR - 2025-02-28 12:21:55 --> 404 Page Not Found: Api/User/UserController
ERROR - 2025-02-28 12:22:14 --> 404 Page Not Found: Api/User/UserController
ERROR - 2025-02-28 12:23:58 --> 404 Page Not Found: Api/User/UserController
ERROR - 2025-02-28 12:24:19 --> 404 Page Not Found: Api/User/UserController
ERROR - 2025-02-28 12:27:19 --> 404 Page Not Found: Api/User/UserController
ERROR - 2025-02-28 12:29:16 --> 404 Page Not Found: Api/User/User
ERROR - 2025-02-28 12:29:18 --> 404 Page Not Found: Api/User/User
ERROR - 2025-02-28 12:29:18 --> 404 Page Not Found: Api/User/User
ERROR - 2025-02-28 12:30:14 --> 404 Page Not Found: Api/User/User
ERROR - 2025-02-28 12:30:53 --> 404 Page Not Found: Api/User/User
ERROR - 2025-02-28 12:31:43 --> 404 Page Not Found: Api/User/User
ERROR - 2025-02-28 12:32:31 --> 404 Page Not Found: Api/User/User
ERROR - 2025-02-28 12:36:44 --> Severity: Notice --> Undefined property: UserController::$lib_model /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 58
ERROR - 2025-02-28 12:36:44 --> Severity: error --> Exception: Call to a member function Update() on null /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 58
ERROR - 2025-02-28 12:44:57 --> Severity: error --> Exception: /home/akshay/public_html/cab/application/models/Common_model.php exists, but doesn't declare class Common_model /home/akshay/public_html/cab/system/core/Loader.php 341
ERROR - 2025-02-28 12:59:12 --> Severity: error --> Exception: syntax error, unexpected '}', expecting ';' /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 95
ERROR - 2025-02-28 13:21:55 --> 404 Page Not Found: Api/User/my-profile
ERROR - 2025-02-28 13:39:24 --> 404 Page Not Found: Api/User/UserController
ERROR - 2025-02-28 15:08:11 --> Severity: Notice --> Undefined index: edit_id /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 134
ERROR - 2025-02-28 15:50:24 --> Query error: Unknown column 'type' in 'field list' - Invalid query: SELECT `id`, `user_id`, `type`, `address`, `latitude`, `longitude`
FROM `tbl_user`
WHERE `id` = '6'
AND `delete_status` = 'false'
ERROR - 2025-02-28 15:50:38 --> Query error: Unknown column 'type' in 'field list' - Invalid query: SELECT `id`, `user_id`, `type`, `address`, `latitude`, `longitude`
FROM `tbl_user`
WHERE `id` = '6'
AND `delete_status` = 'false'
ERROR - 2025-02-28 16:07:16 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169071,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471075,2)) ) + sin( radians(round(18.5169071,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:13:19 --> Query error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.b.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT b.*,DATE_FORMAT(b.entry_date,'%d/%m/%Y %H:%i %p') AS entrydate,vt.name as vehicle_name,
                    tbc.selecteddate,tbc.selectedtime,tu.f_name,tu.mobile_no,tu.email_id
                    FROM tbl_booking b
                    INNER JOIN tbl_vehicletype vt ON vt.id=b.type_id 
                    INNER JOIN tbl_userwise_cabrequest tbc ON tbc.user_id=b.user_id 
                    INNER JOIN tbl_user tu ON tu.id=b.user_id 
                    WHERE b.user_id='User-00841432'  AND b.ride_status='2' GROUP BY b.book_id ORDER BY b.id DESC LIMIT 0,10
ERROR - 2025-02-28 16:20:04 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169376,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471033,2)) ) + sin( radians(round(18.5169376,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:21:04 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169193,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471175,2)) ) + sin( radians(round(18.5169193,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:22:11 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169077,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471133,2)) ) + sin( radians(round(18.5169077,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:23:43 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169411,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.847108,2)) ) + sin( radians(round(18.5169411,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:25:14 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169091,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471097,2)) ) + sin( radians(round(18.5169091,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:27:56 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169044,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8470967,2)) ) + sin( radians(round(18.5169044,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:28:15 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169052,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471025,2)) ) + sin( radians(round(18.5169052,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 16:50:01 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169069,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471066,2)) ) + sin( radians(round(18.5169069,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-02-28 17:00:21 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(18.5169435,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(73.8471043,2)) ) + sin( radians(round(18.5169435,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
