<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #19: PHP Parser Error - node--country.tpl.php</title>
    <link>https://trac.crin.org/trac/ticket/19</link>
    <description>&lt;p&gt;
The php-fpm error log at &lt;tt&gt;/var/log/fpm-php.www.log&lt;/tt&gt; contains lots of entries like this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[15-Jun-2015 11:17:32 Europe/London] PHP Parse error:  syntax error, unexpected end of file in /var/www/drupal/sites/default/themes/crin/templates/node--country.tpl.php on line 522
&lt;/pre&gt;&lt;p&gt;
Line 522 is the last line of the file, it simply contains a closing &lt;tt&gt;}&lt;/tt&gt; bracket, this is the last part of the file:
&lt;/p&gt;
&lt;pre class="wiki"&gt;
    &amp;lt;?php
  }
  ?&amp;gt;
  &amp;lt;?php // print render($content['links']); ?&amp;gt;
  &amp;lt;?php // print render($content['comments']); ?&amp;gt;
&amp;lt;?php
  // 'Albania' = 441;
  //$node_load(441);
  /*
  global $user;
  if($user-&amp;gt;uid == 1 ){
    if($node-&amp;gt;nid == 441){
      //update_country_from_wiki($node);
    }
  }
  */
?&amp;gt;
&amp;lt;/article&amp;gt;
&amp;lt;?php
}
&lt;/pre&gt;&lt;p&gt;
This is an issue for the Drupal developers to look at.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CRIN Trac</title>
      <url>https://trac.crin.org/trac/chrome/site/logo.gif</url>
      <link>https://trac.crin.org/trac/ticket/19</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 03 Aug 2015 10:41:36 GMT</pubDate>
      <title>cc changed</title>
      <link>https://trac.crin.org/trac/ticket/19#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/19#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;peter&lt;/em&gt; &lt;em&gt;mori&lt;/em&gt; added
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Peter and Mori added as CCs.
&lt;/p&gt;
&lt;p&gt;
A general question related to issues like this (Drupal level issues) -- is it helpful for me to raise tickets for things like this as and when I come across them?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>