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/Restaurant.php

Line Number: 594

Backtrace:

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 594
Function: file_get_contents

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 268
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/Restaurant.php

Line Number: 594

Backtrace:

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 594
Function: file_get_contents

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 268
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:// wrapper is disabled in the server configuration by allow_url_fopen=0

Filename: controllers/Restaurant.php

Line Number: 727

Backtrace:

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 727
Function: file_get_contents

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 270
Function: get_my_city_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://ipinfo.io/54.167.18.170): failed to open stream: no suitable wrapper could be found

Filename: controllers/Restaurant.php

Line Number: 727

Backtrace:

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 727
Function: file_get_contents

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 270
Function: get_my_city_by_ip

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Restaurant.php

Line Number: 728

Backtrace:

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 728
Function: _error_handler

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 270
Function: get_my_city_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_model.php
Line: 60
Function: get

File: /home2/bitesup/public_html/application/controllers/Restaurant.php
Line: 293
Function: get_limited_by_restaurant_id

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

Database Error

A Database Error Occurred

Error Number: 1055

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

SELECT `restaurant_menu_items`.`id` as `item_id`, `restaurant_menu_items`.`name` as `item_name`, `restaurant`.`name` as `restaurant_name`, `hb_countries`.`country_name` as `country_name`, `restaurant_menu_images`.`image_url` as `item_image`, `restaurant_menu_items`.`price` as `item_price`, `restaurant_menu_items`.`description` as `item_desc` FROM `restaurant` LEFT JOIN `hb_countries` ON `restaurant`.`country_id` = `hb_countries`.`country_id` LEFT JOIN `restaurant_menu` ON `restaurant`.`id` = `restaurant_menu`.`restaurant_id` LEFT JOIN `restaurant_menu_items` ON `restaurant_menu`.`id` = `restaurant_menu_items`.`menu_id` LEFT JOIN `restaurant_menu_images` ON `restaurant_menu_items`.`id` = `restaurant_menu_images`.`item_id` WHERE `restaurant`.`id` = '2430' GROUP BY `restaurant_menu_items`.`id`

Filename: models/Restaurant_model.php

Line Number: 60