AbanteCart Community
Shopping Cart Operations => Support => Topic started by: flyn on June 30, 2014, 08:32:42 AM
-
I am using AbanteCart 1.1.9 on a new site. I have setup the database, admin and demo store. Everything is working.
I went ahead and exported to a .csv (comma delimited) the products from the demo store, manipulated the file by changing the values in the appropriate columns with the ones from the products I need to import and saved it.
When I go to import it says Data is empty or corrupted.
Total loaded: 0
I did put in test mode to play it safe
I also have it imported as the same format (comma delimited .csv). For our mobile site I had to import products and it worked
-
This issue was reported before. It happens only on some Windows OS.
We are sill trying to find the source of the problem.
What OS and version do you use?
-
I use Windows 7 Pro Sp-1 64-bit.
AbanteCart is 1.1.9
-
I am writing this for those that still have this problem. My issue is resolved. I used Firefox as my main browser and I could not import but a few minutes ago I decided to try IE and it worked. So if one browser is giving you a problem try another just in case.
I have IE 11 for Windows 7
-
Interesting point. Thank you for sharing.
We still want to resolve this. Update is coming.
-
This problem was identified, fixed and tested.
Issue: Some browsers in Windows send files with unknown file format or stream.
Solution is below:
In file public_html/admin/controller/pages/tool/import_export.php
Locate line:
if ( in_array($file['type'], array('text/csv','application/vnd.ms-excel','text/plain')) ) {
Replace with:
if ( in_array($file['type'], array('text/csv','application/vnd.ms-excel','text/plain','application/octet-stream')) ) {
Git:
https://github.com/abantecart/abantecart-src/commit/a12c6e9bdb92e418a81c52a65454c51d2daf012f
-
more reason to use Linux instead of Windows
Totally agree. Mac OS is good as well.