A PHP Error was encountered

Severity: Warning

Message: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0

Filename: controllers/Main.php

Line Number: 1091

Backtrace:

File: /home2/bitesup/public_html/application/controllers/Main.php
Line: 1091
Function: file_get_contents

File: /home2/bitesup/public_html/application/controllers/Main.php
Line: 82
Function: get_country_by_ip

File: /home2/bitesup/public_html/index.php
Line: 298
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(http://www.geoplugin.net/php.gp?ip=54.167.18.170): failed to open stream: no suitable wrapper could be found

Filename: controllers/Main.php

Line Number: 1091

Backtrace:

File: /home2/bitesup/public_html/application/controllers/Main.php
Line: 1091
Function: file_get_contents

File: /home2/bitesup/public_html/application/controllers/Main.php
Line: 82
Function: get_country_by_ip

File: /home2/bitesup/public_html/index.php
Line: 298
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home2/bitesup/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home2/bitesup/public_html/application/models/Restaurant_search.php
Line: 715
Function: get

File: /home2/bitesup/public_html/application/controllers/Main.php
Line: 85
Function: get_open_restaurant_by_category

File: /home2/bitesup/public_html/index.php
Line: 298
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1055

Expression #16 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'bitesup_new_db.restaurant_timing.start_time' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT `restaurant`.`id` AS `restaurant_id`, `restaurant`.`name` AS `restaurant_name`, `restaurant`.`logo_url` AS `logo_url`, `restaurant`.`cover_image_url` AS `cover_image_url`, `restaurant`.`description` AS `description`, `restaurant`.`website_address` AS `website_address`, `restaurant`.`server` AS `restaurant_server`, `restaurant`.`min_price` AS `restaurant_min_price`, `restaurant`.`max_price` AS `restaurant_max_price`, `restaurant`.`min_order` AS `restaurant_min_order`, `restaurant`.`delivery_charges` AS `delivery_charges`, `restaurant`.`restaurant_discount` AS `restaurant_discount`, `hb_countries`.`country_name` as `country_name`, `cities`.`city_name` as `city_name`, `cuisine_type`.`name` as `cousine_name`, `restaurant_timing`.`start_time` as `start_time`, `restaurant_timing`.`end_time` as `end_time`, `restaurant_timing`.`day` as `day`, COUNT(restaurant_comments.restaurant_id) AS restaurant_reviews, (SUM(restaurant_comments.rating) / COUNT(restaurant_comments.user_id)) AS average_vote FROM `restaurant` LEFT JOIN `restaurant_comments` ON `restaurant`.`id` =`restaurant_comments`.`restaurant_id` JOIN `restaurant_timing` ON `restaurant`.`id` = `restaurant_timing`.`restaurant_id` LEFT JOIN `hb_countries` ON `hb_countries`.`country_id`=`restaurant`.`country_id` LEFT JOIN `cities` ON `restaurant`.`city_id` = `cities`.`city_id` LEFT JOIN `restaurant_cuisine_type` ON `restaurant_cuisine_type`.`restaurant_id` =`restaurant`.`id` LEFT JOIN `cuisine_type` ON `cuisine_type`.`id` =`restaurant_cuisine_type`.`cuisine_type_id` WHERE `restaurant_timing`.`start_time` != '00:00:00' AND `restaurant_timing`.`end_time` != '00:00:00' AND `restaurant_timing`.`status` = 1 AND `restaurant_timing`.`day` = 'Friday' AND `restaurant_cuisine_type`.`cuisine_type_id` = '9' GROUP BY `restaurant`.`id` ORDER BY `average_vote` DESC LIMIT 30

Filename: models/Restaurant_search.php

Line Number: 715