<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0"><channel><title>Make Money Blogging Tips For Free</title><link>http://webmasterweblog.com</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Webmaster-Resources" /><description>Experiences of a Webmaster</description><language>en</language><lastBuildDate>Sat, 25 Feb 2012 20:34:42 PST</lastBuildDate><generator>http://wordpress.org/?v=3.3.2</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Webmaster-Resources" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="webmaster-resources" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Webmaster-Resources</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Visual Editor Stops Working in WordPress After Upgrade</title><link>http://webmasterweblog.com/visual-editor-stops-working-in-wordpress-after-upgrade.html</link><category>Wordpress</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Sat, 25 Feb 2012 20:34:42 PST</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=420</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/7BPv3ZXaMq8_v-EmVG8WI7bpvhE/0/da"><img src="http://feedads.g.doubleclick.net/~a/7BPv3ZXaMq8_v-EmVG8WI7bpvhE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7BPv3ZXaMq8_v-EmVG8WI7bpvhE/1/da"><img src="http://feedads.g.doubleclick.net/~a/7BPv3ZXaMq8_v-EmVG8WI7bpvhE/1/di" border="0" ismap="true"></img></a></p><p><strong>1.</strong> Reupload entire wordpress folders again<br />
<strong>2.</strong> Make sure that the files user-edit.phpand users.php actually exists. If they are not existant this wont work<br />
<strong>3.</strong> Reuploading everything often works<br />
<strong>4.</strong> Make sure to check your profile </p>
]]></content:encoded><description>1. Reupload entire wordpress folders again
2. Make sure that the files user-edit.phpand users.php actually exists. If they are not existant this wont work
3. Reuploading everything often works
4. Make sure to check your profile</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/visual-editor-stops-working-in-wordpress-after-upgrade.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>godaddy coupon code 2012 renewals</title><link>http://webmasterweblog.com/godaddy-coupon-code-2012-renewals.html</link><category>GoDaddy Coupons</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Mon, 02 Jan 2012 06:13:40 PST</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=417</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/samwxYFARAarsFyLrhVFz4BW8yI/0/da"><img src="http://feedads.g.doubleclick.net/~a/samwxYFARAarsFyLrhVFz4BW8yI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/samwxYFARAarsFyLrhVFz4BW8yI/1/da"><img src="http://feedads.g.doubleclick.net/~a/samwxYFARAarsFyLrhVFz4BW8yI/1/di" border="0" ismap="true"></img></a></p><p>Do you want to renew your com domains at Goddaddy? Use coupon code </p>
<p>cjc795dom for $7.99 .com domain renewals in 2012!!</p>
]]></content:encoded><description>Do you want to renew your com domains at Goddaddy? Use coupon code 
cjc795dom for $7.99 .com domain renewals in 2012!!</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/godaddy-coupon-code-2012-renewals.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>WordPress: Change All Posts To Drafts</title><link>http://webmasterweblog.com/wordpress-change-all-posts-to-drafts.html</link><category>Wordpress</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Mon, 12 Dec 2011 04:15:28 PST</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=414</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/rJvvOBItbuyncz4zRPf6Gv5GWgg/0/da"><img src="http://feedads.g.doubleclick.net/~a/rJvvOBItbuyncz4zRPf6Gv5GWgg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rJvvOBItbuyncz4zRPf6Gv5GWgg/1/da"><img src="http://feedads.g.doubleclick.net/~a/rJvvOBItbuyncz4zRPf6Gv5GWgg/1/di" border="0" ismap="true"></img></a></p><p>Update randomcrap_posts<br />
SET post_status = &#8216;draft&#8217;<br />
WHERE post_author =1 and post_type =&#8217;post&#8217;</p>
<p>Change post_author=1 to the ID of the user that you want to set all posts to draft status for. </p>
]]></content:encoded><description>Update randomcrap_posts
SET post_status = &amp;#8216;draft&amp;#8217;
WHERE post_author =1 and post_type =&amp;#8217;post&amp;#8217;
Change post_author=1 to the ID of the user that you want to set all posts to draft status for.</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/wordpress-change-all-posts-to-drafts.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Using Android Device Manager And Installing APK</title><link>http://webmasterweblog.com/using-android-device-manager-and-installing-apk.html</link><category>General</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Mon, 14 Nov 2011 06:31:55 PST</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=411</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/NDg52gEpX_S_J_3XPoYDfaSaqCU/0/da"><img src="http://feedads.g.doubleclick.net/~a/NDg52gEpX_S_J_3XPoYDfaSaqCU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NDg52gEpX_S_J_3XPoYDfaSaqCU/1/da"><img src="http://feedads.g.doubleclick.net/~a/NDg52gEpX_S_J_3XPoYDfaSaqCU/1/di" border="0" ismap="true"></img></a></p><p>http://www.android.pk/blog/general/how-to-install-apk-files-on-android-emulator/</p>
]]></content:encoded><description>http://www.android.pk/blog/general/how-to-install-apk-files-on-android-emulator/</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/using-android-device-manager-and-installing-apk.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Register shell script as shell command – e.g. this stats script that shows octal permissions</title><link>http://webmasterweblog.com/register-shell-script-as-shell-command-e-g-this-stats-script-that-shows-octal-permissions.html</link><category>Code Snippets</category><category>Linux</category><category>SSH</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Sat, 22 Oct 2011 10:37:46 PDT</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=409</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/nAZkW7s0tZs8VMDql0t2M3ox1Mg/0/da"><img src="http://feedads.g.doubleclick.net/~a/nAZkW7s0tZs8VMDql0t2M3ox1Mg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/nAZkW7s0tZs8VMDql0t2M3ox1Mg/1/da"><img src="http://feedads.g.doubleclick.net/~a/nAZkW7s0tZs8VMDql0t2M3ox1Mg/1/di" border="0" ismap="true"></img></a></p><p>If you don&#8217;t always want to type /this/is/a/long/path/to/my/script you can simply put your shell script into /bin (Ubuntu 11.04) and then you can access it via scriptname. Here is a handy script to show octal permissions (755, 600, via shell)</p>
<p><span id="more-409"></span></p>
<p>Let&#8217;s say you have a script &#8220;statsme&#8221; that is supposed to show octal permissions. Octal permissions are 600, 755, 777 .. you know. Ok, now ls -l won&#8217;t show the octal permissions. That&#8217;s why you have to type stat -c &#8216;%A %a %n&#8217; *</p>
<p>stat -c &#8216;%A %a %n&#8217; * is WAY too long too remember. So I wrote a script to access it. But I also don&#8217;t want to always type the path to that script, so I put it inot /bin and can simply access it via statsme. NEAT! </p>
<blockquote><p>cd /bin<br />
touch statsme<br />
chmod a+x statsme<br />
pico statsme<br />
INSERT THIS<br />
 stat -c &#8216;%A %a %n&#8217; *<br />
CTRL +X and confirm</p></blockquote>
<p>Now you&#8217;re done and you can simply enter statsme and see all octal permissions. Handy! </p>
]]></content:encoded><description>If you don&amp;#8217;t always want to type /this/is/a/long/path/to/my/script you can simply put your shell script into /bin (Ubuntu 11.04) and then you can access it via scriptname. Here is a handy script to show octal permissions (755, 600, via shell)

Let&amp;#8217;s say you have a script &amp;#8220;statsme&amp;#8221; that is supposed to show octal permissions. Octal permissions are 600, 755, 777 .. you know. Ok, now ls -l won&amp;#8217;t show the octal permissions. That&amp;#8217;s why you have to type stat -c &amp;#8216;%A %a %n&amp;#8217; *
stat -c &amp;#8216;%A %a %n&amp;#8217; * is WAY ...</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/register-shell-script-as-shell-command-e-g-this-stats-script-that-shows-octal-permissions.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>WHM says Disk /var/ or /var/tmp full? 100%? Increase TMP partition with SECUREMTP</title><link>http://webmasterweblog.com/whm-says-disk-var-or-vartmp-full-100-increase-tmp-partition-with-securemtp.html</link><category>Cpanel/WHM</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Thu, 20 Oct 2011 07:54:11 PDT</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=407</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/xx3f4i_2aA0yInsnxKwncY75npI/0/da"><img src="http://feedads.g.doubleclick.net/~a/xx3f4i_2aA0yInsnxKwncY75npI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xx3f4i_2aA0yInsnxKwncY75npI/1/da"><img src="http://feedads.g.doubleclick.net/~a/xx3f4i_2aA0yInsnxKwncY75npI/1/di" border="0" ismap="true"></img></a></p><p>If your disks are full yet again, you can easily increase the TMP partition with secureTMP.</p>
<p><span id="more-407"></span></p>
<p>1. Enter pico /scripts/securetmp into shell</p>
<p>2. Find<br />
$tmpdsksize     = 512000;    # Must be larger than 250000</p>
<p>3. Change to a larger size<br />
my $tmpdsksize     = 2097152;    # Must be larger than 250000</p>
<p>4.Enter the following commands:</p>
<p>umount -l /tmp<br />
umount -l /var/tmp<br />
rm -fv /usr/tmpDSK<br />
/scripts/securetmp</p>
<p>Enter y two times</p>
<p>Wait until securetmp completes.</p>
<p>Check Service Status to see if the disk /tmp is now 2GB large. If not, redo again. </p>
]]></content:encoded><description>If your disks are full yet again, you can easily increase the TMP partition with secureTMP.

1. Enter pico /scripts/securetmp into shell
2. Find
$tmpdsksize     = 512000;    # Must be larger than 250000
3. Change to a larger size
my $tmpdsksize     = 2097152;    # Must be larger than 250000
4.Enter the following commands:
umount -l /tmp
umount -l /var/tmp
rm -fv /usr/tmpDSK
/scripts/securetmp
Enter y two times
Wait until securetmp completes.
Check Service Status to see if the disk /tmp is now 2GB large. If not, redo again.</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/whm-says-disk-var-or-vartmp-full-100-increase-tmp-partition-with-securemtp.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Monitoring SQL</title><link>http://webmasterweblog.com/monitoring-sql.html</link><category>SQL</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Wed, 28 Sep 2011 13:30:53 PDT</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=401</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/sP6K-x07_WnkzqIcp1IzyDSZNfw/0/da"><img src="http://feedads.g.doubleclick.net/~a/sP6K-x07_WnkzqIcp1IzyDSZNfw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sP6K-x07_WnkzqIcp1IzyDSZNfw/1/da"><img src="http://feedads.g.doubleclick.net/~a/sP6K-x07_WnkzqIcp1IzyDSZNfw/1/di" border="0" ismap="true"></img></a></p><p><a href="http://gert.sos.be/demo/mysqlar/">mysql activity report</a> and <a href="http://munin.projects.linpro.no/">munin</a> - worth trying</p>
]]></content:encoded><description>mysql activity report and munin - worth trying</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/monitoring-sql.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Optimizing MySQL key_buffer_size – using “mysqladmin” command</title><link>http://webmasterweblog.com/optimizing-mysql-key_buffer_size-using-mysqladmin-command.html</link><category>SQL</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Wed, 28 Sep 2011 13:30:51 PDT</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=398</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/Px7BGe-Nu28VQNSQbNC8cotp4gI/0/da"><img src="http://feedads.g.doubleclick.net/~a/Px7BGe-Nu28VQNSQbNC8cotp4gI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Px7BGe-Nu28VQNSQbNC8cotp4gI/1/da"><img src="http://feedads.g.doubleclick.net/~a/Px7BGe-Nu28VQNSQbNC8cotp4gI/1/di" border="0" ismap="true"></img></a></p><p>If you run a few high traffic sites and you rely on tools like mysqltuner or tuning-primer to optimize SQL you can run into problems.</p>
<p><span id="more-398"></span></p>
<p>key_buffer_size is a critical setting for the MySQL database. In my case, mysqltuner said that my key buffer size was fine, but after doing some research I found out that it is generally recommend that the key_buffer_size is at least as large as all MyISAM indexes.  </p>
<p>In my cases the <a href="/mysql-key_buffer_size-default-value.html">key_buffer_size was set to the default value </a> ~ 8M but my indexed were 100M large. I raised the value to be on the safe side. </p>
<p>1. Enter pico /etc/my.cnf and add <code>key_buffer_size=200M</code><br />
2. restart mysql<br />
3. Enter <strong>mysqladmin variables</strong> to show the settings of your mysql instance </p>
<p>Check the value of key_buffer_size &#8211; should be larger now. </p>
]]></content:encoded><description>If you run a few high traffic sites and you rely on tools like mysqltuner or tuning-primer to optimize SQL you can run into problems.

key_buffer_size is a critical setting for the MySQL database. In my case, mysqltuner said that my key buffer size was fine, but after doing some research I found out that it is generally recommend that the key_buffer_size is at least as large as all MyISAM indexes.  
In my cases the key_buffer_size was set to the default value  ~ 8M but my indexed were 100M ...</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/optimizing-mysql-key_buffer_size-using-mysqladmin-command.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Mysql: key_buffer_size default value</title><link>http://webmasterweblog.com/mysql-key_buffer_size-default-value.html</link><category>SQL</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Wed, 28 Sep 2011 13:25:39 PDT</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=399</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/ELDSQ5Q_o0yxKtrNIDSYkNNZE70/0/da"><img src="http://feedads.g.doubleclick.net/~a/ELDSQ5Q_o0yxKtrNIDSYkNNZE70/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ELDSQ5Q_o0yxKtrNIDSYkNNZE70/1/da"><img src="http://feedads.g.doubleclick.net/~a/ELDSQ5Q_o0yxKtrNIDSYkNNZE70/1/di" border="0" ismap="true"></img></a></p><p>Just posting because I couldn&#8217;t find any good post on this. </p>
<p><span id="more-399"></span></p>
<p>The <strong>default value</strong> of key_buffer_size if you do not specify it in my.cnf for MySQL 5.0 is </p>
<p><strong>8384512 bytes = ~ 8M </strong></p>
<p>The default value is WAY too low for many servers &#8211; see my next post </p>
]]></content:encoded><description>Just posting because I couldn&amp;#8217;t find any good post on this. 

The default value of key_buffer_size if you do not specify it in my.cnf for MySQL 5.0 is 
8384512 bytes = ~ 8M 
The default value is WAY too low for many servers &amp;#8211; see my next post</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/mysql-key_buffer_size-default-value.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Undefined index:  HTTP_REFERER in akismet.php on line 301</title><link>http://webmasterweblog.com/undefined-index-http_referer-in-akismet-php-on-lin-301.html</link><category>Wordpress</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chronos</dc:creator><pubDate>Thu, 08 Sep 2011 08:14:18 PDT</pubDate><guid isPermaLink="false">http://webmasterweblog.com/?p=395</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/XW7yl63bpidV0AQFAQzYGZhya78/0/da"><img src="http://feedads.g.doubleclick.net/~a/XW7yl63bpidV0AQFAQzYGZhya78/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/XW7yl63bpidV0AQFAQzYGZhya78/1/da"><img src="http://feedads.g.doubleclick.net/~a/XW7yl63bpidV0AQFAQzYGZhya78/1/di" border="0" ismap="true"></img></a></p><p>If you get the error Undefined index:  HTTP_REFERER in akismet.php on lin 301 do this.</p>
<p><span id="more-395"></span></p>
<p>1. Open akismet.php<br />
2. Go to line 301<br />
3. Replace</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$comment</span><span style="color: #009900;">&#91;</span><span style="">'referrer'</span><span style="color: #009900;">&#93;</span>   <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span>;</pre></div></div>

<p>With</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$comment</span><span style="color: #009900;">&#91;</span><span style="">'referrer'</span><span style="color: #009900;">&#93;</span>   <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span>;
	<span style="color: #009900;">&#125;</span></pre></div></div>

<p>4. Save and upload</p>
<p>Your debug.log should no longer report this</p>
]]></content:encoded><description>If you get the error Undefined index:  HTTP_REFERER in akismet.php on lin 301 do this.

1. Open akismet.php
2. Go to line 301
3. Replace

$comment&amp;#91;'referrer'&amp;#93;   = $_SERVER&amp;#91;'HTTP_REFERER'&amp;#93;;

With

if&amp;#40;isset&amp;#40;$_SERVER&amp;#91;'HTTP_REFERER'&amp;#93;&amp;#41;&amp;#41; &amp;#123;
	$comment&amp;#91;'referrer'&amp;#93;   = $_SERVER&amp;#91;'HTTP_REFERER'&amp;#93;;
	&amp;#125;

4. Save and upload
Your debug.log should no longer report this</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://webmasterweblog.com/undefined-index-http_referer-in-akismet-php-on-lin-301.html/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item></channel></rss>

