1 reply [Last post]
cookie's picture
Offline
Joined: 03/14/2010
Juice: 32

During import of translation im getting below error.
Can anyone point me to the right direction to fix this please?

Drupal 5.20 with Ubercart 1.8 and all required spec, (MySQL, Apache etc.) is on my machine.

I also noticed similar errors when i was using some modules so it maight be something global.

    * user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source) VALUES (' payment/uc_2checkout/uc_2checkout.info:0; payment/uc_authorizenet/uc_authorizenet.info:0; payment/uc_credit/uc_credit.info:0; payment/uc_cybersource/uc_cybersource.info:0; payment/uc_payment/test_gateway.info:0; payment/uc_payment_pack/uc_payment_pack.info:0; payment/uc_paypal/uc_paypal.info:0; payment/uc_recurring/uc_recurring.info:0', 'Ubercart - payment') in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_payment/uc_payment_workflow.inc:94,103; payment/uc_recurring/uc_recurring.module:403,410,417,610,671; shipping/uc_quote/uc_quote.module:265,282,289,401; uc_attribute/uc_attribute.module:360,442,517,578,800,1014; uc_cart/uc_cart_workflow.inc:17,30; uc_order/uc_order_workflow.inc:28,30,40,45,50,110,118,123,128; uc_order/uc_order.info:0; uc_stock/uc_stock_workflow.inc:28,43; uc_taxes/uc_taxes_workflow.inc:37,55,64' WHERE source = 'Order' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_payment/uc_payment.module:38; shipping/uc_quote/uc_quote.module:41; uc_attribute/uc_attribute.module:64,114; uc_cart/uc_cart.module:37,90; uc_catalog/uc_catalog.module:83; uc_notify/uc_notify.module:30; uc_order/uc_order.module:40; uc_product/uc_product.module:70; uc_repeater/uc_repeater.module:20; uc_store/uc_store.module:151,196' WHERE source = 'Overview' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_payment/uc_payment.module:46; shipping/uc_quote/uc_quote.module:48; shipping/uc_shipping/uc_shipping.module:92; uc_cart/uc_cart.module:45,98; uc_catalog/uc_catalog.module:89; uc_notify/uc_notify.module:38; uc_order/uc_order.module:48,215,2887,3180; uc_product/uc_product.module:76,151; uc_repeater/uc_repeater.module:25; uc_store/uc_store.module:159,204,2510' WHERE source = 'Edit' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_payment/uc_payment.module:455; shipping/uc_quote/uc_quote.module:817; shipping/uc_shipping/uc_shipping.module:703; uc_attribute/uc_attribute.module:604,1014; uc_order/uc_order.module:924,981,1898; uc_product/uc_product.module:531,1881,2071,2076; uc_store/uc_store.module:2551; uc_taxes/uc_taxes.module:177,244' WHERE source = 'Weight' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_payment/uc_payment.module:626,756; payment/uc_recurring/uc_recurring.module:871; shipping/uc_flatrate/uc_flatrate.module:264,281,312; shipping/uc_shipping/uc_shipping.module:565,1105; uc_attribute/uc_attribute.module:487,666; uc_order/uc_order.module:1644,1682,2153,3200,3230; uc_product/uc_product.module:2648' WHERE source = 'Delete' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_authorizenet/uc_authorizenet.module:980,1041,1132,1166; payment/uc_recurring/uc_recurring.module:654,766,844,872; shipping/uc_shipping/uc_shipping.module:295,329,349,481,513,565,1048,1105; uc_attribute/uc_attribute.module:450,487,612,666,772; uc_cart/uc_cart.module:1378,1470; uc_order/uc_order.module:991,2024,2417; uc_product/uc_product.module:2241,2648,2806; uc_taxes/uc_taxes.module:306' WHERE source = 'Cancel' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source) VALUES (' payment/uc_payment/uc_payment.info:0; shipping/uc_quote/uc_quote.info:0; shipping/uc_shipping/uc_shipping.info:0; uc_attribute/uc_attribute.info:0; uc_catalog/uc_catalog.info:0; uc_file/uc_file.info:0; uc_notify/uc_notify.info:0; uc_reports/uc_reports.info:0; uc_roles/uc_roles.info:0; uc_taxes/uc_taxes.info:0', 'Ubercart - core (optional)') in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' shipping/uc_shipping/uc_shipping.module:186,703; uc_cart/uc_cart_checkout_pane.inc:547; uc_cart/uc_cart.module:1263; uc_importer/uc_importer.module:239; uc_order/uc_order_workflow.inc:409,461,537; uc_order/uc_order.module:232,529,1519; uc_product/uc_product.module:28,36; uc_product_kit/uc_product_kit.module:351; uc_reports/uc_reports.module:180,184' WHERE source = 'Products' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_recurring/uc_recurring.module:381; shipping/uc_flatrate/uc_flatrate.module:215; shipping/uc_shipping/uc_shipping.module:206,597; uc_attribute/uc_attribute.module:371,521; uc_product/uc_product.module:2124,2687; uc_roles/uc_roles.module:497; uc_stock/uc_stock.module:248; uc_taxes/uc_taxes.module:183' WHERE source = 'edit' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_authorizenet/uc_authorizenet.module:691; payment/uc_recurring/uc_recurring.module:382; shipping/uc_shipping/uc_shipping.module:207,598; uc_attribute/uc_attribute.module:373,522; uc_product/uc_product.module:2125,2688; uc_roles/uc_roles.module:497; uc_taxes/uc_taxes.module:183' WHERE source = 'delete' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_recurring/uc_recurring.module:843; shipping/uc_flatrate/uc_flatrate.module:263,270; shipping/uc_shipping/uc_shipping.module:480; uc_attribute/uc_attribute.module:449,611,991,1241; uc_order/uc_order.module:2369; uc_product/uc_product.module:2179; uc_stock/uc_stock.module:289; uc_store/uc_store.module:1692; uc_taxes/uc_taxes.module:248,257' WHERE source = 'Submit' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' shipping/uc_shipping/uc_shipping.module:585; uc_attribute/uc_attribute.module:358,415,517,570,800,1419; uc_order/uc_order.module:1896; uc_product/uc_product.module:369,904,2120; uc_product_kit/uc_product_kit.module:68,306; uc_store/uc_store.module:662; uc_taxes/uc_taxes.module:177,206' WHERE source = 'Name' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: UPDATE locales_source SET location = ' payment/uc_recurring/uc_recurring.module:610,677; uc_attribute/uc_attribute.module:363,517; uc_product/uc_product.module:2120,2682; uc_roles/uc_roles.module:487,512; uc_stock/uc_stock.module:234; uc_store/uc_store.module:1017; uc_taxes/uc_taxes.module:177' WHERE source = 'Operations' in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
    * user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source) VALUES (' payment/uc_recurring/uc_recurring.module:676; uc_cart/uc_cart.module:1269; uc_order/uc_order_line_item.inc:47; uc_order/uc_order_order_pane.inc:680,727; uc_order/uc_order.module:630,1070,1520,1901; uc_reports/uc_reports.module:181,184,971,979; uc_store/uc_store.module:732', 'Total') in C:\WWW\fReklamy\includes\database.mysql.inc on line 174.
cookie's picture
Offline
Joined: 03/14/2010
Juice: 32
poedit

There is application Poedit which fix this.
open translation po file in Poedit and save to another file.
Smiling