Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Error when trying to import
 
Capitaine Commerce
Member
 
Avatar
Total Posts:  68
Joined:  2007-09-01
Lille, France
 

Hi there !

I have created a profile in the import/export module and tried to get it to run in the popup mode. But all I get is this error :

Fatal error: Class name must be a valid object or a string in C:\xampp\htdocs\praticado\lib\Varien\Convert\Action\Abstract.php on line 158

What can be wrong ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Is this an advanced profile or one created with GUI?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Capitaine Commerce
Member
 
Avatar
Total Posts:  68
Joined:  2007-09-01
Lille, France
 

With the GUI and I get this :

<action type="varien/convert_adapter_io" method="load">
    <var 
name="type">file</var>
    <var 
name="path">C:\xampp\htdocs\praticado\var\import</var>
    <var 
name="filename"><![CDATA[3_suisses.csv]]></var>
</
action>

<
action type="varien/convert_parser_csv" method="parse">
    <var 
name="delimiter"><![CDATA[\t]]></var>
    <var 
name="enclose"><![CDATA["]]></var>
    <var name="
fieldnames">true</var>
</action>

<action type="
varien/convert_mapper_column" method="map">
    <var name="
Nom"><![CDATA[name]]></var>
    <var name="
Description"><![CDATA[description]]></var>
    <var name="
Prix"><![CDATA[price]]></var>
    <var name="
Sku"><![CDATA[entity_id]]></var>
</action>

<action type="
catalog/convert_parser_product" method="parse">
    <var name="
store"><![CDATA[1]]></var>
</action>

<action type="
catalog/convert_adapter_product" method="save">
    <var name="
store"><![CDATA[1]]></var>
</action>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top