Hello, all
I am getting the strangest error in my Mobilink setup
I am posting an extract of the log with -v+ option, so you could see it:
When the mobilink server starts up, it shows the correct scripts for table t027w_price_codes_web.
But when the client connects it shows something entirely different....
Shortly after, the whole Mobilink service crashes.
//----------------------------------------------------
- I. 2015-01-25 13:33:54. <13> download_cursor t027w_price_codes_web
select c_hotel_id from t001_hotels where c_hotel_id = -100 (the download script exists)
- I. 2015-01-25 13:33:54. <13> download_delete_cursor t027w_price_codes_web
--{ml_ignore}
- I. 2015-01-25 13:33:54. <13> upload_delete t027w_price_codes_web
/* Delete the row from the consolidated database. */
DELETE FROM "DBA"."t027w_price_codes_web"
WHERE "c_hotel_id" = {ml r."c_hotel_id"}
AND "c_pms_internet_price_code" = {ml r."c_pms_internet_price_code"}
- I. 2015-01-25 13:33:54. <13> upload_insert t027w_price_codes_web
/* Insert the row into the consolidated database. */
INSERT INTO "DBA"."t027w_price_codes_web" ( "c_hotel_id", "c_pms_internet_price_code", "c_pms_price_code", "c_description", "c_lead_time_to_arrive", "c_can_days", "c_sort_order", "c_discount_percent", "c_promo_only", "c_key", "c_reason_code", "c_min_days", "c_max_days" )
on existing update
VALUES ( {ml r."c_hotel_id"}, {ml r."c_pms_internet_price_code"}, {ml r."c_pms_price_code"}, {ml r."c_description"}, {ml r."c_lead_time_to_arrive"}, {ml r."c_can_days"}, {ml r."c_sort_order"}, {ml r."c_discount_percent"}, {ml r."c_promo_only"}, {ml r."c_key"}, {ml r."c_reason_code"}, {ml r."c_min_days"}, {ml r."c_max_days"} )
- I. 2015-01-25 13:33:54. <13> upload_update t027w_price_codes_web
/* Update the row in the consolidated database. */
INSERT INTO "DBA"."t027w_price_codes_web" ( "c_hotel_id", "c_pms_internet_price_code", "c_pms_price_code", "c_description", "c_lead_time_to_arrive", "c_can_days", "c_sort_order", "c_discount_percent", "c_promo_only", "c_key", "c_reason_code", "c_min_days", "c_max_days" )
on existing update
VALUES ( {ml r."c_hotel_id"}, {ml r."c_pms_internet_price_code"}, {ml r."c_pms_price_code"}, {ml r."c_description"}, {ml r."c_lead_time_to_arrive"}, {ml r."c_can_days"}, {ml r."c_sort_order"}, {ml r."c_discount_percent"}, {ml r."c_promo_only"}, {ml r."c_key"}, {ml r."c_reason_code"}, {ml r."c_min_days"}, {ml r."c_max_days"} ) (the upload script is correct)
- I. 2015-01-25 13:33:54. <Main> System event on shared administrative connection:
SELECT idx, name, type FROM ml_column WHERE version_id = ? AND table_id = ? ORDER BY idx DESC
- I. 2015-01-25 13:33:54. <Main> Translated SQL:
SELECT idx, name, type FROM ml_column WHERE version_id = ? AND table_id = ? ORDER BY idx DESC
E. 2015-01-25 13:33:54. <13> [-10019] Error fetching table script t027w_price_codes_web.download_cursor (when the client connects, the server gives out error that the download script cannot be found)
- I. 2015-01-25 13:34:04. <28> begin_upload_rows t027w_price_codes_web (no script)
- I. 2015-01-25 13:34:04. <28> System event on synchronization connection:
savepoint it8
- I. 2015-01-25 13:34:04. <28> Translated SQL:
savepoint it8
- I. 2015-01-25 13:34:04. <28> upload_update t027w_price_codes_web
/* Update the row in the consolidated database. */
INSERT INTO "DBA"."t068ca_category" ( "c_category_id", "c_category_code", "c_short_desc", "c_description", "c_hotel_id", "c_del", "c_display_order" )
on existing update
VALUES ( {ml r."c_category_id"}, {ml r."c_category_code"}, {ml r."c_short_desc"}, {ml r."c_description"}, {ml r."c_hotel_id"}, {ml r."c_del"}, {ml r."c_display_order"} ) (and the upload script is taken from an entirely different table!)
- 2015-01-25 13:34:04. <28> [-10233] Table 't027w_price_codes_web' does not have a column named 'c_category_id'
- 2015-01-25 13:34:04. <28> [-10058] Unable to open upload_update
- I. 2015-01-25 13:34:04. <28> System event on synchronization connection:
rollback to savepoint it8
- I. 2015-01-25 13:34:04. <28> Translated SQL:
rollback to savepoint it8
//----------------------------------------------------