<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Quick CSV import with visual mapping</title>
	<atom:link href="http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/feed/" rel="self" type="application/rss+xml" />
	<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/</link>
	<description>Any fool can make things bigger and more complex</description>
	<lastBuildDate>Fri, 16 Dec 2011 21:33:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: omran</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-43205</link>
		<dc:creator>omran</dc:creator>
		<pubDate>Fri, 16 Dec 2011 21:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-43205</guid>
		<description>Oups sorry I forgot to say that you have to replace:
$_SESSION[&#039;data&#039;][&#039;mapping&#039;] = $attributes[&#039;mapping&#039;];
by
$_SESSION[&#039;data&#039;][&#039;mapping&#039;] = $_POST[&#039;mapping&#039;];
In actStep2.php (Line number 7)</description>
		<content:encoded><![CDATA[<p>Oups sorry I forgot to say that you have to replace:<br />
$_SESSION['data']['mapping'] = $attributes['mapping'];<br />
by<br />
$_SESSION['data']['mapping'] = $_POST['mapping'];<br />
In actStep2.php (Line number 7)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: omran</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-43204</link>
		<dc:creator>omran</dc:creator>
		<pubDate>Fri, 16 Dec 2011 21:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-43204</guid>
		<description>To 82,89
Hi all,
Thanks for this amazing class!
Regarding the following error:
&quot;Warning: Invalid argument supplied for foreach() in /csv_uploader/classes/Quick_CSV_import.class.php on line 79&quot;
I found that array_merge (in preload.inc) is not working properly. To fix it I have just replaced the line:
$_SESSION[&#039;data&#039;][&#039;mapping&#039;] = $attributes[&#039;mapping&#039;];
by
$_SESSION[&#039;data&#039;][&#039;mapping&#039;] = $_POST[&#039;mapping&#039;];
Hope this will helps you guys :)</description>
		<content:encoded><![CDATA[<p>To 82,89<br />
Hi all,<br />
Thanks for this amazing class!<br />
Regarding the following error:<br />
&#8220;Warning: Invalid argument supplied for foreach() in /csv_uploader/classes/Quick_CSV_import.class.php on line 79&#8243;<br />
I found that array_merge (in preload.inc) is not working properly. To fix it I have just replaced the line:<br />
$_SESSION['data']['mapping'] = $attributes['mapping'];<br />
by<br />
$_SESSION['data']['mapping'] = $_POST['mapping'];<br />
Hope this will helps you guys <img src='http://i1t2b3.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 32 thủ thuật tăng tốc cho các câu truy vấn MySQL &#124; LONGF</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-38718</link>
		<dc:creator>32 thủ thuật tăng tốc cho các câu truy vấn MySQL &#124; LONGF</dc:creator>
		<pubDate>Sat, 12 Nov 2011 16:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-38718</guid>
		<description>[...] loading a table from a text file, use LOAD DATA INFILE (or my tool for that), it’s 20-100 times [...]</description>
		<content:encoded><![CDATA[<p>[...] loading a table from a text file, use LOAD DATA INFILE (or my tool for that), it’s 20-100 times [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalicici</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-37400</link>
		<dc:creator>Kalicici</dc:creator>
		<pubDate>Fri, 04 Nov 2011 07:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-37400</guid>
		<description>Alexander, You have here a very nice piece of code! I have implemented in on my localhost/laptop (wamp), and it was workiing fine. But since i put it on line for more testing purpose into my project, i am not able to get to step 2 for the field mapping.Once i am on Step page, no field is being displayed. a  	 gave a result within which i saw &quot;[csv_headers] =&gt; Array ( )&quot;, which for me means may be $arr_headers  is containing a null array. Kindly advise and help please. How to correct?</description>
		<content:encoded><![CDATA[<p>Alexander, You have here a very nice piece of code! I have implemented in on my localhost/laptop (wamp), and it was workiing fine. But since i put it on line for more testing purpose into my project, i am not able to get to step 2 for the field mapping.Once i am on Step page, no field is being displayed. a  	 gave a result within which i saw &#8220;[csv_headers] =&gt; Array ( )&#8221;, which for me means may be $arr_headers  is containing a null array. Kindly advise and help please. How to correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-31661</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 01 Oct 2011 04:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-31661</guid>
		<description>forgot to mention, i see the the temp/csv map names like: phpKrmPAj. Can i just use the normal csv filesnames there??</description>
		<content:encoded><![CDATA[<p>forgot to mention, i see the the temp/csv map names like: phpKrmPAj. Can i just use the normal csv filesnames there??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-31660</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 01 Oct 2011 04:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-31660</guid>
		<description>Hello,

Step 2 is not working. I selected a table in step 1. I made a table test with id(INT) and name(VARCHAR).There is no explanation what should be in the table names.
in step 2 when  used the example files, i dont get to see anything.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Step 2 is not working. I selected a table in step 1. I made a table test with id(INT) and name(VARCHAR).There is no explanation what should be in the table names.<br />
in step 2 when  used the example files, i dont get to see anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zorbeck</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-25928</link>
		<dc:creator>zorbeck</dc:creator>
		<pubDate>Sun, 21 Aug 2011 10:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-25928</guid>
		<description>&quot;The used command is not allowed with this MySQL version&quot;

This is the error message I obtained during step1...

FYI, the system I am using as follows :
Linux DiskStation 2.4.22-uc0 #1613 Fri Apr 8 10:17:16 CST 2011 ppc
Apache/2.2.16 (Unix) PHP/5.3.3
mysql API version: 5.1.49
mysql version : Server version: 5.1.49
phpMyAdmin: Version information: 3.2.5

Any idea on how to solve that ?</description>
		<content:encoded><![CDATA[<p>&#8220;The used command is not allowed with this MySQL version&#8221;</p>
<p>This is the error message I obtained during step1&#8230;</p>
<p>FYI, the system I am using as follows :<br />
Linux DiskStation 2.4.22-uc0 #1613 Fri Apr 8 10:17:16 CST 2011 ppc<br />
Apache/2.2.16 (Unix) PHP/5.3.3<br />
mysql API version: 5.1.49<br />
mysql version : Server version: 5.1.49<br />
phpMyAdmin: Version information: 3.2.5</p>
<p>Any idea on how to solve that ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Freddy8</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-16156</link>
		<dc:creator>Freddy8</dc:creator>
		<pubDate>Fri, 10 Jun 2011 09:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-16156</guid>
		<description>Hi,

Im really lost. I&#039;ve tried all reccomended fixes, but cant get this working. I get the same error message that the others were getting. 

[10-Jun-2011 03:51:56] LOAD DATA LOCAL INFILE &#039;/home/ibuyands/public_html/fatkid.com.au/temp/csv/csvKnGT6n&#039; REPLACE INTO TABLE `temp_10_06_2011_03_51_56_74` FIELDS TERMINATED BY &#039;,&#039; OPTIONALLY ENCLOSED BY &#039;\\\&quot;&#039; ESCAPED BY &#039;\\\\&#039; (`column1`,`column2`,`column3`,`column4`)
[10-Jun-2011 03:51:56] Field separator argument is not what is expected; check the manual</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Im really lost. I&#8217;ve tried all reccomended fixes, but cant get this working. I get the same error message that the others were getting. </p>
<p>[10-Jun-2011 03:51:56] LOAD DATA LOCAL INFILE &#8216;/home/ibuyands/public_html/fatkid.com.au/temp/csv/csvKnGT6n&#8217; REPLACE INTO TABLE `temp_10_06_2011_03_51_56_74` FIELDS TERMINATED BY &#8216;,&#8217; OPTIONALLY ENCLOSED BY &#8216;\\\&#8221;&#8216; ESCAPED BY &#8216;\\\\&#8217; (`column1`,`column2`,`column3`,`column4`)<br />
[10-Jun-2011 03:51:56] Field separator argument is not what is expected; check the manual</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MOD</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-14563</link>
		<dc:creator>MOD</dc:creator>
		<pubDate>Thu, 26 May 2011 07:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-14563</guid>
		<description>Re, 

So i don&#039;t have the &lt;? problem i replace all of it correctly using if instead of ternairs condition ..

But at the bottom of the page on step 1 and 2 i got and Error in bold :s don&#039;t know where it comes from !</description>
		<content:encoded><![CDATA[<p>Re, </p>
<p>So i don&#8217;t have the &lt;? problem i replace all of it correctly using if instead of ternairs condition ..</p>
<p>But at the bottom of the page on step 1 and 2 i got and Error in bold :s don&#039;t know where it comes from !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MOD</title>
		<link>http://i1t2b3.com/2009/01/14/quick-csv-import-with-mapping/comment-page-2/#comment-14480</link>
		<dc:creator>MOD</dc:creator>
		<pubDate>Wed, 25 May 2011 14:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=153#comment-14480</guid>
		<description>Hi, 
thanks for your script that&#039;s what i needed, but it doesn&#039;t work for me, first a had the trim error, and beneath it i had a user root can&#039;t get SELECT access something like that ...so i commented the trim lines...
Now in the form , my values are : &quot;&lt;?= &quot; it evens shows in html code we can see the php in the values ...
So i changed &lt;? to &lt;?php but still the same ?  would appreciate a little help :)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
thanks for your script that&#8217;s what i needed, but it doesn&#8217;t work for me, first a had the trim error, and beneath it i had a user root can&#8217;t get SELECT access something like that &#8230;so i commented the trim lines&#8230;<br />
Now in the form , my values are : &#8220;&lt;?= &quot; it evens shows in html code we can see the php in the values &#8230;<br />
So i changed &lt;? to &lt;?php but still the same ?  would appreciate a little help <img src='http://i1t2b3.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

