Recurring error: theme.inc on line 78

ardee - March 27, 2008 - 22:50

There's an error that numerous people have posted about getting in their logs. Now I'm getting it, too:

include_once(./themes/engines/phptemplate/phptemplate.engine): failed to open stream: No such file or directory in example/includes/theme.inc on line 78.

Some past posters had accidentally deleted or renamed the engines directory -- but that's not the case here.

For some past posters, this error mysteriously went away. So far no luck here -- even if I change to the bluemarine theme!

(The theme I'm using is CristalX4Drupal, but that doesn't seem to matter.)

PHP has plenty of memory (64MB).

This problem is very perplexing! Can you maybe help?

Thanks in advance!

Addendum: I mainly get the

ardee - March 27, 2008 - 22:53

Addendum:

I mainly get the error when I visit admin/logs/settings and submit that form, not when I visit the hundreds of other parts of my site.

Perhaps this extra piece of information might help?

Solution (?)

ardee - March 31, 2008 - 16:57

I believe that this problem has been solved. I believe it may have had nothing to do with Drupal and everything to do with the company that hosts the site: There were too many open files! Upon my request, they increased the limit from 1024 to 2048, and the problem seems to have gone away. (Knock wood, keep fingers crossed.)

UPDATE: Well, now I'm actually quite certain that it was the "Devel" module that caused the original problem in my situation. When that module is enabled, the problem occurs. When that module is turned off, the problem disappears. This is 100% repeatable (now that the host has increased the number of open files).

 
 

Drupal is a registered trademark of Dries Buytaert.