Opened 3 years ago
Last modified 3 years ago
#19 new defect
PHP Parser Error - node--country.tpl.php
| Reported by: | chris | Owned by: | chris |
|---|---|---|---|
| Priority: | minor | Milestone: | Maintenance |
| Component: | drupal | Version: | |
| Keywords: | Cc: | jenny, gillian, peter, mori | |
| Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
| Billable?: | yes | Total Hours: |
Description
The php-fpm error log at /var/log/fpm-php.www.log contains lots of entries like this:
[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
Line 522 is the last line of the file, it simply contains a closing } bracket, this is the last part of the file:
<?php
}
?>
<?php // print render($content['links']); ?>
<?php // print render($content['comments']); ?>
<?php
// 'Albania' = 441;
//$node_load(441);
/*
global $user;
if($user->uid == 1 ){
if($node->nid == 441){
//update_country_from_wiki($node);
}
}
*/
?>
</article>
<?php
}
This is an issue for the Drupal developers to look at.
Note: See
TracTickets for help on using
tickets.

Peter and Mori added as CCs.
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?