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

Magento Store Transfer Issue
 
muratcantuna
Jr. Member
 
Total Posts:  2
Joined:  2013-01-20
 

Hi all,

I want to import my current store to another domain. First I have installed Magento to my new domain without any proble. I just imported my database and then, I have copied and pasted the folders \"app\" and \"skin\" to my new domain via ftp. Probably that was not the right way though! The first error I have encountered was:

\"There has been an error processing your request
Exception printing is disabled by default for security reasons.\”

Then I have followed this popular steps to display the error:

1. Locate the root directory where your Magento is installed. Search for “errors” directory.
2. Change the filename of local.xml.sample to local.xml
3. Reload the page where it shows error message, you will see a full list of error message – The purpose of rename local.xml is to allow the full error message to be shown.
4. Now, locate magento_directory/lib/Zend/Cache/Backend/File.php and look for:

protected $_options = array(
\’cache_dir\’ => \’null\’,

Replace it with:

protected $_options = array(
\’cache_dir\’ => \’tmp/\’,

And save the file.

5. Now, go to Magento root directory and create a new directory with the name “tmp”.

Now I am encountering such an error:


SQLSTATE[00000] [2004] Can\’t create TCP/IP socket (0)

Trace:
#0 /mnt/web9/d2/56/53632856/htdocs/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /mnt/web9/d2/56/53632856/htdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php(313): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /mnt/web9/d2/56/53632856/htdocs/lib/Zend/Db/Adapter/Abstract.php(459): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /mnt/web9/d2/56/53632856/htdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(\’SET NAMES utf8\’, Array)
#4 /mnt/web9/d2/56/53632856/htdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query(\’SET NAMES utf8\’, Array)
#5 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Resource.php(169): Varien_Db_Adapter_Pdo_Mysql->query(\’SET NAMES utf8\’)
#6 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection(\’pdo_mysql\’, Object(Mage_Core_Model_Config_Element))
#7 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection(\’core_write\’)
#8 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection(\’write\’)
#9 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(335): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Resource/Cache.php(53): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Cache.php(455): Mage_Core_Model_Resource_Cache->getAllOptions()
#12 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Cache.php(497): Mage_Core_Model_Cache->_initOptions()
#13 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/App.php(1183): Mage_Core_Model_Cache->canUse(\’config\’)
#14 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Config.php(414): Mage_Core_Model_App->useCache(\’config\’)
#15 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/Config.php(294): Mage_Core_Model_Config->_canUseCacheForInit()
#16 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/App.php(413): Mage_Core_Model_Config->loadModulesCache()
#17 /mnt/web9/d2/56/53632856/htdocs/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#18 /mnt/web9/d2/56/53632856/htdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#19 /mnt/web9/d2/56/53632856/htdocs/index.php(87): Mage::run(\’\’, \’store\’)
#20 {main}

I have googled it but there is not anything found for the error \"SQLSTATE[00000] [2004] Can\’t create TCP/IP socket (0)\”

I would appreciate any help regarding this problem.

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