Print Page | Close Window

Import saying a CSV isn't a CSV

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=6047
Printed Date: 12-May-2024 at 9:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Import saying a CSV isn't a CSV
Posted By: _Paul
Subject: Import saying a CSV isn't a CSV
Date Posted: 15-December-2015 at 3:52am
We use the product import wizard to update stock on our store. We use a basic CSV that only contains SKU and STOCK. Up until Friday this worked on a daily basis but since then when I try to upload the import file I get the error 'Invalid file type. Only CSV & XLS files can be uploaded to the server'

If I upload the file to catalog via FTP the import works without a problem.

Any ideas?



Replies:
Posted By: ProductCart
Date Posted: 15-December-2015 at 1:10pm
Hi Paul,

If the issue surfaced completely out of the blue like this, it's unlikely to be related to ProductCart directly (assuming the files haven't changed), so you might want to check with the hosting company to see if there were any changes on the server-side. By the way, the error message can be misleading in that it's not actually an invalid file type, but that is masking the real error, which could be that the file is too large and exceeds the upload size limitation set by the server, or possibly that the MIME Type for that file extension (CSV) was inadvertently 'lost' and needs to be re-assigned.

If Detailed Errors are turned on at the server-level or via a 'web.config' file, then you can try applying the Code Debugging technique described on the following page (for the ProductCart Control Panel):

http://productcart.desk.com/customer/en/portal/articles/1550113-how-to-show-raw-errors" rel="nofollow - https://productcart.desk.com/customer/en/portal/articles/1550113-how-to-show-raw-errors

If you do that, don't forget to revert the files to the original state after debugging, otherwise you can introduce other issues.


-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net