Magento Forum

problems with exporting a profile to csv etc
 
xil
Jr. Member
 
Total Posts:  7
Joined:  2008-03-16
 

Hi, I’ve just been looking into trying to import into magento so first I thought I would export some data, however, I am getting the following error:

# Starting profile execution, please wait...
# Warning: Please don't close window during importing/exporting data

Warningis_readable() [function.is-readable]open_basedir restriction in effectFile(
[file details here]
) is not within the allowed path
(s): (/var/www/vhosts/dev2-breakfrom.com/httpdocs:/tmpin /var/www/vhosts/dev2-breakfrom.com/httpdocs/lib/Varien/Io/File.php on line 197
[0] in is_readable
("
/var/www/vhosts/dev2-breakfrom.com/httpdocs/lib/Varien/Io/File.php on line 197
[1] in Varien_Io_File->write("
/var/www/vhosts/dev2-breakfrom.com/httpdocs/var/test_export", "
/var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Dataflow/Model/Convert/Adapter/Io.php on line 64
[2] in Mage_Dataflow_Model_Convert_Adapter_Io
->save(Array[0]in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php on line 226
[3] in Mage_Dataflow_Model_Convert_Action_Abstract
->run() in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php on line 124
[4] in Mage_Dataflow_Model_Convert_Profile_Abstract
->run() in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Dataflow/Model/Profile.php on line 92
[5] in Mage_Dataflow_Model_Profile
->run() in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Adminhtml/Block/System/Convert/Profile/Run.php on line 69
[6] in Mage_Adminhtml_Block_System_Convert_Profile_Run
->_toHtml() in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php on line 553
[7] in Mage_Core_Block_Abstract
->toHtml() in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Adminhtml/controllers/System/Convert/ProfileController.php on line 182
[8] in Mage_Adminhtml_System_Convert_ProfileController
->runAction() in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php on line 341
[9] in Mage_Core_Controller_Varien_Action
->dispatch("run"in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 141
[10] in Mage_Core_Controller_Varien_Router_Admin
->match(Mage_Core_Controller_Request_Httpin /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147
[11] in Mage_Core_Controller_Varien_Front
->dispatch() in /var/www/vhosts/dev2-breakfrom.com/httpdocs/app/Mage.php on line 400
[12] in Mage
::run("default"in /var/www/vhosts/dev2-breakfrom.com/httpdocs/index.php on line 29

# Starting Mage_Catalog_Model_Convert_Adapter_Product :: load
# Loaded 18 records
# Starting Mage_Catalog_Model_Convert_Parser_Product :: unparse
# Starting Mage_Dataflow_Model_Convert_Mapper_Column :: map
# Starting Mage_Dataflow_Model_Convert_Parser_Xml_Excel :: unparse
# Starting Mage_Dataflow_Model_Convert_Adapter_Io :: save
# Saved successfully: /var/www/vhosts/dev2-breakfrom.com/httpdocs/var/test_export [44205 byte(s)]
# Finished profile execution.

The file then doesn’t save on the server.

Any ideas, do I need to remove open_basedir on the server?

Cheers in advance,

Ben.

 
Magento Community Magento Community
Magento Community
Magento Community
 
nick5014
Jr. Member
 
Total Posts:  2
Joined:  2008-03-18
 

Iv got almost exactly the same problem as you XIL. Any help would really be appreciated.

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