<?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>Everything becomes a little different as soon as it is spoken out loud.  ~Hermann Hesse</description> <lastBuildDate>Fri, 03 Feb 2012 07:43:02 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: shuron</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4834</link> <dc:creator>shuron</dc:creator> <pubDate>Wed, 08 Feb 2012 22:09:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4834</guid> <description>Thank you for all the comments. I have not much to do with magento at time. I hope that this discusion still  has some relevance.</description> <content:encoded><![CDATA[<p>Thank you for all the comments.<br /> I have not much to do with magento at time.<br /> I hope that this discusion still  has some relevance.</p> ]]></content:encoded> </item> <item><title>By: David Judge</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4668</link> <dc:creator>David Judge</dc:creator> <pubDate>Wed, 08 Feb 2012 11:03:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4668</guid> <description>nice post thanks for hosting</description> <content:encoded><![CDATA[<p>nice post thanks for hosting</p> ]]></content:encoded> </item> <item><title>By: Daniel</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4646</link> <dc:creator>Daniel</dc:creator> <pubDate>Wed, 08 Feb 2012 21:06:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4646</guid> <description>After using this guide on version 1.5.1 i thought i&#039;d add my experience:- dont forget to migrate / adapt the .htaccess file in the root - run this sql in the new db to fix 404 on the backend login:SET FOREIGN_KEY_CHECKS=0; UPDATE `core_store` SET store_id = 0 WHERE code=&#039;admin&#039;; UPDATE `core_store_group` SET group_id = 0 WHERE name=&#039;Default&#039;; UPDATE `core_website` SET website_id = 0 WHERE code=&#039;admin&#039;; UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code=&#039;NOT LOGGED IN&#039;; SET FOREIGN_KEY_CHECKS=1;- set app/etc/local.xml to 551 (otherwise you get a security server config notification in the backend)</description> <content:encoded><![CDATA[<p>After using this guide on version 1.5.1 i thought i&#8217;d add my experience:</p><p>- dont forget to migrate / adapt the .htaccess file in the root<br /> - run this sql in the new db to fix 404 on the backend login:</p><p>SET FOREIGN_KEY_CHECKS=0;<br /> UPDATE `core_store` SET store_id = 0 WHERE code=&#8217;admin&#8217;;<br /> UPDATE `core_store_group` SET group_id = 0 WHERE name=&#8217;Default&#8217;;<br /> UPDATE `core_website` SET website_id = 0 WHERE code=&#8217;admin&#8217;;<br /> UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code=&#8217;NOT LOGGED IN&#8217;;<br /> SET FOREIGN_KEY_CHECKS=1;</p><p>- set app/etc/local.xml to 551 (otherwise you get a security server config notification in the backend)</p> ]]></content:encoded> </item> <item><title>By: Roge</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4587</link> <dc:creator>Roge</dc:creator> <pubDate>Wed, 08 Feb 2012 15:18:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4587</guid> <description>Thanks, that saved me a fair bit of time. How much time have you spent ninja-ing Magento? You must be an online legend at it!Thanks again, Roge.</description> <content:encoded><![CDATA[<p>Thanks, that saved me a fair bit of time. How much time have you spent ninja-ing Magento? You must be an online legend at it!</p><p>Thanks again, Roge.</p> ]]></content:encoded> </item> <item><title>By: Jessie Patterson</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4538</link> <dc:creator>Jessie Patterson</dc:creator> <pubDate>Wed, 08 Feb 2012 21:27:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4538</guid> <description>Good article. Sometimes I find it difficult to figure out problems that are occuring with an install. Sometimes spending hours after hours searching for this problem just isn&#039;t worth it.  I would suggest using a professional magento installer if you continue having problem or if you just want a smooth install without having to do it yourself. It really helps ease the headache.</description> <content:encoded><![CDATA[<p>Good article. Sometimes I find it difficult to figure out problems that are occuring with an install. Sometimes spending hours after hours searching for this problem just isn&#8217;t worth it.  I would suggest using a professional magento installer if you continue having problem or if you just want a smooth install without having to do it yourself. It really helps ease the headache.</p> ]]></content:encoded> </item> <item><title>By: sea</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4505</link> <dc:creator>sea</dc:creator> <pubDate>Wed, 08 Feb 2012 09:19:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4505</guid> <description>helloNice article, thanks for good post :)however can u suggest the best way to duplicate a magento site into new domain ?</description> <content:encoded><![CDATA[<p>hello</p><p>Nice article, thanks for good post <img src="http://alexander.holbreich.org/wp-includes/images/smilies/icon_smile.gif?4c9b33" alt=':)' class='wp-smiley' /></p><p>however can u suggest the best way to duplicate a magento site into new domain ?</p> ]]></content:encoded> </item> <item><title>By: Enno Julian</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4474</link> <dc:creator>Enno Julian</dc:creator> <pubDate>Wed, 08 Feb 2012 17:34:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4474</guid> <description>Sharron Clemens - see above - has the key to success! After a succesfull installed extension via the Download Manager - on a mirror test site at different url -  I can confirm following steps for a Magento 1.4.1.1 install.**Please note that these steps depend on your configuration and might not work for you, so back-up first!***1) log out of Magento admin 2) update url&#039;s in /downloader/pearlib/php/pearcmd.php 3) update url&#039;s in /downloader/pearlib/php/peclcmd.php 4a) unseralize /downloader/pearlib/pear.ini 4b) change url instances in the unserialized array 4c) serialize again and replace the existing /downloader/pearlib/pear.ini 5) clear all caches 6) login to admin 7) Happy Connecting and Sandboxing ;-)</description> <content:encoded><![CDATA[<p>Sharron Clemens &#8211; see above &#8211; has the key to success! After a succesfull installed extension via the Download Manager &#8211; on a mirror test site at different url &#8211;  I can confirm following steps for a Magento 1.4.1.1 install.</p><p>**Please note that these steps depend on your configuration and might not work for you, so back-up first!***</p><p>1) log out of Magento admin<br /> 2) update url&#8217;s in /downloader/pearlib/php/pearcmd.php<br /> 3) update url&#8217;s in /downloader/pearlib/php/peclcmd.php<br /> 4a) unseralize /downloader/pearlib/pear.ini<br /> 4b) change url instances in the unserialized array<br /> 4c) serialize again and replace the existing /downloader/pearlib/pear.ini<br /> 5) clear all caches<br /> 6) login to admin<br /> 7) Happy Connecting and Sandboxing <img src="http://alexander.holbreich.org/wp-includes/images/smilies/icon_wink.gif?4c9b33" alt=';-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Sharron Clemons</title><link>http://alexander.holbreich.org/2009/01/how-to-duplicate-magento-installation/comment-page-2/#comment-4418</link> <dc:creator>Sharron Clemons</dc:creator> <pubDate>Wed, 08 Feb 2012 21:08:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4418</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. 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.</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-4211</link> <dc:creator>sulekh</dc:creator> <pubDate>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 16:48:00 +0000</pubDate> <guid isPermaLink="false">http://alexander.holbreich.org/?p=335#comment-4210</guid> <description>@sulkh1) 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>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 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/webi understand that this commands can&#039;t run :find . -type f -exec grep -q &quot;/home/clients/client7/web9/web&quot; &#039;{}&#039; \; -printfind . -type f -print &#124; xargs sed -i -e ’s//home/clients/client7/web9/web//home/clients/client26/web28/web/g’Correct ?CDLA</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>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 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: 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>Wed, 08 Feb 2012 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>Wed, 08 Feb 2012 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/pearlibFor 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> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/23 queries in 0.026 seconds using disk: basic
Object Caching 671/671 objects using disk: basic

Served from: alexander.holbreich.org @ 2012-02-08 13:12:58 -->
