Jump to content
Sign in to follow this  
mdowsett

getting 'easy' csv import to work

Recommended Posts

I can't get the 'easy csv import' contribution to work.

 

I get an error when trying to import the file that reads "Row 2: The count of fields is wrong" (which is the first row as it ignores the first row) but I have the proper number of fields (columns) in my file.

 

Any ideas? (I don't think I can attach files here can I...?)

Share this post


Link to post
Share on other sites
I can't get the 'easy csv import' contribution to work.

 

I get an error when trying to import the file that reads "Row 2: The count of fields is wrong" (which is the first row as it ignores the first row) but I have the proper number of fields (columns) in my file.

 

Any ideas? (I don't think I can attach files here can I...?)

 

 

I am having this same problem...

Share this post


Link to post
Share on other sites
I can't get the 'easy csv import' contribution to work.

 

I get an error when trying to import the file that reads "Row 2: The count of fields is wrong" (which is the first row as it ignores the first row) but I have the proper number of fields (columns) in my file.

 

Any ideas? (I don't think I can attach files here can I...?)

 

I had same problem and this fixed

Change the delimiter: ";" fields separator if you leave blank {TAB} is used

change it to a comma ","

Edited by mrbuddd

Share this post


Link to post
Share on other sites

Hello!

The problem appears with thumbnail images when the image name have + (pluses) in name. Thumbnail will not show up but when you click on it, the regular popup image appears. Looks like get_image_from_url function must be corrected somehow. I also use 'On The Fly' Auto Thumbnailer using GD Library 2.1 contribution. Please help me to figure out this. Here is the function:

 

function get_image_from_url($url, $filename) {
if(function_exists('curl_init')) {

	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

	$out = curl_exec($ch);
	curl_close($ch);

	if($out === false) {
		return false;
	}

	if($handle = fopen(DIR_FS_CATALOG_IMAGES . $filename, 'wb')) {
		fwrite($handle, $out);
		fclose($handle);
	}

	return true;
}

csv_import_message(CSV_CURL_MISSING_CANT_IMPORT_REMOTE_IMAGE, 'warning');
return false;
}

Edited by pleasureidea

Share this post


Link to post
Share on other sites

having same problem i dont know how many times i have tried messing with the setting and the csv file trying differant options and nothing works i tell you nothing!

Share this post


Link to post
Share on other sites

AND WHEN YOU DO BYPASS THE ERROR AND IT DOES WORK  IT ONLY ADDS THE CATEGORY NAME AND NONE OF THE INFO OR IMAGE WEIGHT NOTHING BUT A CAT NAME WTF  WHO ALLOWS THIS CRAP ON THERE SERVER FING JUNK 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×