<?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 for benlumley.co.uk</title>
	<atom:link href="http://benlumley.co.uk/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://benlumley.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 04 Aug 2011 08:27:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Munin plugins to graph apache virtual hosts by Xenon69</title>
		<link>http://benlumley.co.uk/2010/02/02/munin-plugins-to-graph-apache-virtual-hosts/comment-page-1#comment-3473</link>
		<dc:creator>Xenon69</dc:creator>
		<pubDate>Thu, 04 Aug 2011 08:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=42#comment-3473</guid>
		<description>Hi,

If you want this very nice plugin works for virtualmin vhosts, you have to replace lines :

define(&#039;LOG_PATH&#039;, &quot;/var/log/apache2/&quot;);
by
define(&#039;LOG_PATH&#039;, &quot;/var/log/virtualmin/&quot;);

and 

exec(sprintf(&quot;find %s -iname *_access.log&quot;, LOG_PATH), $files);
by
exec(sprintf(&quot;find %s -iname *_access_log&quot;, LOG_PATH), $files);

in plugin source files.

it should work...

Fred</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>If you want this very nice plugin works for virtualmin vhosts, you have to replace lines :</p>
<p>define(&#8216;LOG_PATH&#8217;, &#8220;/var/log/apache2/&#8221;);<br />
by<br />
define(&#8216;LOG_PATH&#8217;, &#8220;/var/log/virtualmin/&#8221;);</p>
<p>and </p>
<p>exec(sprintf(&#8220;find %s -iname *_access.log&#8221;, LOG_PATH), $files);<br />
by<br />
exec(sprintf(&#8220;find %s -iname *_access_log&#8221;, LOG_PATH), $files);</p>
<p>in plugin source files.</p>
<p>it should work&#8230;</p>
<p>Fred</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Munin plugins to graph apache virtual hosts by ben</title>
		<link>http://benlumley.co.uk/2010/02/02/munin-plugins-to-graph-apache-virtual-hosts/comment-page-1#comment-3391</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Sat, 09 Jul 2011 10:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=42#comment-3391</guid>
		<description>Hi, thanks for the feedback.

I was aware of the issue, just not got round to fixing it! :)

I will do.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the feedback.</p>
<p>I was aware of the issue, just not got round to fixing it! <img src='http://benlumley.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I will do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Munin plugins to graph apache virtual hosts by Chris</title>
		<link>http://benlumley.co.uk/2010/02/02/munin-plugins-to-graph-apache-virtual-hosts/comment-page-1#comment-3062</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 11 Mar 2011 07:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=42#comment-3062</guid>
		<description>Hi there, just wanted to say thanks heaps for these plugins! They are great. I use them all the time. However there seems to be an outstanding bug in the &quot;calculate_rate&quot; function. 

When the log file it finds is empty it results in a divide by 0 error in the sub and complains in the munin logs. I have a couple of virtual hosts that get configured but not accessed until the client uploads web pages. It causes lots of errors in the munin logs for these scripts.

I fixed this on my sever with a dirty hack that if the value of $age was 0, return 0 and don&#039;t execute : 

return round($num_lines/$ago, 4);

Dunno if there is a more elegent fix for this. But I felt I should let you know. :) 

Thanks again for this plugin. It&#039;s awesome!</description>
		<content:encoded><![CDATA[<p>Hi there, just wanted to say thanks heaps for these plugins! They are great. I use them all the time. However there seems to be an outstanding bug in the &#8220;calculate_rate&#8221; function. </p>
<p>When the log file it finds is empty it results in a divide by 0 error in the sub and complains in the munin logs. I have a couple of virtual hosts that get configured but not accessed until the client uploads web pages. It causes lots of errors in the munin logs for these scripts.</p>
<p>I fixed this on my sever with a dirty hack that if the value of $age was 0, return 0 and don&#8217;t execute : </p>
<p>return round($num_lines/$ago, 4);</p>
<p>Dunno if there is a more elegent fix for this. But I felt I should let you know. <img src='http://benlumley.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Thanks again for this plugin. It&#8217;s awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP 1.2, Images and Sessions by Manuel</title>
		<link>http://benlumley.co.uk/2008/02/27/cakephp-12-images-and-sessions/comment-page-1#comment-2811</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Thu, 28 Oct 2010 01:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/2008/02/27/cakephp-12-images-and-sessions/#comment-2811</guid>
		<description>After spending hours and hours looking for a solution for this bug, finally I came across your blog and find the solution, I appreciate your work and thank you for sharing with us this work around.
Thanks</description>
		<content:encoded><![CDATA[<p>After spending hours and hours looking for a solution for this bug, finally I came across your blog and find the solution, I appreciate your work and thank you for sharing with us this work around.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Munin plugins to graph apache virtual hosts by Zeeshan</title>
		<link>http://benlumley.co.uk/2010/02/02/munin-plugins-to-graph-apache-virtual-hosts/comment-page-1#comment-2595</link>
		<dc:creator>Zeeshan</dc:creator>
		<pubDate>Mon, 21 Jun 2010 19:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=42#comment-2595</guid>
		<description>Thanks for these wonderful plugins. I&#039;ll try to use them on my server to monitor my virtual hosts.</description>
		<content:encoded><![CDATA[<p>Thanks for these wonderful plugins. I&#8217;ll try to use them on my server to monitor my virtual hosts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hook into Symfony Authentication from external script (FCKeditor) by Laboholic</title>
		<link>http://benlumley.co.uk/2009/05/24/hook-into-symfony-authentication-from-external-script-fckeditor/comment-page-1#comment-2426</link>
		<dc:creator>Laboholic</dc:creator>
		<pubDate>Sun, 07 Feb 2010 04:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=35#comment-2426</guid>
		<description>Thanks a lot !

It was exactly what I was searching for !

Have GREAT day ;)</description>
		<content:encoded><![CDATA[<p>Thanks a lot !</p>
<p>It was exactly what I was searching for !</p>
<p>Have GREAT day <img src='http://benlumley.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying Propel project with different database details by Yash</title>
		<link>http://benlumley.co.uk/2008/11/19/deploying-propel-project-with-different-database-details/comment-page-1#comment-2204</link>
		<dc:creator>Yash</dc:creator>
		<pubDate>Thu, 24 Sep 2009 15:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=13#comment-2204</guid>
		<description>how would you do this with multiple databases in the same project and environment?
for eg:
Model1 uses table Model1 in DB1 
and
Model2 uses table Model2 in DB2</description>
		<content:encoded><![CDATA[<p>how would you do this with multiple databases in the same project and environment?<br />
for eg:<br />
Model1 uses table Model1 in DB1<br />
and<br />
Model2 uses table Model2 in DB2</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hook into Symfony Authentication from external script (FCKeditor) by Bogdan</title>
		<link>http://benlumley.co.uk/2009/05/24/hook-into-symfony-authentication-from-external-script-fckeditor/comment-page-1#comment-1023</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Mon, 25 May 2009 20:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=35#comment-1023</guid>
		<description>Thank you!
You post is very helpful for me!</description>
		<content:encoded><![CDATA[<p>Thank you!<br />
You post is very helpful for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making fixtures work with symfony, propel and nested set by ben</title>
		<link>http://benlumley.co.uk/2009/04/10/making-fixtures-work-with-symfony-propel-and-nested-set/comment-page-1#comment-940</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Thu, 07 May 2009 12:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=18#comment-940</guid>
		<description>Ah, my first ever non porn spam comment, even if it is bigging up Cake PHP ;)

MPTT is what the Propel (symfony&#039;s orm) nested set behaviour implements. Its just that it seems incapable of loading the fixtures data in properly without this horrible hack to set up the lft/rght values. 

I have used the Cake one before - its how I knew the performance gain was big enough to be worth messing about doing the above for!

Symfony also allows you to use Doctrine as the ORM - the nested set behaviour on doctrine seems to have fewer issues.</description>
		<content:encoded><![CDATA[<p>Ah, my first ever non porn spam comment, even if it is bigging up Cake PHP <img src='http://benlumley.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>MPTT is what the Propel (symfony&#8217;s orm) nested set behaviour implements. Its just that it seems incapable of loading the fixtures data in properly without this horrible hack to set up the lft/rght values. </p>
<p>I have used the Cake one before &#8211; its how I knew the performance gain was big enough to be worth messing about doing the above for!</p>
<p>Symfony also allows you to use Doctrine as the ORM &#8211; the nested set behaviour on doctrine seems to have fewer issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making fixtures work with symfony, propel and nested set by jon bennett</title>
		<link>http://benlumley.co.uk/2009/04/10/making-fixtures-work-with-symfony-propel-and-nested-set/comment-page-1#comment-939</link>
		<dc:creator>jon bennett</dc:creator>
		<pubDate>Thu, 07 May 2009 09:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.benlumley.co.uk/?p=18#comment-939</guid>
		<description>Morning Ben,

Sounds like this http://book.cakephp.org/view/91/Tree would be ideal, if only you could switch to #cakephp.

haha, just joshing, but seriously, if you need N level depth and speed, you want MPTT.

j</description>
		<content:encoded><![CDATA[<p>Morning Ben,</p>
<p>Sounds like this <a href="http://book.cakephp.org/view/91/Tree" rel="nofollow">http://book.cakephp.org/view/91/Tree</a> would be ideal, if only you could switch to #cakephp.</p>
<p>haha, just joshing, but seriously, if you need N level depth and speed, you want MPTT.</p>
<p>j</p>
]]></content:encoded>
	</item>
</channel>
</rss>

