I created a custom panel layout, called 'Profiel', following the instructions here. After clearing caches, Drupal found it correctly, but when I try to apply it, I get the following errors:

Warning: include(C:\wamp\www\mysite/sites/all/themes/mytheme/layouts/profiel/profiel.tpl.php): failed to open stream: No such file or directory in theme_render_template() (line 1517 of C:\wamp\www\mysite\includes\theme.inc).

Warning: include(): Failed opening 'C:\wamp\www\mysite/sites/all/themes/mytheme/layouts/profiel/profiel.tpl.php' for inclusion (include_path='.;C:\php\pear') in theme_render_template() (line 1517 of C:\wamp\www\mysite\includes\theme.inc).

I found a lot of similar problems on the Drupal website, but none provided a suitable answer.

What's going wrong and how can I solve this?

Comments

Jeroen94’s picture

Status: Active » Closed (fixed)

I don't know what went wrong in the beginning, but the problem is fixed now. I simply copied the code of the theme.inc file to a new file and deleted the old one. After clearing caches, everything worked fine.

Jeroen94’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.