Hey guys
I'm tired of Opencart 2 and tried to import my database to Arastta. First, the extension download fails (I don't know if it really fails, I get an error message but it says it was successfulll...) as you can see in my arastta.jpg screenshot but it is installed after the error (at least I think it is). When I try to import my database I get the error on dbimport.JPG
Am I doing something wrong?
Thanks
Dom
I'm tired of Opencart 2 and tried to import my database to Arastta. First, the extension download fails (I don't know if it really fails, I get an error message but it says it was successfulll...) as you can see in my arastta.jpg screenshot but it is installed after the error (at least I think it is). When I try to import my database I get the error on dbimport.JPG
Am I doing something wrong?
Thanks
Dom
In Extensions
Share this post:
Responses (15)
-
Accepted Answer
-
Accepted Answer
I have the same JSON error during importing my opencart 2 database
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Error: Unknown column 'company_id' in 'field list'Error No: 1054INSERT INTO `oc_address` (`address_id`, `customer_id`, `firstname`, `lastname`, `company`, `company_id`, `tax_id`, `address_1`, `address_2`, `city`, `postcode`, `country_id`, `zone_id`, `custom_field`) VALUES ('7', '6', '***', '***', '', '', '', '***', '***', '***', '***', '***', '***', '') in <b>/mnt/wwwhost/***/system/library/db/mysqli.php</b> on line <b>49</b>
Opencart 2.0.3.1 and Arasta 1.0.5
Extension was installed without any error. -
Accepted Answer
Andrey wrote:
I have the same JSON error during importing my opencart 2 database
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Error: Unknown column 'company_id' in 'field list'Error No: 1054INSERT INTO `oc_address` (`address_id`, `customer_id`, `firstname`, `lastname`, `company`, `company_id`, `tax_id`, `address_1`, `address_2`, `city`, `postcode`, `country_id`, `zone_id`, `custom_field`) VALUES ('7', '6', '***', '***', '', '', '', '***', '***', '***', '***', '***', '***', '') in <b>/mnt/wwwhost/***/system/library/db/mysqli.php</b> on line <b>49</b>
Opencart 2.0.3.1 and Arasta 1.0.5
Extension was installed without any error.
Hi.
Are your store database structure clean OC 2 version? That column `company_id` is holdover from version 1.5.x. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Dominik wrote:
Hi
same here like Andrey, same OC version 1, same OC version 2.
Should I try to delete the columns tax_id, address and company_id?
Thanks
Dom
Yes, if your version on OC 2.0.x.
This issue is fixed my Migration:
https://github.com/pekka2/opencart-migration-upgrade-tool/commit/3b254cdb085adf2428241d69b2e3c10010637f2c -
Accepted Answer
-
Accepted Answer
I've converted the OC 2 database into the Arastta. The following columns was deleted.
ALTER TABLE `oc_address` DROP `company_id`;
ALTER TABLE `oc_address` DROP `tax_id`;
ALTER TABLE `oc_address` DROP `company_id`;
ALTER TABLE `oc_address` DROP `tax_id`;
ALTER TABLE `oc_language` DROP `filename`;
ALTER TABLE `oc_order` DROP `payment_company_id`;
It was also a problem with oc_customer_transaction table, but I simple cleared this table from backup.
After the import it's needed to change path to languages in admin->localisation->languages from "english" to "en-GB".
My OC 2 template and Russian language seems to be usable.
In OC 2 I have an Ocmod, which adds/change some language variables in controllers and languages. How is better to do in Arastta - further use this ocmod or there is a better way? -
Accepted Answer
-
Accepted Answer
We're working on this issue for OC2 https://github.com/arastta/arastta/issues/81
But for OC1.5 I guess we need the help from @Pekka -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »