Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: ‘No input file specified’ errors


tiszenkel
Member

@tiszenkel

Hmm — forums/tags is being redirected to a page that exists, tags.php. But even navigating straight to tags.php causes the same error. I opened up tags.php in a text editor to see what was in there, and it referenced several files that don’t seem to be anywhere in my bbPress installation: bb_tag-single.php, tag-single.php and bb_tags.php. Could this be the problem? I downloaded a completely new copy of bbPress and couldn’t find them in there, either.

Here’s the tags.php code:

<?php
require_once('./bb-load.php');

bb_repermalink();

// Temporary, refactor this!

if ( !$tag && $tag_name )
bb_die(__('Tag not found'));

if ( $tag_name && $tag ) :

$topics = get_tagged_topics($tag->tag_id, $page);
do_action( 'bb_tag-single.php', $tag->tag_id );

bb_load_template( 'tag-single.php', array('tag', 'tag_name', 'topics') );
else :

do_action( 'bb_tags.php', '' );

bb_load_template( 'tags.php' );
endif;
?>

Skip to toolbar