<?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>George Butler Web Design &#187; Web Development</title> <atom:link href="http://georgebutler.com/category/blog/web-development/feed/" rel="self" type="application/rss+xml" /><link>http://georgebutler.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Fri, 02 Mar 2012 03:42:20 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>The Chemistry of SEO Rankings.</title><link>http://georgebutler.com/blog/the-chemistry-of-seo-rankings/</link> <comments>http://georgebutler.com/blog/the-chemistry-of-seo-rankings/#comments</comments> <pubDate>Fri, 17 Feb 2012 18:09:52 +0000</pubDate> <dc:creator>George</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[SEO]]></category> <category><![CDATA[Web Development]]></category><guid
isPermaLink="false">http://georgebutler.com/?p=1098</guid> <description><![CDATA[Below is The Periodic Table of SEO Ranking Factors. It clearly defines what makes you important to google and other search engines. You’ll watch your website do cart wheels over the competition working on these basic “elements”. From the looks of it, quality content and connecting to others is a powerful mix.]]></description> <content:encoded><![CDATA[<p>Below is <a
href="http://searchengineland.com/seotable/">The Periodic Table of SEO Ranking Factors</a>. It clearly defines what makes you important to google and other search engines. You’ll watch your website do cart wheels over the competition working on these basic “elements”. From the looks of it, quality content and connecting to others is a powerful mix.</p><p
style="text-align: center;"><a
href="http://cdn.georgebutler.com/wp-content/uploads/2012/02/SearchEngineLand-Periodic-Table-of-SEO-large.png"><img
class="size-large wp-image-1099 aligncenter" title="SearchEngineLand-Periodic-Table-of-SEO-large" src="http://cdn.georgebutler.com/wp-content/uploads/2012/02/SearchEngineLand-Periodic-Table-of-SEO-large-530x342.png" alt="" width="530" height="342" /></a></p> ]]></content:encoded> <wfw:commentRss>http://georgebutler.com/blog/the-chemistry-of-seo-rankings/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Fixing WordPress’ Auto-Update (WordPress 3.3.1 on CentOS Linux)</title><link>http://georgebutler.com/blog/fixing-wordpresss-auto-update-centos-linux/</link> <comments>http://georgebutler.com/blog/fixing-wordpresss-auto-update-centos-linux/#comments</comments> <pubDate>Sat, 28 Jan 2012 20:21:17 +0000</pubDate> <dc:creator>George</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Web Development]]></category><guid
isPermaLink="false">http://georgebutler.com/?p=1034</guid> <description><![CDATA[Having trouble with WordPress’ auto update feature? Confronting errors like “could not copy file…”  or is WordPress asking for FTP information? Your problem is most likely server permissions. If you have shell access to your own VPS/dedicated server, use the lines below. If you’re using a shared hosting setup, try option #4 below, or contact your [...]]]></description> <content:encoded><![CDATA[<p>Having trouble with WordPress’ auto update feature? Confronting errors like “could not copy file…”  or is WordPress asking for FTP information?</p><p><a
href="http://cdn.georgebutler.com/wp-content/uploads//2012/01/2012-01-28-at-4.19.png"><img
class="aligncenter size-full wp-image-1061" title="2012-01-28-at-4.19" src="http://cdn.georgebutler.com/wp-content/uploads//2012/01/2012-01-28-at-4.19.png" alt="" width="580" height="310" /></a></p><p>Your problem is most likely server permissions. If you have shell access to your own VPS/dedicated server, use the lines below. If you’re using a shared hosting setup, try option #4 below, or contact your administrator for help.</p><p><span
id="more-1034"></span></p><h3>Option #1: chmod 777</h3><p>Sure, you could CHMOD 777 your whole site. That would technically work, but it’s switching permissions whenever you need to update is inconvenient. And, leaving permissions this way leaves you open to a whole host of security issues.</p><pre><del>chmod -R 777 &lt;path-to-wordpress-dir&gt;</del> (Not Secure!)</pre><h3>Option #2: apache file permission</h3><p>This gives apache full permissions. This works, but if you use FTP, users no longer have permissions to write files. No good! I want my FTP access intact.</p><pre><del>chown -R apache:apache &lt;path-to-wordpress-dir&gt;</del> (No FTP!)</pre><h3>Option #3: apache /w group permissions</h3><p>I created a “wordpress” group and added my FTP users to it and gave the wp-content directory group write permissions. It’s a bit of a compromise, but it worked for me.</p><pre>groupadd wordpress
useradd -G wordpress &lt;your-username&gt;
chmod -R 775 &lt;path-to-wordpress-dir&gt;/wp-content/
chown -R apache:wordpress &lt;path-to-wordpress-dir&gt;</pre><h3>Option #4: wp-config constants</h3><p>Another option for those who are unable to change file permissions, and/or have a relatively new version of WordPress, is to bypass entering FTP information by defining your FTP info in your <strong>wp-config.php</strong> file. More information can be found in the <a
href="http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants" target="_blank">WordPress codex</a>.</p><pre>define('FS_METHOD', 'ftpext');
define('FTP_BASE', '/path/to/wordpress/');
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/');
define('FTP_USER', 'username'); 
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.example.org');</pre><p> </p> ]]></content:encoded> <wfw:commentRss>http://georgebutler.com/blog/fixing-wordpresss-auto-update-centos-linux/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Installing Zen theme for Drupal 7</title><link>http://georgebutler.com/blog/installing-zen-theme-for-drupal-7/</link> <comments>http://georgebutler.com/blog/installing-zen-theme-for-drupal-7/#comments</comments> <pubDate>Tue, 19 Apr 2011 02:35:13 +0000</pubDate> <dc:creator>George</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Drupal]]></category> <category><![CDATA[Web Development]]></category><guid
isPermaLink="false">http://georgebutler.com/?p=963</guid> <description><![CDATA[Why Zen Theme? The Zen theme is the natural first step when theming Drupal. It reduces Drupal down to the essentials, allowing for a solid foundation to build up from. The alternative? Copying files from the core themes is messy, and starting from scratch is time-consuming. Download the Zen Theme. Included is the base zen [...]]]></description> <content:encoded><![CDATA[<h3>Why Zen Theme?</h3><p><img
class="alignright size-full wp-image-1009" title="zen_logo" src="http://cdn.georgebutler.com/wp-content/uploads/2011/04/zen_logo.png" alt="" width="314" height="122" />The Zen theme is the natural first step when theming Drupal. It reduces Drupal down to the essentials, allowing for a solid foundation to build up from. The alternative? Copying files from the core themes is messy, and starting from scratch is time-consuming.</p><p>Download the <a
href="http://drupal.org/project/zen" target="_blank">Zen Theme</a>. Included is the base zen theme and sub-theme template, STARTERKIT.</p><p>Copy everything into sites/all/themes/zen on your web server. Move the STARTERKIT folder up a level into sites/all/themes. Separating the base theme makes upgrading zen the simple matter of overwriting the zen folder with the newer version. Files within the zen folder will remain unaltered. All configuration is done within the STARTERKIT sub-theme.<span
id="more-963"></span></p><p><img
class="alignnone size-full wp-image-979" title="zen_folders" src="http://cdn.georgebutler.com/wp-content/uploads/2011/04/zen_folders.png" alt="" width="415" height="237" /></p><h3>Installing/enabling the sub-theme</h3><p>Rename the folder “STARTERKIT” and “STARTERKIT.info.txt” file to match your new theme and remove “.txt” extension. For example, “yourtheme” and “yourtheme.info”. Open that info file and change the following lines:</p><pre><code>name = yourtheme
description = A Zen sub-theme</code></pre><p>Login to your drupal install, Admin&gt;Appearance and enable yourtheme sub-theme and the zen base theme. Set your sub-theme as default.</p><h3>Template files</h3><p>Many of the page templates are included in the Zen package and can be found in sites/all/zen/templates folder. Copy all needed templates to your sub-theme folder (sites/all/yourtheme/templates) folder.</p><h3>Important note</h3><p>Remember to deselect “Rebuild theme registry on every page.” in Admin&gt;Appearance&gt;Settings(sub-theme)</p><p><img
class="alignnone size-full wp-image-987" title="theme_development" src="http://cdn.georgebutler.com/wp-content/uploads/2011/04/theme_development.png" alt="" width="470" height="113" /></p><p>Have you used Zen as a starter theme for Drupal 7? Please share your tips and/or experience with the Zen theme in the comments below.</p> ]]></content:encoded> <wfw:commentRss>http://georgebutler.com/blog/installing-zen-theme-for-drupal-7/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Setting up a local web server on OS X Snow Leopard 10.6</title><link>http://georgebutler.com/blog/setting-up-local-web-server-on-os-x-snow-leopard-10-6/</link> <comments>http://georgebutler.com/blog/setting-up-local-web-server-on-os-x-snow-leopard-10-6/#comments</comments> <pubDate>Sun, 09 May 2010 01:15:17 +0000</pubDate> <dc:creator>George</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Web Development]]></category><guid
isPermaLink="false">http://georgebutler.com/?p=856</guid> <description><![CDATA[Basic Web Server MAMP is great. It’s an easy way to host your PHP/MySQL site locally for testing and development. But, if you want to take advantage of Snow Leopard’s built in web server capabilities, OS X makes it easy. Go into System Preferences &#62; Sharing, and check the “Web Sharing” box. That’s it. You [...]]]></description> <content:encoded><![CDATA[<h3>Basic Web Server</h3><p><img
class="alignright size-full wp-image-861" title="System Preferences" src="http://cdn.georgebutler.com/wp-content/uploads/2010/05/System-Preferences.png" alt="" width="210" height="301" /><a
href="http://www.mamp.info">MAMP</a> is great. It’s an easy way to host your PHP/MySQL site locally for testing and development. But, if you want to take advantage of Snow Leopard’s built in web server capabilities, OS X makes it easy. Go into System Preferences &gt; Sharing, and check the “Web Sharing” box.</p><p>That’s it. You can now setup an HTML-only website locally. Where do you put the files? The default folder is /Library/WebServer/Documents/. While we’re at it, let’s setup PHP and MySQL to work locally, as well.</p><p>Test it. <a
href="http://localhost">http://localhost</a>. No need for a port as it will use apache’s default port 80.</p><p>PHP and MySQL will now need to be setup for a full functioning local host.<span
id="more-856"></span></p><h3>Setting up PHP</h3><p>Open up Terminal (Applications-&gt;Utilities-&gt;Terminal) and type:</p><pre><code>sudo nano /etc/apache2/httpd.conf</code></pre><p><img
class="size-large wp-image-863 alignnone" title="Terminal — nano — 94×28" src="http://cdn.georgebutler.com/wp-content/uploads/2010/05/Terminal-—-nano-—-94×28-530x327.png" alt="" width="530" height="327" /></p><p>Go to this line</p><pre><code>#LoadModule php5_module        libexec/apache2/libphp5.so</code></pre><p>and uncomment the line by removing the hash character</p><pre><code>LoadModule php5_module        libexec/apache2/libphp5.so</code></pre><p>After saving the file (Control+O) and exiting (Control+X). Restart Apache.</p><pre><code>sudo apachectl restart</code></pre><h3>Configuring PHP</h3><pre><code>cd /etc
sudo cp php.ini.default php.ini
sudo chmod 666 php.ini
sudo nano php.ini</code></pre><p>Find this line and remove the semi-colon</p><pre><code>;date.timezone = </code></pre><p>and add your own timezone. A list of timezones can be found here (<a
href="http://php.net/manual/en/timezones.php">http://php.net/manual/en/timezones.php</a>)</p><pre><code>date.timezone = America/Halifax</code></pre><p>You’re halfway there. PHP 5 is now running on your local server.</p><h3>Setting up MySQL</h3><p><a
href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg">Download the MySQL package</a> for Mac OS X.5 (32 or 64 bits depending on your machine)<br
/> Install everything in the package in this order:</p><ul><li>mysql</li><li>the startup item</li><li>the preference pane.</li></ul><p>Now, open /etc/php.ini, find these three lines</p><pre><code>pdo_mysql.default_socket=/var/mysql/mysql.sock
mysql.default_socket = /var/mysql/mysql.sock
mysqli.default_socket = /var/mysql/mysql.sock</code></pre><p>and replace <strong>/var/mysql/</strong> with <strong>/tmp/</strong></p><pre><code>pdo_mysql.default_socket=/tmp/mysql.sock
mysql.default_socket = /tmp/mysql.sock
mysqli.default_socket = /tmp/mysql.sock</code></pre><p>After installed, you can start MySQL in the system preferences. To access your database from the Terminal</p><pre><code>/usr/local/mysql/bin/mysql -u root</code></pre><p><img
class="size-large wp-image-891 alignnone" title="System Preferences" src="http://cdn.georgebutler.com/wp-content/uploads/2010/05/System-Preferences1-530x239.png" alt="" width="530" height="239" /></p><h3>Change your Home Directory</h3><p>Want your local server’s files to be located somewhere other than the default /Library/WebServer/Documents/? Open /etc/apache2/httpd.conf, and change the next two lines to reflect your new home directory.</p><pre><code>DocumentRoot "/Library/WebServer/Documents"
...
&lt;Directory "/Library/WebServer/Documents"&gt;</code></pre><h3>Drupal Problems?</h3><p>If you’re getting errors during Drupal installation try linking the MySQL sock file like below</p><pre><code>cd /
sudo mkdir /var/mysql
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock</code></pre><h3>Drupal’s Clean Urls</h3><p>Having problems enabling Clean Urls? Find all instances of the following line in /etc/apache2/httpd.conf</p><pre><code>AllowOverride None</code></pre><p>and change <strong>None</strong> to <strong>All</strong>…</p><pre><code>AllowOverride All</code></pre>]]></content:encoded> <wfw:commentRss>http://georgebutler.com/blog/setting-up-local-web-server-on-os-x-snow-leopard-10-6/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </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 apc
Database Caching 1/32 queries in 0.018 seconds using apc
Object Caching 552/617 objects using apc
Content Delivery Network via Rackspace Cloud Files: cdn.georgebutler.com

Served from: georgebutler.com @ 2012-05-18 13:41:15 -->
