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

Can anyone help me with this import / export error ? 
 
michael80
Jr. Member
 
Total Posts:  7
Joined:  2007-11-13
 

Can you help me with this error?

Starting profile executionplease wait...
    * 
WarningPlease don't close window during importing/exporting data

      Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/trace:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/trace/public_html/lib/Varien/Io/File.php on line 443
      [0] in is_dir("/home") in /home/trace/public_html/lib/Varien/Io/File.php on line 443
      [1] in Varien_Io_File->_createDestinationFolder("/home/trace/public_html/var/tmp/") in /home/trace/public_html/lib/Varien/Io/File.php on line 205
      [2] in Varien_Io_File->open(Array[1]) in /home/trace/public_html/app/code/core/Mage/Dataflow/Model/Batch/Io.php on line 134
      [3] in Mage_Dataflow_Model_Batch_Io->open() in /home/trace/public_html/app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php on line 195
      [4] in Mage_Dataflow_Model_Convert_Parser_Csv->unparse(Array[0]) in /home/trace/public_html/app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php on line 235
      [5] in Mage_Dataflow_Model_Convert_Action_Abstract->run() in /home/trace/public_html/app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php on line 132
      [6] in Mage_Dataflow_Model_Convert_Profile_Abstract->run() in /home/trace/public_html/app/code/core/Mage/Dataflow/Model/Profile.php on line 142
      [7] in Mage_Dataflow_Model_Profile->run() in /home/trace/public_html/app/code/core/Mage/Adminhtml/Block/System/Convert/Profile/Run.php on line 73
      [8] in Mage_Adminhtml_Block_System_Convert_Profile_Run->_toHtml() in /home/trace/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 553
      [9] in Mage_Core_Block_Abstract->toHtml() in /home/trace/public_html/app/code/core/Mage/Adminhtml/controllers/System/Convert/ProfileController.php on line 189
      [10] in Mage_Adminhtml_System_Convert_ProfileController->runAction() in /home/trace/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php on line 341
      [11] in Mage_Core_Controller_Varien_Action->dispatch("run") in /home/trace/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 141
      [12] in Mage_Core_Controller_Varien_Router_Admin->match(Mage_Core_Controller_Request_Http) in /home/trace/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147
      [13] in Mage_Core_Controller_Varien_Front->dispatch() in /home/trace/public_html/app/Mage.php on line 424
      [14] in Mage::run("default") in /home/trace/public_html/index.php on line 40

    * Starting Mage_Catalog_Model_Convert_Adapter_Product :: load
    * Loaded 1 records
    * Starting Mage_Catalog_Model_Convert_Parser_Product :: unparse
    * Starting Mage_Dataflow_Model_Convert_Mapper_Column :: map
    * Starting Mage_Dataflow_Model_Convert_Parser_Csv :: unparse
    * Unable to create directory '
/home'. Access forbidden.
    * Finished profile execution.

Anybody pleaseee......

 
Magento Community Magento Community
Magento Community
Magento Community
 
andyellis_2000
Member
 
Total Posts:  41
Joined:  2008-02-15
 

probably a basic path problem, i had similar problems. just do what they suggest in the profile setup and create a sub folder under magentos /var folder called export and put
/var/export for your path in the profile setup.

you might also see this thread, perhaps it will help.
http://www.magentocommerce.com/boards/viewthread/5173/

 
Magento Community Magento Community
Magento Community
Magento Community
 
michael80
Jr. Member
 
Total Posts:  7
Joined:  2007-11-13
 

Thank you for your answer
Export folder is created.
The error is about an “/home” directory.

Unable to create directory ‘/home. Access forbidden.

Do you know anything about this directory?

Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
MunchyMonster
Member
 
Avatar
Total Posts:  71
Joined:  2008-02-05
New Hampshire, USA
 

@michael80
Sorry I don’t have an answer.  But I’ll post if I dig something up.  If you find anything that works would you mind dropping a note here?  I’m having almost the same exact problem.

MunchyMonster

 
Magento Community Magento Community
Magento Community
Magento Community
 
MunchyMonster
Member
 
Avatar
Total Posts:  71
Joined:  2008-02-05
New Hampshire, USA
 

Told you I’d post if I dug something up.

Alright I did some digging and I found a quick change to the code that seems to work for me.  Please take a look over here at my last post in this thread http://www.magentocommerce.com/boards/viewthread/3063/.  To see what I figured out.  I’ve only tried export so far, but I figured I should share the wealth.

MunchyMonster

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top