Hope someone can help. I'm getting a heap of php error messages in the recent log entries log. The error message is as follows:-

Type	php
Date	Friday, 6 February, 2009 - 05:52
User	Guest
Location	http://prime357.net/node/27? 
Referrer	
Message	include(./.tpl.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home1/xxx/public_html/cms/drupal-6.9/includes/theme.inc on line 1011.
Severity	error
Hostname	xxx.195.37.xxx

Any clues please to resolve this.

Steve
Prime 357

Comments

marcvangend’s picture

It means that Drupal tries to include a file called ./.tpl.php, but this file doesn't exist. It's hard to say why this is happening. Does it only occur on node/27, or on other pages as well?

superjacent’s picture

It occurs on other pages as well.

___________________________

Steven Taylor
Prime357

marcvangend’s picture

Some questions to get a better picture: Which theme are you using? Have you added a lot of custom code (modules and / or theming)? Does this also occur when you switch to another theme (for instance Garland)?

superjacent’s picture

I switched themes and still the error messages continued. I've since updated the Advanced Forum module and now the error messages are not appearing. Strange, I didn't notice these messages before but then I'm not constantly checking my recent log entries.

___________________________

Steven Taylor
Prime357

marcvangend’s picture

OK, the fact that the error remained when you switched themes, tells me that it's casued by a module. If the error does not come back again, I guess we can conclude that the upgrade of advanced forum solved your issue. If it does come back, try switching of modules one by one to find out which one is causing the trouble.

superjacent’s picture

Thanks for assisting. Yes, it appears that Advanced Forum was the culprit. Anyway, no further errors.

___________________________

Steven Taylor
Prime357