<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://www.saigonist.com/taxonomy/term/448/all" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>drupal6</title>
    <link>http://www.saigonist.com/taxonomy/term/448/all</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Drupal 6 Related Content</title>
    <link>http://www.saigonist.com/tech/drupal/drupal-6-related-content</link>
    <description>&lt;p&gt;Similar Entries 2 (6.2) - http://drupal.org/project/similar - doesn&#039;t work. But version 1 works like a charm. Version 2 spits up an error on array_filter. Looking at the code, my guess is it&#039;s related to some new Views plugin code in version 2.&lt;/p&gt;
&lt;p&gt;Related Block - http://drupal.org/project/related_block - would have been cool too. It&#039;s much like Similar Entries. Unfortunately, the search algorithm is way too narrow. At first, I couldn&#039;t tell if the module was even working. Then by weening the search terms down to 1 (which means it figures out a single relevant term and then searches for only that) I saw some results, but not on many nodes still.&lt;/p&gt;
&lt;p&gt;Relevant Content - http://drupal.org/project/relevant_content - is nice in theory. Currently, it&#039;s broken. It&#039;s in the middle of a rewrite, but it&#039;s looking more and more unlikely that it will ever get rewritten.&lt;/p&gt;
&lt;p&gt;Related links - http://drupal.org/project/relatedlinks - is not what it seems. It just finds any referenced links in the content and groups them together. Nothing external.&lt;/p&gt;
&lt;p&gt;Other modules are term (taxonomy) based. But ideally, you don&#039;t need to specify all the relevant terms, and you don&#039;t need to explicitly say that two terms are related. There should be a more intelligent way.&lt;/p&gt;
</description>
     <comments>http://www.saigonist.com/tech/drupal/drupal-6-related-content#comments</comments>
 <category domain="http://www.saigonist.com/category/type/tech/drupal">Drupal</category>
 <category domain="http://www.saigonist.com/category/tags/block">block</category>
 <category domain="http://www.saigonist.com/category/tags/drupal6">drupal6</category>
 <category domain="http://www.saigonist.com/category/tags/module">module</category>
 <category domain="http://www.saigonist.com/category/tags/search">search</category>
 <category domain="http://www.saigonist.com/category/tags/taxonomy">taxonomy</category>
 <pubDate>Thu, 24 Jan 2013 16:09:31 +0000</pubDate>
 <dc:creator>tomo</dc:creator>
 <guid isPermaLink="false">971 at http://www.saigonist.com</guid>
  </item>
  <item>
    <title>Fatal error: Call to undefined function: block_list()</title>
    <link>http://www.saigonist.com/tech/drupal/fatal-error-call-undefined-function-blocklist</link>
    <description>&lt;p&gt;On a Drupal 6 site where I had copied over a database to be used with a freshly checked out tree, I suddenly got this fatal error which stopped any page from loading:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;javascript geshifilter-javascript&quot; style=&quot;font-family:monospace;&quot;&gt;Fatal error&lt;span style=&quot;color: #339933;&quot;&gt;:&lt;/span&gt; Call to &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;undefined&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;:&lt;/span&gt; block_list&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;in&lt;/span&gt; ...&lt;span style=&quot;color: #339933;&quot;&gt;/&lt;/span&gt;theme.&lt;span style=&quot;color: #660066;&quot;&gt;inc&lt;/span&gt; on line &lt;span style=&quot;color: #CC0000;&quot;&gt;935&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I&#039;m not sure how it happens. And even after it happens, it&#039;s not always immediately a problem. It can be a problem that manifests itself when migrating or copying a database from one site to another. And for some reason, the exact same database worked on another site.&lt;/p&gt;
&lt;p&gt;In my case, the problem was the filenames for some core modules and themes and you can see if that&#039;s your problem by running this query:&lt;br /&gt;
&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;javascript geshifilter-javascript&quot; style=&quot;font-family:monospace;&quot;&gt;SELECT count&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; FROM system WHERE filename LIKE &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;%modules/modules%&#039;&lt;/span&gt; OR filename LIKE &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;%themes/themes%&#039;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;If that returns anything (like a filename like &#039;modules/modules/block/block.module&#039;) then you have a problem which you can fix by running:&lt;br /&gt;
&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;javascript geshifilter-javascript&quot; style=&quot;font-family:monospace;&quot;&gt;UPDATE system SET filename &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; replace&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;themes/themes&#039;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;themes&#039;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
UPDATE system SET filename &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; replace&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;modules/modules&#039;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;modules&#039;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
</description>
     <comments>http://www.saigonist.com/tech/drupal/fatal-error-call-undefined-function-blocklist#comments</comments>
 <category domain="http://www.saigonist.com/category/type/tech/drupal">Drupal</category>
 <category domain="http://www.saigonist.com/category/tags/drupal6">drupal6</category>
 <pubDate>Mon, 17 Dec 2012 04:28:19 +0000</pubDate>
 <dc:creator>tomo</dc:creator>
 <guid isPermaLink="false">581 at http://www.saigonist.com</guid>
  </item>
  </channel>
</rss>