If I select a theme that lives under /var/www/drupal/themes/mytheme then devel will properly print the stats at the end of each page render.
However, if I select a theme under /var/www/drupal/sites/website/themes/myothertheme then it will fail (silently, i.e. nothing is printed after the theme footer), with these errors in the log:
include_once(./themes/engines/phptemplate/phptemplate.engine) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/drupal/includes/theme.inc on line 78.
I should note this is when devel is installed in /var/www/drupal/sites/website/modules/devel
I hope this is a clear enough bug report, please let me know if I can add anymore information.
Info:
Drupal 5.1
PHP 5.2.1
Thanks, Tim
Comments
Comment #1
moshe weitzman commentedperhaps your theme doesn't call hook_footer. try with a core theme in the specified location ... reopen if needed.
Comment #2
tjharman commentedThanks for the prompt reply and you're right. Copying a core theme into the multisites dir works perfectly.
Apologies for the waste of time.
Comment #3
tjharman commentedOne thing though - I'm no coder, but I don't understand what you mean by a theme calling hook_footer
I've just greped the sources for all themes and none of them have hook_footer in them.
what is the particular call the theme I'm using (Barlow) doesn't have that the core theme does? pushbutton (The theme I'm testing with) doesn't have any mention of the word "hook" at all.
Apologies for the simple question, but I'd like to understand so I (may) be able to fix it myself.
Thanks,
Tim