Register    Login    Forum    Search    FAQ

Board index » Installation and Setup » Importing Data




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Error Uploading customer lists
 Post Posted: Wed Jul 30, 2008 2:28 pm 
Offline

Joined: Wed Jul 30, 2008 2:23 pm
Posts: 31
Hello I am getting an error trying to upload customer lists.

I go to import, I check customer lists, I make sure only the fields I want to import say show and it is in the order of my .csv file. I upload the csv file then press upload and I get this error message:

Quote:
There was an unexpected error uploading the file! No file was uploaded.


I have tried different ways but I always get the same error. I notice that the id field is set to be imported but I set it to not show.

Please help.

Thanks amy


Top 
 Profile  
 
 Post subject: Re: Error Uploading customer lists
 Post Posted: Thu Jul 31, 2008 8:47 am 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
This error results from no file being uploaded. At the beginning of the import script, I test for a valid file that was uploaded through the script and the length greater than zero. Did you select a file to import from your local machine? Check the Options tab under the Import Settings heading to select the file to import.

Dave


Top 
 Profile  
 
 Post subject: Re: Error Uploading customer lists
 Post Posted: Thu Jul 31, 2008 12:48 pm 
Offline

Joined: Wed Jul 30, 2008 2:23 pm
Posts: 31
Thank you Dave for answering.

I did select the file to upload. I've tried this both on a windows and mac computer with IE, Safari and Firefox.

I go to the options screen and browse to the file and the file name goes into the box then I press import. Am I missing a step?

thanks
Amy


Top 
 Profile  
 
 Post subject: Re: Error Uploading customer lists
 Post Posted: Thu Jul 31, 2008 3:52 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
I duplicated the error on the test server and the error is mine.
On file /modules/services/pages/imp_exp/template_main.php, change line 26 to read:
Code:
echo html_form('import_export', FILENAME_DEFAULT, gen_get_all_get_params(array('action')), 'post', 'enctype="multipart/form-data"', true) . chr(10);
Dave


Top 
 Profile  
 
 Post subject: Re: Error Uploading customer lists
 Post Posted: Fri Aug 01, 2008 3:06 pm 
Offline

Joined: Wed Jul 30, 2008 2:23 pm
Posts: 31
thank you very much that solution worked. As a note I also changed the template_detail.php file also to the above.


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 5 posts ] 

Board index » Installation and Setup » Importing Data


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron