Drupal 6 RC3 shows the following error when activating Deco:

* warning: include_once(sites/all/themes/deco/forum-topic-navigation) [function.include-once]: failed to open stream: No such file or directory in /home/kinoformat/public_html/includes/theme.inc on line 283.
* warning: include_once() [function.include]: Failed opening 'sites/all/themes/deco/forum-topic-navigation' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/kinoformat/public_html/includes/theme.inc on line 283.

There is a file forum-topic-navigation.tpl.php, so there just the extension is missing.

Workaround symbolic link:
ln -s forum-topic-navigation.tpl.php forum-topic-navigation

CommentFileSizeAuthor
#4 template.patch401 byteswretched sinner - saved by grace

Comments

Eudaimonius’s picture

same bug here. would renaming forum-topic-navigation.tpl.php to forum-topic-navigation work too?

kwurzel’s picture

I think that's critical, because the web server can't recognize the file as a PHP file an thus won't parse it. If you don't have shell access to create symlinks, try using a PHP script with this content:
symlink("forum-topic-navigation", "forum-topic-navigation.tpl.php");
in your themes directory.

klaasvw’s picture

Priority: Normal » Critical
wretched sinner - saved by grace’s picture

StatusFileSize
new401 bytes

Attached is a patch to be applied to deco/template.php which adds the correct suffix to the call for the forum template.

kwurzel’s picture

Status: Active » Reviewed & tested by the community

instromaniac, would you please update the theme?

klaasvw’s picture

Status: Reviewed & tested by the community » Fixed

This has been fixed in the dev (MAIN) release for quite some time already.

I'm sorry if the whole patching/release thing didn't work out well so far, I'm pretty new to CVS and drupal's versioning mechanism. I have "educated" myself on it now though :)

Anyway, I'll make a new release shortly that will work with Drupal6-RC3. For the time being please use the dev release if you don't have time to wait a few weeks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

scoutbaker’s picture