<?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: How to duplicate magento installation</title>
	<atom:link href="http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/</link>
	<description>Personal blog of Alexander Holbreich</description>
	<lastBuildDate>Thu, 17 Jun 2010 18:43:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sulekh</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4211</link>
		<dc:creator>sulekh</dc:creator>
		<pubDate>Fri, 30 Jul 2010 15:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4211</guid>
		<description>I have modified the core_config_data table and also edited the .htacces file ( RewriteBase /subfolder/). but still it is taking the files from subfolder and css etc from main folder.
 
Please reply your thoughts</description>
		<content:encoded><![CDATA[<p>I have modified the core_config_data table and also edited the .htacces file ( RewriteBase /subfolder/). but still it is taking the files from subfolder and css etc from main folder.</p>
<p>Please reply your thoughts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shuron</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4210</link>
		<dc:creator>shuron</dc:creator>
		<pubDate>Fri, 30 Jul 2010 16:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4210</guid>
		<description>@sulkh

1)
Don’t forget to change configured URL of origin shop to the  URLs of new shop in the table core_config_data. You can also use Search-Tool of phpMyAdmin and identify every record where old URL is used – but outside of core_config_data table  they are not so important and could be changed later in the Shop interface.&quot;
2) I think, in that case you also have to modify redirection rules in your .htaccess files. Look on both of them. I the root and in new sub-folder.

However  it&#039;s not a best idea to copy magento into sub-folder of another installation.</description>
		<content:encoded><![CDATA[<p>@sulkh</p>
<p>1)<br />
Don’t forget to change configured URL of origin shop to the  URLs of new shop in the table core_config_data. You can also use Search-Tool of phpMyAdmin and identify every record where old URL is used – but outside of core_config_data table  they are not so important and could be changed later in the Shop interface.&#8221;<br />
2) I think, in that case you also have to modify redirection rules in your .htaccess files. Look on both of them. I the root and in new sub-folder.</p>
<p>However  it&#8217;s not a best idea to copy magento into sub-folder of another installation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sulekh</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4209</link>
		<dc:creator>sulekh</dc:creator>
		<pubDate>Fri, 30 Jul 2010 13:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4209</guid>
		<description>i have a magento site which installed in root directory(directly inside the publichtml). now i am going to install a new magento in a subfolder inside the public html, i need the replica of the main site , so i copy the database and the files. i have changed the local.xml to new database name.if i used to acces it by _www.site.com/subfolder , i am  getting the home page of new site , but the links are all going to the main site and the css etc also from main site, the admin is also not working.let me know how to configure it.</description>
		<content:encoded><![CDATA[<p>i have a magento site which installed in root directory(directly inside the publichtml). now i am going to install a new magento in a subfolder inside the public html, i need the replica of the main site , so i copy the database and the files. i have changed the local.xml to new database name.if i used to acces it by _www.site.com/subfolder , i am  getting the home page of new site , but the links are all going to the main site and the css etc also from main site, the admin is also not working.let me know how to configure it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alfagolf</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4202</link>
		<dc:creator>alfagolf</dc:creator>
		<pubDate>Fri, 30 Jul 2010 08:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4202</guid>
		<description>Hi,

Solution is duplicate downloader file and replace the path with a usual software like ultraedit netbean and upload th new donloader ... enjoy it&#039;s work 
AlfaG</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Solution is duplicate downloader file and replace the path with a usual software like ultraedit netbean and upload th new donloader &#8230; enjoy it&#8217;s work<br />
AlfaG</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Harrison</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4200</link>
		<dc:creator>Tom Harrison</dc:creator>
		<pubDate>Fri, 30 Jul 2010 13:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4200</guid>
		<description>alfagold --

While we were able to get much of our Magento installation duplicated using the excellent tips here, I was never able to get Magento Connect working properly (a major objective of duplicating an installation).  

We eventually abandoned 6 moths of fighting with Magento and now use a Drupal-based cart called Ubercart, which is faster, simpler, more flexible, and broadly supported by the community.  Much frustration and anger was relieved by this change.</description>
		<content:encoded><![CDATA[<p>alfagold &#8211;</p>
<p>While we were able to get much of our Magento installation duplicated using the excellent tips here, I was never able to get Magento Connect working properly (a major objective of duplicating an installation).  </p>
<p>We eventually abandoned 6 moths of fighting with Magento and now use a Drupal-based cart called Ubercart, which is faster, simpler, more flexible, and broadly supported by the community.  Much frustration and anger was relieved by this change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alfagolf</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4196</link>
		<dc:creator>alfagolf</dc:creator>
		<pubDate>Fri, 30 Jul 2010 09:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4196</guid>
		<description>Hi,
I have a duplicate MGT on second one server but it s impossible to run my magento connect, error = Fatal error: Call to undefined method PEAR_Error::set() in /home/clients/client26/web28/web/downloader/Maged/Pear.php on line 111 
 
i m reading the last one and i think i m in this case. Anybody could confirm please :

original path : /home/clients/client7/web9/web
duplicat path : /home/clients/client26/web28/web

i understand that this commands can&#039;t run : 

find . -type f -exec grep -q &quot;/home/clients/client7/web9/web&quot; &#039;{}&#039; \; -print

find . -type f -print &#124; xargs sed -i -e ’s//home/clients/client7/web9/web//home/clients/client26/web28/web/g’

Correct ? 

CDL 

A</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have a duplicate MGT on second one server but it s impossible to run my magento connect, error = Fatal error: Call to undefined method PEAR_Error::set() in /home/clients/client26/web28/web/downloader/Maged/Pear.php on line 111 </p>
<p>i m reading the last one and i think i m in this case. Anybody could confirm please :</p>
<p>original path : /home/clients/client7/web9/web<br />
duplicat path : /home/clients/client26/web28/web</p>
<p>i understand that this commands can&#8217;t run : </p>
<p>find . -type f -exec grep -q &#8220;/home/clients/client7/web9/web&#8221; &#8216;{}&#8217; \; -print</p>
<p>find . -type f -print | xargs sed -i -e ’s//home/clients/client7/web9/web//home/clients/client26/web28/web/g’</p>
<p>Correct ? </p>
<p>CDL </p>
<p>A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shuron</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4175</link>
		<dc:creator>shuron</dc:creator>
		<pubDate>Fri, 30 Jul 2010 17:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4175</guid>
		<description>That makes sense! 
Thank you Gerhard for that hint!</description>
		<content:encoded><![CDATA[<p>That makes sense!<br />
Thank you Gerhard for that hint!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerhard Siegesmund</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4174</link>
		<dc:creator>Gerhard Siegesmund</dc:creator>
		<pubDate>Fri, 30 Jul 2010 09:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4174</guid>
		<description>Problem with the connection problems in the downloader result from the simple string exchange in pear.ini. The configuration is stored in a serialized array. If the old path and the new path don&#039;t have the same length, the serialized structure breaks, as the length of the strings is also encoded in the structure.

Therefore the above mentioned command only works if the old path and the new path have exactly the same length.

If this is not the case you have to read in the configuration inside php unserialize the structure, change the configuration and rewrite the file with the new serialized string.</description>
		<content:encoded><![CDATA[<p>Problem with the connection problems in the downloader result from the simple string exchange in pear.ini. The configuration is stored in a serialized array. If the old path and the new path don&#8217;t have the same length, the serialized structure breaks, as the length of the strings is also encoded in the structure.</p>
<p>Therefore the above mentioned command only works if the old path and the new path have exactly the same length.</p>
<p>If this is not the case you have to read in the configuration inside php unserialize the structure, change the configuration and rewrite the file with the new serialized string.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magento Development</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4111</link>
		<dc:creator>Magento Development</dc:creator>
		<pubDate>Fri, 30 Jul 2010 15:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4111</guid>
		<description>Nice information and good comments for magento installation, Thank you for sharing.</description>
		<content:encoded><![CDATA[<p>Nice information and good comments for magento installation, Thank you for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4099</link>
		<dc:creator>Vicky</dc:creator>
		<pubDate>Fri, 30 Jul 2010 16:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4099</guid>
		<description>Pierre - No, I&#039;ve not solved my issue yet.</description>
		<content:encoded><![CDATA[<p>Pierre &#8211; No, I&#8217;ve not solved my issue yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Team Novo</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4097</link>
		<dc:creator>Team Novo</dc:creator>
		<pubDate>Fri, 30 Jul 2010 08:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4097</guid>
		<description>Just sharing our thoughts on Magento Installation requirements in localhost

_http_://magento.novosoftwares.com/magento-installation/magento-installation-requirements/

Kind Regards,

Team Novo</description>
		<content:encoded><![CDATA[<p>Just sharing our thoughts on Magento Installation requirements in localhost</p>
<p><a href="_http_://magento.novosoftwares.com/magento-installation/magento-installation-requirements/">_http_://magento.novosoftwares.com/magento-installation/magento-installation-requirements/</a></p>
<p>Kind Regards,</p>
<p>Team Novo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shuron</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4096</link>
		<dc:creator>shuron</dc:creator>
		<pubDate>Fri, 30 Jul 2010 23:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4096</guid>
		<description>Thank you Lee. Indeet i&#039;ve noticed it too. I think, i should write new version of thins article, with new experiences.</description>
		<content:encoded><![CDATA[<p>Thank you Lee. Indeet i&#8217;ve noticed it too. I think, i should write new version of thins article, with new experiences.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4094</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Fri, 30 Jul 2010 01:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4094</guid>
		<description>I encountered the magento connect error that people have been seeing and I found that the easiest thing for me to do was remove the pear.ini file inside downloader/pearlib

For some reason hand editing that file corrupts the ini file.
The system seems to work without it and extensions install to the new installation directory instead of constantly trying to use the old directories.</description>
		<content:encoded><![CDATA[<p>I encountered the magento connect error that people have been seeing and I found that the easiest thing for me to do was remove the pear.ini file inside downloader/pearlib</p>
<p>For some reason hand editing that file corrupts the ini file.<br />
The system seems to work without it and extensions install to the new installation directory instead of constantly trying to use the old directories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierro</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4092</link>
		<dc:creator>Pierro</dc:creator>
		<pubDate>Fri, 30 Jul 2010 23:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4092</guid>
		<description>Hi Vicky, did you solve your issue ? I&#039;m having the same problem and didn&#039;t find the solution yet ...</description>
		<content:encoded><![CDATA[<p>Hi Vicky, did you solve your issue ? I&#8217;m having the same problem and didn&#8217;t find the solution yet &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Harrison</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4089</link>
		<dc:creator>Tom Harrison</dc:creator>
		<pubDate>Fri, 30 Jul 2010 22:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4089</guid>
		<description>Well, your process worked beautifully.  Thanks.

However... it seems that there are many hundreds (maybe thousands) of references to fully qualified domain names (FQDN) in the data itself.  And they are in any number of different forms -- &quot;http://mySite.com&quot;, &quot;http://mysite.com&quot;, &quot;http://www.mysite.com&quot; and then the ones for https, and ones with or without the trailing slash.

So ... I am getting up to speed with an organization that has little technical experience, so am wondering -- shouldn&#039;t it be the case that all URLs should be relative references?  Is there some macro that pulls on the correct secure or unsecure URL from the core data table?

Any ideas about where I can look (source code or otherwise) to help me understand how things should have been done would be greatly appreciated!

Tom</description>
		<content:encoded><![CDATA[<p>Well, your process worked beautifully.  Thanks.</p>
<p>However&#8230; it seems that there are many hundreds (maybe thousands) of references to fully qualified domain names (FQDN) in the data itself.  And they are in any number of different forms &#8212; &#8220;http://mySite.com&#8221;, &#8220;http://mysite.com&#8221;, &#8220;http://www.mysite.com&#8221; and then the ones for https, and ones with or without the trailing slash.</p>
<p>So &#8230; I am getting up to speed with an organization that has little technical experience, so am wondering &#8212; shouldn&#8217;t it be the case that all URLs should be relative references?  Is there some macro that pulls on the correct secure or unsecure URL from the core data table?</p>
<p>Any ideas about where I can look (source code or otherwise) to help me understand how things should have been done would be greatly appreciated!</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Harrison</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4088</link>
		<dc:creator>Tom Harrison</dc:creator>
		<pubDate>Fri, 30 Jul 2010 00:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4088</guid>
		<description>Thank you, shuron.

It&#039;s a little disheartening for me, as a new Magento user to see that there&#039;s not an automated process for building a test or staging or development platform.  One would think this is a pretty key function of an e-commerce platform (and especially one that&#039;s open-source!)

But that&#039;s just me whining.  Thank you for saving me a great deal of work.  And I hope I can return the favor by automating it in a script, and post it somewhere.

Tom</description>
		<content:encoded><![CDATA[<p>Thank you, shuron.</p>
<p>It&#8217;s a little disheartening for me, as a new Magento user to see that there&#8217;s not an automated process for building a test or staging or development platform.  One would think this is a pretty key function of an e-commerce platform (and especially one that&#8217;s open-source!)</p>
<p>But that&#8217;s just me whining.  Thank you for saving me a great deal of work.  And I hope I can return the favor by automating it in a script, and post it somewhere.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4085</link>
		<dc:creator>Vicky</dc:creator>
		<pubDate>Fri, 30 Jul 2010 15:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4085</guid>
		<description>I would love to see your new article about how to copy Magento.  Will you be able to publish it soon?</description>
		<content:encoded><![CDATA[<p>I would love to see your new article about how to copy Magento.  Will you be able to publish it soon?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flash developer</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4084</link>
		<dc:creator>Flash developer</dc:creator>
		<pubDate>Fri, 30 Jul 2010 09:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4084</guid>
		<description>Thanks for your help!
I tried to put the SQL snipet Shuron, but it didn&#039;t work!
Then I found this and it worked fine!!
SET FOREIGN_KEY_CHECKS=0;
// SQL
SET FOREIGN_KEY_CHECKS=1;

Btw, great blog!
Thanks,
Erwan</description>
		<content:encoded><![CDATA[<p>Thanks for your help!<br />
I tried to put the SQL snipet Shuron, but it didn&#8217;t work!<br />
Then I found this and it worked fine!!<br />
SET FOREIGN_KEY_CHECKS=0;<br />
// SQL<br />
SET FOREIGN_KEY_CHECKS=1;</p>
<p>Btw, great blog!<br />
Thanks,<br />
Erwan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4083</link>
		<dc:creator>Vicky</dc:creator>
		<pubDate>Fri, 30 Jul 2010 16:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4083</guid>
		<description>Hi Shuron, I&#039;m currently on 1.2.1.2.</description>
		<content:encoded><![CDATA[<p>Hi Shuron, I&#8217;m currently on 1.2.1.2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shuron</title>
		<link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-1/#comment-4082</link>
		<dc:creator>shuron</dc:creator>
		<pubDate>Fri, 30 Jul 2010 15:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4082</guid>
		<description>Hi, Vicky. Which Magento version?
I had this issue ones but I don&#039;t know anymore what i did to fix it. Just can&#039;t remember:(

Anyway I have new experiences how to copy Magento instances so my plan is to rewrite this article. I&#039;ll try to find time for it in next days, I promise.</description>
		<content:encoded><![CDATA[<p>Hi, Vicky. Which Magento version?<br />
I had this issue ones but I don&#8217;t know anymore what i did to fix it. Just can&#8217;t remember:(</p>
<p>Anyway I have new experiences how to copy Magento instances so my plan is to rewrite this article. I&#8217;ll try to find time for it in next days, I promise.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
