<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Monkey Business &#187; Drupal</title>
	<atom:link href="http://blog.supadupa.co.za/index.php/category/development/php/drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.supadupa.co.za</link>
	<description>Confessions of a webaholic</description>
	<lastBuildDate>Thu, 02 Sep 2010 15:38:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Drupal 6 &#8211; migrating multisites to a new server</title>
		<link>http://blog.supadupa.co.za/index.php/2010/08/drupal-6-migrating-multisites-to-a-new-server/</link>
		<comments>http://blog.supadupa.co.za/index.php/2010/08/drupal-6-migrating-multisites-to-a-new-server/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 15:32:13 +0000</pubDate>
		<dc:creator>murraybiscuit</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[multisite]]></category>

		<guid isPermaLink="false">http://blog.supadupa.co.za/?p=136</guid>
		<description><![CDATA[You&#8217;re probably at this page because you tried migrating your multi-site setup from your localhost or dev server, put it live and it&#8217;s broken. Maybe this guide can help a little. Obviously modules and templates are different from site to site, so allow for some variances with your setup. One of the main issues is [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re probably at this page because you tried migrating your multi-site setup from your localhost or dev server, put it live and it&#8217;s broken. Maybe this guide can help a little. Obviously modules and templates are different from site to site, so allow for some variances with your setup.</p>
<p>One of the main issues is that cli access via Drush isn&#8217;t an option in a shared server hosting environment. And a lot of issues happen because you may need to flush caches without logging in. So here&#8217;s the plan of action:</p>
<ol>
<li>Login to site admin.</li>
<li>Clear your caches.</li>
<li>Use the backup and restore module to create a compressed sql dump of your db. Make sure that tables with the name &#8220;cache&#8221; aren&#8217;t selected for backup.</li>
<li>Open the sql backup file and use a text editor to replace all instances of &lt;dev sitename&gt; with &lt;new sitename&gt; and save.</li>
<li>Move all your files to the new server (tarball and extract if possible). Ensure that all hidden .htacess files are also moved across.</li>
<li>Fix permissions issues: core files should be chmod 644, all writable directories should be set to 777 and their content set to 755.  If any files in these directories are created by the web user and are subject to change via the CMS, ensure these files are chmod 777.</li>
<li>Ensure that the temp directory and files directory are writable.</li>
<li>Check that your new setup has the correct sitename for it&#8217;s multisite folder and that the database details in the settings file is correct for the new host.</li>
<li>Restore the database via phpmyadmin / remote sql client etc.</li>
<li>Surf to your new domain &#8211; it should show the offline page if you set it to offline and your database settings are correct.</li>
<li>Go to the admin page (/admin). If that fails, go to /user to login. If you can&#8217;t login, there&#8217;s probably an issue with your server setup or site config above.</li>
<li>Once you&#8217;ve logged in as admin, go to /admin/settings/file-system to check if your file and temp upload directories are setup correctly.</li>
<li>Check to see if your site is now loading properly.</li>
<li>If your images are broken, it could be imagecache &#8211; go to your imagecache setup in the admin section and flush all imagecache items.</li>
<li>Flush all site caches.</li>
<li>I had some issues with css and js_injector modules as well and ended up having to delete the files it generated in the &lt;files&gt; directory and had to recreate all the rules.</li>
</ol>
<p>That&#8217;s all I can think of for now. Hopefully Drupal 7 can sort out some of this somewhat.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.supadupa.co.za/index.php/2010/08/drupal-6-migrating-multisites-to-a-new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal drush for Windows</title>
		<link>http://blog.supadupa.co.za/index.php/2010/07/drupal-drush-for-windows/</link>
		<comments>http://blog.supadupa.co.za/index.php/2010/07/drupal-drush-for-windows/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 16:46:43 +0000</pubDate>
		<dc:creator>murraybiscuit</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.supadupa.co.za/?p=132</guid>
		<description><![CDATA[There&#8217;s a couple of blog posts out there telling you how to do this. I thought I&#8217;d just summarise it to make it easier: Download the Drupal drush package and put it somewhere in your system. Place it utside of the Drupal installation so that there&#8217;s no risk of it being executed from the browser. [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a couple of blog posts out there telling you how to do this.</p>
<p>I thought I&#8217;d just summarise it to make it easier:</p>
<ol>
<li>Download the <a  href="http://drupal.org/project/drush" target="_blank">Drupal drush package</a> and put it somewhere in your system. Place it utside of the Drupal installation so that there&#8217;s no risk of it being executed from the browser.</li>
<li>Download the following packages from the sourceforge GnuWin32 project:
<ol>
<li>Get the latest wget installer <a  href="http://sourceforge.net/projects/gnuwin32/files/wget/">here</a>.</li>
<li>Get the latest bzip2 installer <a  href="http://sourceforge.net/projects/gnuwin32/files/bzip2/">here</a>.</li>
<li>Get the latest tar installer <a  href="http://sourceforge.net/projects/gnuwin32/files/tar/">here</a>.</li>
</ol>
</li>
<li>Install all of the above gnu packages.</li>
<li>Set your environment variables to detect all of the necessary binaries:
<ol>
<li>Go to Start&gt;Run and type sysdm.cpl to bring up the system properties dialog.</li>
<li>Click on the Environment Variables button.</li>
<li>In the System Variables panel, edit the Path variable value:
<ol>
<li>&lt;existing path&gt;;&lt;path to php&gt;;&lt;path to gnuwin&gt;;&lt;path to drush&gt;;</li>
<li>If you&#8217;re on a 64-bit system, gnuwin be in your Program Files (x86) directory.</li>
<li>You can check that each of the above paths are resolving by typing php/tar/gzip/wget/drush in a dos prompt.</li>
</ol>
</li>
</ol>
</li>
<li>Start&gt;run&gt;cmd and navigate to your Drupal installation</li>
<li>Type drush for a list of commands. Append your commands with -d for debugging if the commands aren&#8217;t working.</li>
</ol>
<p>Hope that helps somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.supadupa.co.za/index.php/2010/07/drupal-drush-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

