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 tripType='' AND airlineCode = '' ORDER BY id DESC LIMIT 1' at line 3
SELECT fuelSurcharge, saleId FROM fuel_stats WHERE
to_city_id = '' AND
from_region_id = AND tripType='' AND airlineCode = '' ORDER BY id DESC LIMIT 1
Array
(
[0] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/lib/Db.php
[line] => 22
[function] => query
[class] => Main_Db
[type] => ::
[args] => Array
(
[0] => SELECT fuelSurcharge, saleId FROM fuel_stats WHERE
to_city_id = '' AND
from_region_id = AND tripType='' AND airlineCode = '' ORDER BY id DESC LIMIT 1
)
)
[1] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/lib/Db.php
[line] => 53
[function] => selectBySql
[class] => Main_Db
[type] => ::
[args] => Array
(
[0] => SELECT fuelSurcharge, saleId FROM fuel_stats WHERE
to_city_id = '' AND
from_region_id = AND tripType='' AND airlineCode = '' ORDER BY id DESC LIMIT 1
)
)
[2] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/lib/Markup/PriceModifier/FuelTax.php
[line] => 161
[function] => selectSingleBySql
[class] => Main_Db
[type] => ::
[args] => Array
(
[0] => SELECT fuelSurcharge, saleId FROM fuel_stats WHERE
to_city_id = '' AND
from_region_id = AND tripType='' AND airlineCode = '' ORDER BY id DESC LIMIT 1
)
)
[3] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/lib/Markup/PriceModifier/FuelTax.php
[line] => 147
[function] => markupBySql
[class] => Main_Markup_PriceModifier_FuelTax
[type] => ::
[args] => Array
(
[0] =>
to_city_id = '' AND
from_region_id = AND tripType='' AND airlineCode = ''
)
)
[4] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/lib/Markup/PriceModifier/FuelTax.php
[line] => 93
[function] => modifyPrice
[class] => Main_Markup_PriceModifier_FuelTax
[type] => ::
[args] => Array
(
)
)
[5] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/lib/Travel/MinPrice/Model.php
[line] => 54
[function] => getModifiedPrice
[class] => Main_Markup_PriceModifier_FuelTax
[type] => ::
[args] => Array
(
[0] => 345
[1] => Main_Request Object
(
[departure:Main_Request:private] => NYC
[destination:Main_Request:private] => JNB
[leaveDate:Main_Request:private] => 1329947160
[returnDate:Main_Request:private] =>
[tripType:Main_Request:private] => ROUND_TRIP
[class:Main_Request:private] => ECONOMY
[airline:Main_Request:private] => LO
[childCount:Main_Request:private] =>
[infantCount:Main_Request:private] =>
[adultCount:Main_Request:private] => 1
)
[2] => TK
)
)
[6] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/app/ConsolidatedFares/Geo/Controller/Base.php
[line] => 194
[function] => getCheapestCity
[class] => Main_Travel_MinPrice_Model
[object] => Main_Travel_MinPrice_Model Object
(
[dataField:Main_Travel_MinPrice_Model:private] => price
[departField:Main_Travel_MinPrice_Model:private] => departure
[airlineField:Main_Travel_MinPrice_Model:private] => airline
[_table:protected] => min_price
[_primary_key:protected] => id
)
[type] => ->
[args] => Array
(
[0] => ZA
[1] => 10
)
)
[7] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/PageManagement/Web/Controller/Bootstrap.php
[line] => 62
[function] => displayOurDestinationsAction
[class] => ConsolidatedFares_Geo_Controller_Base
[object] => ConsolidatedFares_Geo_Controller_Base Object
(
[_model:protected] =>
[_view:protected] =>
[_data:protected] => Array
(
)
[sessionExpireTimesIndex:protected] => __time
[baseModelName:Main_Controller:private] => Main_Model
)
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/PageManagement/Section/Action/Data.php
[line] => 16
[function] => loadByRelativeUrl
[class] => PageManagement_Web_Controller_Bootstrap
[object] => PageManagement_Web_Controller_Bootstrap Object
(
)
[type] => ->
[args] => Array
(
[0] => app/ConsolidatedFares/Geo/Controller/Base/displayOurDestinations
)
)
[9] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/PageManagement/Section.php
[line] => 228
[function] => make
[class] => PageManagement_Section_Action_Data
[object] => PageManagement_Section_Action_Data Object
(
[table] => controllers
[params] => Array
(
[id] => 27
[title] =>
[path] => app/ConsolidatedFares/Geo/Controller/Base/displayOurDestinations
)
[primary_key] => id
)
[type] => ->
[args] => Array
(
)
)
[10] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/PageManagement/Section.php
[line] => 170
[function] => loadAction
[class] => PageManagement_Section
[object] => PageManagement_Section Object
(
[kids:PageManagement_Section:private] =>
[rewriteRules:PageManagement_Section:private] =>
[parent:PageManagement_Section:private] =>
[properties:PageManagement_Section:private] => Array
(
)
[images:PageManagement_Section:private] =>
[table] => sections
[params] => Array
(
[id] => 383
[project_id] => 15
[title] => Our Destinations
[meta_title] => Consolidated Fares - Africa Travel Specialists | Consolidated-fares.com
[meta_keywords] => flight to africa, cheap flights to africa, ticket to africa, cheap tickets to africa, travel to africa, fly to africa, trip to africa, buy cheap ticket to africa, discount ticket to africa, consolidated fares to africa
[meta_description] => Get cheap flights to Africa with Consolidated Fares and save on travel to Africa. Specializing in cheap airfares to Africa, we find and book tickets to Africa quickly over the phone.
[template_id] => 0
[controller_id] => 27
[parent_id] => 503
[get_vars] =>
[active] => yes
[priority] =>
)
[primary_key] => id
)
[type] => ->
[args] => Array
(
)
)
[11] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/PageManagement/RewriteRule.php
[line] => 113
[function] => display
[class] => PageManagement_Section
[object] => PageManagement_Section Object
(
[kids:PageManagement_Section:private] =>
[rewriteRules:PageManagement_Section:private] =>
[parent:PageManagement_Section:private] =>
[properties:PageManagement_Section:private] => Array
(
)
[images:PageManagement_Section:private] =>
[table] => sections
[params] => Array
(
[id] => 383
[project_id] => 15
[title] => Our Destinations
[meta_title] => Consolidated Fares - Africa Travel Specialists | Consolidated-fares.com
[meta_keywords] => flight to africa, cheap flights to africa, ticket to africa, cheap tickets to africa, travel to africa, fly to africa, trip to africa, buy cheap ticket to africa, discount ticket to africa, consolidated fares to africa
[meta_description] => Get cheap flights to Africa with Consolidated Fares and save on travel to Africa. Specializing in cheap airfares to Africa, we find and book tickets to Africa quickly over the phone.
[template_id] => 0
[controller_id] => 27
[parent_id] => 503
[get_vars] =>
[active] => yes
[priority] =>
)
[primary_key] => id
)
[type] => ->
[args] => Array
(
)
)
[12] => Array
(
[file] => /www/asap/asaptickets.com/htdocs/ini.php
[line] => 93
[function] => act
[class] => PageManagement_RewriteRule
[object] => PageManagement_RewriteRule Object
(
[section:PageManagement_RewriteRule:private] => PageManagement_Section Object
(
[kids:PageManagement_Section:private] =>
[rewriteRules:PageManagement_Section:private] =>
[parent:PageManagement_Section:private] =>
[properties:PageManagement_Section:private] => Array
(
)
[images:PageManagement_Section:private] =>
[table] => sections
[params] => Array
(
[id] => 383
[project_id] => 15
[title] => Our Destinations
[meta_title] => Consolidated Fares - Africa Travel Specialists | Consolidated-fares.com
[meta_keywords] => flight to africa, cheap flights to africa, ticket to africa, cheap tickets to africa, travel to africa, fly to africa, trip to africa, buy cheap ticket to africa, discount ticket to africa, consolidated fares to africa
[meta_description] => Get cheap flights to Africa with Consolidated Fares and save on travel to Africa. Specializing in cheap airfares to Africa, we find and book tickets to Africa quickly over the phone.
[template_id] => 0
[controller_id] => 27
[parent_id] => 503
[get_vars] =>
[active] => yes
[priority] =>
)
[primary_key] => id
)
[table] => rewrite_rules
[params] => Array
(
[url] => cheap-flights
[rule] =>
[project_id] => 15
[type] => 3
[folder_id] => 0
[id] => 643
[section_id] => 383
)
[primary_key] => id
)
[type] => ->
[args] => Array
(
)
)
)
.