A PHP Error was encountered

Severity: Notice

Message: Undefined index: when

Filename: models/tour_model.php

Line Number: 1406

A PHP Error was encountered

Severity: Notice

Message: Undefined index: when

Filename: models/tour_model.php

Line Number: 1409

A PHP Error was encountered

Severity: Notice

Message: Undefined index: place

Filename: models/tour_model.php

Line Number: 1420

A PHP Error was encountered

Severity: Notice

Message: Undefined index: place

Filename: models/tour_model.php

Line Number: 1420

A PHP Error was encountered

Severity: Notice

Message: Undefined index: place

Filename: models/tour_model.php

Line Number: 1420

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/tnttoursearch/public_html/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND tour_operator_id IN (SELECT id FROM users WHERE enabled = 1) GROUP BY tour' at line 1

SELECT DISTINCT tnt_tour.tour_id, MIN( tnt_tour_date.tour_date ) AS next_tour_date, tour_operator_id, tour_category, tour_country_id, tour_title,tour_title_hp, tour_unique_id, tour_slug, tour_fec_img, tour_description, tnt_tour.tour_price, tour_no_of_days, external, external_url, tab_itineraries, tab1_name, tab1_content, tab2_name, tab2_content FROM `tnt_tour` JOIN tnt_tour_date ON tnt_tour_date.tour_id = tnt_tour.tour_id JOIN `tnt_itinerary` ON tnt_itinerary.tour_id = tnt_tour.tour_id AND tnt_tour.tour_status = 1 AND (tnt_itinerary.orderno = '1' AND (tnt_itinerary.title LIKE '%' OR tnt_itinerary.description LIKE '%%' OR tnt_tour.tour_title_hp LIKE '%'))) AND tour_operator_id IN (SELECT id FROM users WHERE enabled = 1) GROUP BY tour_id

Filename: /home/tnttoursearch/public_html/modules/tour/models/tour_model.php

Line Number: 1425